annotate docs/nitros9guide/go51.appendix @ 321:2c0ddf807efa

Made some changes
author boisy
date Tue, 23 Jul 2002 23:43:29 +0000
parents 5925efb76bb2
children f9c66ad345d1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
146
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
1 <appendix>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
2 <title>GO51...The 51 Column by 24 Line Video Display</title>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
3 <para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
4 An alternative video screen device driver, which provides a 51
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
5 column by 24 line display with upper and lower case character sets,
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
6 can be incorporated into OS-9 with the command:
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
7 <screen>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
8 GO51
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
9 </screen>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
10 This command replaces the normal text screen driver with one that
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
11 uses high resolution graphics to &quot;draw&quot; the characters. As there
150
5925efb76bb2 Fixed a misspelling
boisy
parents: 146
diff changeset
12 are fewer pixels (dots) per character in this mode more characters
146
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
13 can be displayed on the screen, albeit with some loss of character
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
14 definition.
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
15 </para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
16 <para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
17 Note, however, that the use of a high resolution graphics page
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
18 means that an extra 6K bytes will be needed in this mode. This
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
19 extra memory requirement is not normally a problem but in memory-critical
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
20 applications, such as the C and Pascal compilers, the user
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
21 can simply avoid the use of GO51.
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
22 </para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
23 <para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
24 This mode of display has a set of <emphasis>escape sequences</emphasis>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
25 (commands) to
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
26 emulate commercial data terminals. In addition to the video screen
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
27 driver, GO51 provides a new keyboard driver which features auto-repeat.
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
28 The keyboard code allocation is the same as described in
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
29 section 2.4.3 and Appendix D.
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
30 </para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
31 <section>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
32 <title>The GO51 Display Functions</title>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
33 <para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
34 Like the normal 32 by 16 video display functions described in
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
35 Appendix C the 51 by 24 mode provides many built in facilities to
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
36 control the display. These functions are activated by the use of
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
37 the various escape sequences and control characters described below:
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
38 </para>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
39 <informaltable frame="none">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
40 <tgroup cols="2">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
41 <colspec colwidth="1.5in">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
42 <colspec colwidth="3.5in">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
43 <thead>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
44 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
45 <entry>Escape Sequence (Hex)</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
46 <entry>Name/Function</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
47 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
48 </thead>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
49
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
50 <tbody>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
51 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
52 <entry>1B 41 X Y</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
53 <entry>CURSOR XY - move cursor to column X(0-50)
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
54 and Y(0-23) where X and Y are single byte values.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
55 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
56 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
57 <entry>1B 42</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
58 <entry>CLEAR EOL - clear from cursor to the end of
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
59 line. Cursor position remains unchanged.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
60 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
61 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
62 <entry>1B 43</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
63 <entry>CURSOR RIGHT - move cursor right by one character position.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
64 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
65 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
66 <entry>1B 44</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
67 <entry>CURSOR UP - move cursor up by one line.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
68 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
69 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
70 <entry>1B 45</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
71 <entry>CURSOR DOWN - move cursor down one line.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
72 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
73 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
74 <entry>1B 46</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
75 <entry>REVERSE ON - turn reverse field on.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
76 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
77 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
78 <entry>1B 47</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
79 <entry>REVERSE OFF - turn reverse field off.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
80 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
81 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
82 <entry>1B 48</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
83 <entry>UNDERLINE ON - turn underline on.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
84 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
85 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
86 <entry>1B 49</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
87 <entry>UNDERLINE OFF - turn underline off.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
88 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
89 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
90 <entry>1B 4A</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
91 <entry>CLEAR EOS - clear from cursor to end of
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
92 screen. Cursor position remains unchanged.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
93 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
94 </tbody>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
95 </tgroup>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
96 </informaltable>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
97
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
98
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
99
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
100
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
101 <informaltable frame="none">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
102 <tgroup cols="2">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
103 <colspec colwidth="1.5in">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
104 <colspec colwidth="3.5in">
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
105 <thead>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
106 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
107 <entry>Control Character (Hex)</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
108 <entry>Name/Function</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
109 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
110 </thead>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
111 <tbody>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
112 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
113 <entry>07</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
114 <entry>BELL - generates a short audible tone.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
115 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
116 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
117 <entry>08</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
118 <entry>BACKSPACE (CURSOR LEFT) - moves cursor left one character position.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
119 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
120 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
121 <entry>0A</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
122 <entry>LINE FEED - move cursor down by one line.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
123 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
124 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
125 <entry>0B</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
126 <entry>CURSOR HOME - move cursor to home position 0,0 (top left).</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
127 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
128 <row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
129 <entry>0C</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
130 <entry>CLEAR SCREEN - clears the screen and home cursor.</entry>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
131 </row>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
132 </tbody>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
133 </tgroup>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
134 </informaltable>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
135 </section>
88ae6ed51be6 More splitups.
roug
parents:
diff changeset
136 </appendix>