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.

Extended Mode Interface to <strong>SYSLIB</strong><br />

Table I–8 contains the function codes that may be used on the EM$MFDSP PROC call.<br />

Table I–8. EM$MFDSP Function Codes<br />

Code Description<br />

0 Initialize MFDSP$ and get the first lead item.<br />

1 Initialize MFDSP$ and get the first main item.<br />

2 Get the next lead item.<br />

3 Get sector 1 of the current lead item.<br />

4 Get the next main item.<br />

5 Get the next sector of the current main item.<br />

6 Get the first DAD table for the current main item.<br />

7 Get the next DAD table.<br />

8 Find an item by its MFD address.<br />

9 Convert an MFD address to the DGET file address.<br />

Table I–9 contains the possible values for the additional parameter field. Function codes<br />

not listed in the table do not require an additional parameter value.<br />

Table I–9. EM$MFDSP Parameter Field Values<br />

Code Description<br />

8 The MFD address of the item to be found<br />

9 The MFD address to be converted<br />

EM$MFDSP returns the status of the call to MFDSP$ in the packet field CALLSTAT.<br />

The CALLSTAT field in S3 of word 2 of the packet (packet address + 1). The possible<br />

status is:<br />

0 Normal return from MFDSP$<br />

1 Error return from MFDSP$ (error code returned in field<br />

A2SAVE)<br />

2 Illegal value given for the MFDSP$ function code<br />

For all calls by EM$MFDSP, the contents of registers A0 through A5 from MFDSP$ are<br />

returned in packet fields A0SAVE, A1SAVE, A2SAVE, A3SAVE, A4SAVE, and A5SAVE,<br />

respectively. These fields are at words 3 through 8 of the packet.<br />

Packet Generation:<br />

The EM$MFDSPPKT PROC generates the packet for the Extended Mode interface to<br />

MFDSP$. This packet is required by the EM$MFDSP PROC.<br />

I–16 7833 1733–004

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

Saved successfully!

Ooh no, something went wrong!