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 />

The same 11-word packet should not be used for both SDFI and SDFO.<br />

21.1.1.1. Packet Format<br />

The calling program must provide the eleven-word packet and place appropriate<br />

information in all fields with names in italics.<br />

0 internal filename<br />

1<br />

2 zero<br />

3 zero 020 reserved zero<br />

4 buffer length (words) single buffer address<br />

5 Relative Mass Storage Address (Sector)<br />

6 address of buffer number 1 address of buffer number 2<br />

7 buffer length (sectors) length of image area<br />

8 zero (used by SDFI) image area location<br />

9 zero (used by SDFI) image location in buffer (filled)<br />

10 SDF Control Word (filled)<br />

Packet Fields<br />

Words 0,1<br />

Figure 21–1. SDFI: Packet Format<br />

The 12-character Fieldata internal file name.<br />

Word 3 (S2)<br />

The I/O read function, R$ or 020.<br />

Word 4 (H1)<br />

The length in words of the I/O buffer used by SDFI.<br />

Word 4 (H2)<br />

The address of the I/O buffer if using one buffer.<br />

Word 5<br />

The mass storage sector address of the first SDF image to be read.<br />

7833 1733–004 21–3

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

Saved successfully!

Ooh no, something went wrong!