Display Items
The following items are display items which actually cause beam movement by the NGLI. Coordinate data are relative to the origin of the current image area and are taken as fractional displacements within this area.
d. MOVE BEAM (x,y) (item type = 3) causes the NGLI to move the beam to (x,y) relative to the current origin.
e. DISPLAY CURRENT POSITION (item type = 4) causes the NGLI to display the current point on the NGS.
f. DISPLAY VECTOR (x,y) (item type = 5) causes a vector to be drawn from the current point to (x,y). After the operation, (x,y) becomes the current point.
g. DISPLAY CHARACTERS (n, 'C1, C2...Cn') (item type = 6) causes the n characters to be displayed starting from the current point. N is the character count and is an eight bit byte.
The character set recognized by the NGLI is composed of eight bit bytes interpreted in the following ways. Any character with the most significant bit a zero is interpreted as an ASCII character. Some non-graphic ASCII characters may have special functions within a string:
-
Line feed (LF) move the beam one line spacing downward.
-
Carriage return (CR) move the beam to the left most character position in the current line.
-
Backspace (BS) move the beam one character position to the left in the current line.
-
Tab move the beam a predetermined number of character positions to the right in the current line. The number will follow the tab character in the string, but may not exceed the capacity of the current line.
-
Vertical tab (VT) move the beam down a predetermined number of line spacings. The number of spacings follow the VT character and may not exceed the line capacity of the screen. This is expanded as multiple line feeds.
-
Any other non-graphic character - could cause a space character to appear in its place on the display, or it may be used for any purpose two processes choose.
Characters with the most significant bit a one are used for an extended character set where a device can support this. These may also be used as an implicit stroke table, calls being the names of special graphic lists that may be defined in the NGDS. If no eight bit list name exists, then the character is a space.
h. EXECUTE LIST (name, x, y) (item type = 7) causes the NGLI to suspend interpretation of the list and interpret the named list. It is equivalent to a subroutine call. The (x,y) pair specifies the origin of the new list relative to the current origin. The actions taken by the NGLI are specified in the next section
i. COPY LIST (name, x,y) (item type = 8) cause the items contained in the named list to be copied into the place of the item with the origin of the list at (x,y) relative to the current origin. This is analogous to item (h) as a subroutine is to a macro.
j. EXECUTE TABLE (name, mode, length) (item = 9) causes the NGLI to treat the named list as a special entity. It is constrained to contain only coordinate pairs. It may be executed in either point or vector mode as specified by the mode parameter 1 = vector, 0 = point. The length of the list is specified by a 16 bit integer parameter.
k. END LIST (item type = 10) has no parameters and informs the NGLI that the end of a list has been reached.
l. TABLE (n) (item type = 11) specifies that there are (x,y) pairs in this list. N is a 16 bit integer.
m. Set vector mode (mode) (item type = 12)
n. Set character mode (mode) (item type 13)