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

21.1.2.3. Close SDFI<br />

After all the images are read, the calling program must close SDFI by calling the SDFIC$<br />

entry point. This completes the SDFI read operation.<br />

Calling Sequence for SDFIC$<br />

Auto Switch Common Bank or Relocatable Relocatable<br />

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

LMJ X11,CBSDFIC$-1<br />

normal return<br />

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

I$BJ X11,CBSDFIC$<br />

normal return<br />

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

LMJ X11,SDFIC$<br />

normal return<br />

21.2. SDFO–System Data Format Output Routine<br />

SDFO writes images one at a time from the calling program to an SDF file or element.<br />

SDFO has the following functions and entry points:<br />

• Open SDFO (SDFOO$, SDFOOSF$)<br />

• Write an image (SDFO$)<br />

• Close SDFO (SDFOC$)<br />

The calling program must open SDFO before writing images to the file or element and<br />

close SDFO after all images are written.<br />

The packet (or FCT) for SDFO is described in 21.2.1. The open, write, and close<br />

functions of SDFO are described in 21.2.2.1, 21.2.2.2, and 21.2.2.3, respectively.<br />

21.2.1. Packet<br />

The calling program must provide an 11-word packet for SDFO. The packet (or FCT) for<br />

SDFO is described in Figure 21–2. The packet may be generated with the S$DFCT<br />

procedure, described in 21.2.1.2.<br />

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

21–10 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!