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.

AEDIT$–ASCII Image Composition Editing Package<br />

Table 4–1. AEDIT$: Initialization and Termination Editing Routines<br />

PROC Call Generated<br />

Instructions<br />

A$EDIT p1 LA,XU A0,p1<br />

LMJ X11,AEDIT$<br />

A$EDITR p1 LA,XU A0,p1<br />

LMJ X11,AEDITR$<br />

Description<br />

Initialize and establish edit mode.<br />

p1 is the address of the AEDIT$ packet. If p1 is not specified,<br />

the address of the packet must be in A0. S3 of the first word<br />

of the packet is expected to contain the number of words in the<br />

image area, and H2 of the first word of the packet is expected<br />

to contain the location of the image area. The image is set to<br />

blanks, and edit mode is established. The column pointer is set<br />

to the start of the image. AEDIT$ enters quarter-word mode.<br />

AEDIT$ returns a status code in register A1. If A1 is zero, no<br />

error occurred; if A1 is nonzero, an error occurred and AEDIT$<br />

terminates with an ER ERR$. See Table 4–5 for an explanation<br />

of error status codes.<br />

Reenter edit mode without initializing.<br />

A$EDITX LMJ X11,AEDITX$ Terminate edit mode.<br />

A$EPRINT p1 LA,U A0,p1<br />

LMJ X11,AEPRINT$<br />

If p1 is not specified, the address packet must be in register<br />

A0. Edit mode is reestablished, and the column pointer (saved<br />

by AEDITX$) is restored.<br />

The column pointer is saved in the packet. AEDITX$ returns<br />

with the packet address in A0 and the number of words in the<br />

image in A1.<br />

Print image and leave editing mode (call AEDITX$).<br />

Parameter p1 specifies the line spacing for the image. See the<br />

A$EPRINT description in Table 4–2.<br />

7833 1733–004 4–9

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

Saved successfully!

Ooh no, something went wrong!