Appendix D - Character set
Hex | Dec | Code | Description | |
---|---|---|---|---|
00 | 0 | NUL | Null | |
01 | 1 | SOH | A | Start of Heading |
02 | 2 | STX | B | Start of Text |
03 | 3 | ETX | C | End of Text |
04 | 4 | EOT | D | End of Transmit |
05 | 5 | ENQ | E | Enquiry |
06 | 6 | ACK | F | Acknowledge |
07 | 7 | BEL | G | Bell |
08 | 8 | BS | H | Backspace |
09 | 9 | HT | I | Horizontal Tab |
0A | 10 | LF | J | Line Feed |
0B | 11 | VT | K | Vertical Tab |
0C | 12 | FF | L | Form Feed |
0D | 13 | CR | M | Carriage Return |
0E | 14 | SO | N | Shift Out |
0F | 15 | SI | O | Shift In |
10 | 16 | DLE | P | Data Line Escape |
11 | 17 | DC1 | Q | X On |
12 | 18 | DC2 | R | Aux On |
13 | 19 | DC3 | S | X Off |
14 | 20 | DC4 | T | Aux Off |
15 | 21 | NAK | U | Negative Acknowledge |
16 | 22 | SYN | V | Synchronous File |
17 | 23 | ETB | W | End of Transmitted Block |
18 | 24 | CAN | X | Cancel |
19 | 25 | EM | Y | End of Medium |
1A | 26 | SUB | Z | Substitute |
1B | 27 | ESC | [ | Escape |
1C | 28 | FS | \ | File Separator |
1D | 29 | GS | ] | Group Separator |
1E | 30 | RS | £ | Record Separator |
1F | 31 | US | - | Unit Separator |
20 | 32 | Space | ||
21 | 33 | ! | ||
22 | 34 | " | ||
23 | 35 | # | ||
24 | 36 | $ | ||
25 | 37 | % | ||
26 | 38 | & | ||
27 | 39 | ' | ||
28 | 40 | ( | ||
29 | 41 | ) | ||
2A | 42 | * | ||
2B | 43 | + | ||
2C | 44 | , | ||
2D | 45 | - | ||
2E | 46 | . | ||
2F | 47 | / | ||
30 | 48 | 0 | ||
31 | 49 | 1 | ||
32 | 50 | 2 | ||
33 | 51 | 3 | ||
34 | 52 | 4 | ||
35 | 53 | 5 | ||
36 | 54 | 6 | ||
37 | 55 | 7 | ||
38 | 56 | 8 | ||
39 | 57 | 9 | ||
3A | 58 | : | ||
3B | 59 | ; | ||
3C | 60 | < | ||
3D | 61 | = | ||
3E | 62 | > | ||
3F | 63 | ? | ||
40 | 64 | @ | ||
41 | 65 | A | ||
42 | 66 | B | ||
43 | 67 | C | ||
44 | 68 | D | ||
45 | 69 | E | ||
46 | 70 | F | ||
47 | 71 | G | ||
48 | 72 | H | ||
49 | 73 | I | ||
4A | 74 | J | ||
4B | 75 | K | ||
4C | 76 | L | ||
4D | 77 | M | ||
4E | 78 | N | ||
4F | 79 | O | ||
50 | 80 | P | ||
51 | 81 | Q | ||
52 | 82 | R | ||
53 | 83 | S | ||
54 | 84 | T | ||
55 | 85 | U | ||
56 | 86 | V | ||
57 | 87 | W | ||
58 | 88 | X | ||
59 | 89 | Y | ||
5A | 90 | Z | ||
5B | 91 | [ | ||
5C | 92 | \ | ||
5D | 93 | ] | ||
5E | 94 | ^ | ||
5F | 95 | _ | ||
60 | 96 | ' | ||
61 | 97 | a | ||
62 | 98 | b | ||
63 | 99 | c | ||
64 | 100 | d | ||
65 | 101 | e | ||
66 | 102 | f | ||
67 | 103 | g | ||
68 | 104 | h | ||
69 | 105 | i | ||
6A | 106 | j | ||
6B | 107 | k | ||
6C | 108 | l | ||
6D | 109 | m | ||
6E | 110 | n | ||
6F | 111 | o | ||
70 | 112 | p | ||
71 | 113 | q | ||
72 | 114 | r | ||
73 | 115 | s | ||
74 | 116 | t | ||
75 | 117 | u | ||
76 | 118 | v | ||
77 | 119 | w | ||
78 | 120 | x | ||
79 | 121 | y | ||
7A | 122 | z | ||
7B | 123 | { | ||
7C | 124 | | | ||
7D | 125 | } | ||
7E | 126 | ~ | ||
7F | 127 | DEL | Delete | |
A0 | 160 | ... | Exact Space | |
A7 | 163 | £ | Pound |
Special characters
These are obtained by executing VDU 1, n from BBC BASIC, where n is the number of the character.
Code | Character |
---|---|
32 | Dot space |
33 | Alarm bell |
39 | Aposed |
42 | Square |
43 | Diamond |
45 | Shift |
224 | 'SPACE' sign (3 char) |
225 | 'ENTER' sign (3 char) |
226 | 'TAB' sign (3 char) |
227 | 'DEL' sign (3 char) |
228 | 'ESC' sign (3 char) |
229 | 'MENU' sign (3 char) |
230 | 'INDEX' sign (3 char) |
231 | 'HELP' sign (3 char) |
240 | Hollow left arrow |
241 | Hollow right arrow |
242 | Hollow down arrow |
243 | Hollow up arrow |
244 | Head arrow left |
245 | Head arrow right |
246 | Head arrow down |
247 | Head arrow up |
248 | Arrow left |
249 | Arrow right |
250 | Arrow down |
251 | Arrow up |
Character modes
VDU 1,ASC"B" | Bold toggle |
VDU 1,ASC"F" | Flash toggle |
VDU 1,ASC"G" | Grey toggle |
VDU 1,ASC"R" | Reverse toggle |
VDU 1,ASC"T" | Tiny font toggle |
VDU 1,ASC"U" | Underline toggle |