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.

Appendix F<br />

Interface to Selected Extended Mode<br />

Executive Requests<br />

This appendix describes an interface from Extended Mode Object Modules (EMOM) to a<br />

small subset of basic mode Executive requests (ER). The interface allows a MASM<br />

program executing in Extended Mode (as an object module) to perform selected ERs.<br />

The purpose of this interface is to provide the EMOM programmer with a way to dump<br />

data and perform simple symbiont requests. This is a temporary solution only, provided<br />

for the EMOM programmer’s convenience until the Exec callable interfaces are available.<br />

To use this interface, the MASM program uses PROCs to execute ERs. These PROCs<br />

save the contents of all registers they use (including B-registers), jump to a basic mode<br />

<strong>SYSLIB</strong> common bank (<strong>SYSLIB</strong>$1), execute the ER, return to the EMOM, and restore<br />

the contents of registers they use. These PROCs are contained in the omnibus element<br />

EM2CB$P, which must be obtained by the MASM ‘$INCLUDE’ directive. The element<br />

EM2CB$P is contained in the <strong>SYSLIB</strong> product file. No file name is necessary on the<br />

$INCLUDE directive if <strong>SYSLIB</strong> is installed using the default product file name<br />

SYS$LIB$*<strong>SYSLIB</strong>.<br />

This interface requires MASM level 4R2 (or later) and Exec level 40R1 (or later).<br />

F.1. Calling Sequence<br />

The EM to ER interface PROCs in element EM2CB$P call the EM$ERS routine in the<br />

<strong>SYSLIB</strong> common bank. The following ERs may be performed by calling these PROCs:<br />

APRINT$ PRINT$ SNAP$<br />

AREAD$ READ$ TREAD$<br />

ATREAD$<br />

7833 1733–004 F–1

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

Saved successfully!

Ooh no, something went wrong!