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.

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

21.2.2. Calling Sequence<br />

The following subsections explain how to open the System Data Format Output routine,<br />

read an image, and close it.<br />

21.2.2.1. Open SDFO<br />

The calling program must open SDFO before any images can be written. There are two<br />

entry points that perform the open function.<br />

SDFOO$ Open SDFO for any file type<br />

SDFOOSF$ Open SDFO for a sector-formatted file<br />

When the SDFOO$ entry point is called, SDFO initializes the packet for writing to the file<br />

or element. If the output file type is known to be sector-formatted, the SDFOOSF$ entry<br />

point should be used. This entry point is the same as SDFOO$ except that SDFO does<br />

not need to perform an ER FITEM$.<br />

Calling Sequence for SDFOO$<br />

Auto Switch Common Bank or Relocatable Relocatable<br />

L,U A0,address-of-packet<br />

LMJ X11,CBSDFOO$-1<br />

normal return<br />

Calling Sequence for SDFOOSF$<br />

L,U A0,address-of-packet<br />

I$BJ X11,CBSDFOO$<br />

normal return<br />

L,U A0,address-of-packet<br />

LMJ X11,SDFOO$<br />

normal return<br />

Auto Switch Common Bank or Relocatable Relocatable<br />

L,U A0,address-of-packet<br />

LMJ X11,CBSDFOOSF$-1<br />

normal return<br />

L,U A0,address-of-packet<br />

I$BJ X11,CBSDFOOSF$<br />

normal return<br />

L,U A0,address-of-packet<br />

LMJ X11,SDFOOSF$<br />

normal return<br />

21–16 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!