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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

21.2.1.1. Packet Format<br />

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

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

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

0 internal filename<br />

1<br />

2 zero<br />

3 zero 010 reserved zero<br />

4 buffer length in words (filled) 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 (filled)<br />

8 zero image area location<br />

9 zero buffer image locator (filled)<br />

10 SDF Control Word<br />

Packet Fields<br />

Words 0,1<br />

Figure 21–2. SDFO: Packet Format<br />

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

Word 3 (S2)<br />

The I/O write function, W$ or 010.<br />

Word 4 (H1)<br />

The length in words of the I/O buffer or buffers used by SDFO (filled by SDFO).<br />

Word 4 (H2)<br />

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

Word 5<br />

The mass storage sector address to start writing SDF images to.<br />

Word 6<br />

The addresses of the I/O buffers if using two buffers (in H1 and H2); otherwise zero.<br />

7833 1733–004 21–11

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

Saved successfully!

Ooh no, something went wrong!