<--- Turn the page     (contents page)     Turn the page --->


Control Characters

The ascii characters 0 - 32




I know you have printed ascii chars 13 and 10 to the screen before. This is so that you can get a CR, LF (Carriage Return, Line Feed).

However, have you ever tried to print a backspace to the screen?

These are the ascii characters 0 - 32 and there "commands":
(Lines with an '*' just print the ascii char, not the command)
Value 	Name 	Description
 0  NUL  *Null character
 1  SOH  *Start of heading
 2  STX  *Start of text
 3  ETX  *End of text
 4  EOT  *End of transmission
 5  ENQ  *Enquiry
 6  ACK  *Acknowledge
 7  BEL  Bell
 8  BS   Backspace
 9  HT   Horizontal tab
10  LF   Line-feed
11  VT   *Vertical tab
12  FF   *Form feed
13  CR   Carriage-return
14  SO   *Shift out
15  SI   *Shift in
16  DLE  *Data link escape
17  DC1  *Device Control 1
18  DC2  *Device Control 2
19  DC3  *Device Control 3
20  DC4  *Device Control 4
21  NAK  *Negative Acknowledge
22  SYN  *Synchronous idle
23  ETB  *End Transmission Blocks
24  CAN  *Cancel
25  EM   *End of Medium
26  SUB  *Special Sequence
27  ESC  *Escape
28  FS   *File separator
29  GS   *Group separator
30  RS   *Record separator
31  US   *Unit separator
32  SP   Space
Note: Basic won't allow you to PRINT these "commands".
However, use service 06h of Interrupt 21h. ¥


<--- Turn the page     (contents page)     Turn the page --->

Page 4