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

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

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

status are:<br />

0 Normal return from the AEDIT$ routine<br />

1 Error return from AEDIT$ (for function code 27 only)<br />

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

EM$EDIT constructs the ASCII image in a buffer contained in the packet generated by<br />

EM$EDITPKT. The address of the first word of the buffer is identified by the<br />

externalized label EM$EDITBUF. The value of EM$EDITBUF is the offset from zero to<br />

the start of the buffer.<br />

Packet Generation<br />

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

AEDIT$ routines. This packet is required by the EM$EDIT PROC.<br />

Calling Sequence:<br />

label EM$EDITPKT buflen ['MSG', msg][ 'FPS', fps] :<br />

['FPR', fpr] ['DPC',dpc] ['SPC', spc] :<br />

['DFT', dft] ['TFT',tft] ['SEP', sep]<br />

where:<br />

buflen<br />

The length in words of the data area used to contain the image constructed by<br />

AEDIT$ This buffer is part of the EM$EDITPKT, and the address of the first word is<br />

identified by the label EM$EDITBUF.<br />

msg, fps, fpr, dpc, spc, dft, tft, sep<br />

Optional parameters, as defined in Section 4.<br />

I.3. Interface to BSP$<br />

All of the functions of the BSP$ routine are called with the EM$BSP PROC. The packet<br />

for BSP$ is generated with the EM$BSPPKT PROC.<br />

Calling Sequence:<br />

EM$BSP pkt, b-reg [func,param1,param2]<br />

where:<br />

pkt<br />

The label (18-bit offset from zero) of the packet generated by the EM$BSPPKT<br />

PROC.<br />

7833 1733–004 I–5

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

Saved successfully!

Ooh no, something went wrong!