Text Commands
The text commands let you control the cursor's position and
movement and also the way text prints on the display. These
commands can be used on either text or graphics windows.
The text commands are:
Code Description
01 Homes the cursor.
02 x y Positions cursor to x,y. Specify coordinates as
(x + $20) and (y + $20).
03 Erases the current line.
04 Erases from the current character to the end of
the line.
05 20 Turns off the cursor.
05 21 Turns on the cursor.
06 Moves the cursor right one character.
07 Rings the bell.
08 Moves the cursor left one character.
09 Moves the cursor up one line.
OA Moves the cursor down one line.
OB Erases from the current character to the end of
the screen.
OC Erases the entire screen and homes the cursor.
OD Sends a carriage return.
1F 20 Turns on reverse video.
1F 21 Turns off reverse video.
1F 22 Turns on underlining.
1F 23 Turns off underlining.
1F 24 Turns on blinking.'
5-1
OS-9 Windowing System
Code Description
1F 25 Turns off blinking.'
1F 30 Inserts a line at the current cursor position.
1F 31 Deletes the current line.
1B 3C BSW See TCharSw in Chapter 3.2
1B 3D BSW See BoldSw in Chapter 3.2
1B 3F BSW See PropSw in Chapter 3.2
1
Blink is not supported for text on graphics screens.
2 These characteristics are supported for text on graphics
screens only.
5-2