18.08.2013 Views

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

(SYSLIB) Programming Reference Manual - Public Support Login ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

SDFI, SDFO–System Data Format I/O Routines<br />

Word 6<br />

The addresses of the I/O buffers when two buffers are used. If only one buffer is<br />

used, this word must be zero, and the address of the single buffer must be put in<br />

word 4.<br />

Word 7 (H1)<br />

The length in sectors of the I/O buffers used by SDFI.<br />

Word 7 (H2)<br />

The length in words of the image buffer into which SDFI transfers the individual SDF<br />

images.<br />

Word 8 (H2)<br />

The address of the image buffer into which SDFI transfers the individual images.<br />

Word 9 (H2)<br />

The location in the I/O buffer of the next SDF image to be read (filled by SDFI).<br />

Word 10<br />

The SDF control word of the image read (filled by SDFI).<br />

SDFI may use one or two buffers. If SDFI uses one I/O buffer, that buffer address is<br />

stored in H2 of word 4. Word 6 must be set to zero. If SDFI uses two I/O buffers, the<br />

buffer addresses are placed in H1 and H2 of word 6. Words 0 through 5 are the<br />

standard I/O packet used by Executive Requests.<br />

21.1.1.2. Packet Generation PROC<br />

S$DFCT is a MASM procedure that generates the SDFI packet (or FCT). S$DFCT<br />

defines the fields of the packet, initializes the packet, and displays a diagram of the<br />

packet.<br />

The MASM definition element SDFP$ contains the S$DFCT procedure. This element<br />

must be included in the calling program in order to use the S$DFCT procedure. It is<br />

included by using the following MASM directive:<br />

$INCLUDE ‘SDFP$’<br />

21–4 7833 1733–004

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!