Mercurial > hg > Members > kono > nitros9-code
annotate docs/nitros9guide/go51.refentry @ 1093:4dae346c4969
Added crossreferences and lowercased synopsises
author | roug |
---|---|
date | Mon, 07 Apr 2003 21:01:46 +0000 |
parents | b5ff125a1d60 |
children | b00cf13c9f61 |
rev | line source |
---|---|
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> | |
1093 | 9 <command>go51</command> |
159 | 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 | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
648
diff
changeset
|
32 can simply avoid the use of <command>go51</command>. |
159 | 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 | |
1053
b5ff125a1d60
Since this book was only typeset in fixed width, single-font, they used
roug
parents:
648
diff
changeset
|
38 driver, <command>go51</command> provides a new keyboard driver which features auto-repeat. |
159 | 39 The keyboard code allocation is the same as described in |
1093 | 40 section <xref linkend="sec2.4.3"/> and <xref linkend="key-definitions"/> |
159 | 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 | |
1093 | 47 <xref linkend="video-display"/> |
48 the 51 by 24 mode provides many built in facilities to | |
159 | 49 control the display. These functions are activated by the use of |
50 the various escape sequences and control characters described below: | |
51 </para> | |
52 <informaltable frame="none"> | |
53 <tgroup cols="2"> | |
648 | 54 <colspec colwidth="1.5in"/> |
55 <colspec colwidth="3.5in"/> | |
159 | 56 <thead> |
57 <row> | |
58 <entry>Escape Sequence (Hex)</entry> | |
59 <entry>Name/Function</entry> | |
60 </row> | |
61 </thead> | |
62 | |
63 <tbody> | |
64 <row> | |
65 <entry>1B 41 X Y</entry> | |
66 <entry>CURSOR XY - move cursor to column X(0-50) | |
67 and Y(0-23) where X and Y are single byte values.</entry> | |
68 </row> | |
69 <row> | |
70 <entry>1B 42</entry> | |
71 <entry>CLEAR EOL - clear from cursor to the end of | |
72 line. Cursor position remains unchanged.</entry> | |
73 </row> | |
74 <row> | |
75 <entry>1B 43</entry> | |
76 <entry>CURSOR RIGHT - move cursor right by one character position.</entry> | |
77 </row> | |
78 <row> | |
79 <entry>1B 44</entry> | |
80 <entry>CURSOR UP - move cursor up by one line.</entry> | |
81 </row> | |
82 <row> | |
83 <entry>1B 45</entry> | |
84 <entry>CURSOR DOWN - move cursor down one line.</entry> | |
85 </row> | |
86 <row> | |
87 <entry>1B 46</entry> | |
88 <entry>REVERSE ON - turn reverse field on.</entry> | |
89 </row> | |
90 <row> | |
91 <entry>1B 47</entry> | |
92 <entry>REVERSE OFF - turn reverse field off.</entry> | |
93 </row> | |
94 <row> | |
95 <entry>1B 48</entry> | |
96 <entry>UNDERLINE ON - turn underline on.</entry> | |
97 </row> | |
98 <row> | |
99 <entry>1B 49</entry> | |
100 <entry>UNDERLINE OFF - turn underline off.</entry> | |
101 </row> | |
102 <row> | |
103 <entry>1B 4A</entry> | |
104 <entry>CLEAR EOS - clear from cursor to end of | |
105 screen. Cursor position remains unchanged.</entry> | |
106 </row> | |
107 </tbody> | |
108 </tgroup> | |
109 </informaltable> | |
110 | |
111 | |
112 | |
113 | |
114 <informaltable frame="none"> | |
115 <tgroup cols="2"> | |
648 | 116 <colspec colwidth="1.5in"/> |
117 <colspec colwidth="3.5in"/> | |
159 | 118 <thead> |
119 <row> | |
120 <entry>Control Character (Hex)</entry> | |
121 <entry>Name/Function</entry> | |
122 </row> | |
123 </thead> | |
124 <tbody> | |
125 <row> | |
126 <entry>07</entry> | |
127 <entry>BELL - generates a short audible tone.</entry> | |
128 </row> | |
129 <row> | |
130 <entry>08</entry> | |
131 <entry>BACKSPACE (CURSOR LEFT) - moves cursor left one character position.</entry> | |
132 </row> | |
133 <row> | |
134 <entry>0A</entry> | |
135 <entry>LINE FEED - move cursor down by one line.</entry> | |
136 </row> | |
137 <row> | |
138 <entry>0B</entry> | |
139 <entry>CURSOR HOME - move cursor to home position 0,0 (top left).</entry> | |
140 </row> | |
141 <row> | |
142 <entry>0C</entry> | |
143 <entry>CLEAR SCREEN - clears the screen and home cursor.</entry> | |
144 </row> | |
145 </tbody> | |
146 </tgroup> | |
147 </informaltable> | |
148 <note><para> | |
149 The GO51 device driver is only available on Dragon Computers. | |
150 </para></note> | |
151 </refsect1> | |
152 </refentry> |