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