The Protocol
At the outset of the main protocol discussion, it was agreed that a committee would be established to resolve those issues on which a consensus could not be reached at the meeting, and to prepare a draft of the protocol for distribution to the NGG by year's end. Members of the committee are Michener, Meyer, Kelly, Cotton, and Liddle.
ASSUMPTIONS
The following assumptions were agreed upon:
-
There shall be a "virtual screen" and a Standard Graphics Stream.
-
The origin is in the center.
-
Coordinates are signed, 2's complement fractions (-.5 to +.499).
-
The Standrd Graphics Stream will consist of 8-bit bytes initially, coordinates are two bytes. ( A "set coordinate size" operator will be introduced if and when needed.)
-
Network ASCII will be used for text output, with default to upper case where necessary. Control characters are, for the time being, site specific.
-
Where appropriate, operators shall have "absolute," "relative," and "local" (to a subpicture) modes.
-
The protocol will be organized on a "levels of complexity" basis, with level 0 comprising operators for simple picture drawing, level 1 comprising operators for one level of subpicture definition ("macros", or loosely, "subroutines") and level 2 comprising "viewport" and "window" type operators.
Note that the discussion dealt specifically with graphics OUTPUT. The Protocol Committee was also empowered to prepare recommendations for an input-side protocol, but first priority is to be attached to the formulation of an acceptable output-side protocol.
OPERATORS
As the Protocol Committee's draft is not immediately available, the following list of low-level operators (the syntax and semantics of which were discussed at length during the meeting) may be of interest here:
-
Erase and reset to origin. This operator causes the screen to be erased and the beam to be positioned at the 0,0 (virtual screen center) point. A new picture is started.
-
Move. No line is drawn the beam is positioned to the specified x, y position. There are specific operators for "move relative", "move absolute" and "move local" modes.
-
Draw. A line (of the current "linetype" -- see 5, below) is drawn from the present beam position to the specified x, y position. Modes are as with move. Treatment of the "off-screen" condition is at the displaying host's option.
-
Point. Display a point at the specified position. Modes are as with move.
-
Line type. Draw lines of the specified type until further notice. Currently defined types are solid (0), dashed (1), dotted (2). If a requested type is not implemented, default to the next-lower-valued type. After an "erase", type is solid until changed.
-
Line intensity. Requests line intensity to be as follows: 0 = off, 128 = normal, 255 = brightest, intermediate values = map appropriately. After an "erase", intensity is normal until changed.
-
Text. Cause display of a specified number of specified (Net ASCII) characters. There are specific operators for "return beam" after last character (to position before text display) and "leave beam" (wherever it ends up). Size is to be whatever the displaying host considers "normal". Treatment of "right-hand margin" and ASCII controls is host-specified at present. (A character size operator may be specified later.)
-
Escape. If the console is of specified type, pass a specified number of bytes directly to it.
Operators for viewports and subpictures were also discussed. Bouknight and Kelly prepared an BNF treatment of all points discussed, which will appear in the Protocol Committee's draft.