APPENDIX TEN

ATASCII And Internal Character Code Values

Character ATASCII Internal Character ATASCII Internal space 32 0 Z 90 58 ! 33 1 [ 91 59 " 34 2 \ 92 60 # 35 3 ] 93 61 $ 36 4 ^ 94 62 % 37 5 _ 95 63 & 38 6 CTRL-, 0 64 ' 39 7 CTRL-A 1 65 ( 40 8 CTRL-B 2 66 ) 41 9 CTRL-C 3 67 * 42 10 CTRL-D 4 68 + 43 11 CTRL-E 5 69 , 44 12 CTRL-F 6 70 - 45 13 CTRL-G 7 71 . 46 14 CTRL-H 8 72 / 47 15 CTRL-I 9 73 0 48 16 CTRL-J 10 74 1 49 17 CTRL-K 11 75 2 50 18 CTRL-L 12 76 3 51 19 CTRL-M 13 77 4 52 20 CTRL-N 14 78 5 53 21 CTRL-O 15 79 6 54 22 CTRL-P 16 80 7 55 23 CTRL-Q 17 81 8 56 24 CTRL-R 18 82 9 57 25 CTRL-S 19 83 : 58 26 CTRL-T 20 84 ; 59 27 CTRL-U 21 85 < 60 28 CTRL-V 22 86 = 61 29 CTRL-W 23 87 > 62 30 CTRL-X 24 88 ? 63 31 CTRL-Y 25 89 @ 64 32 CTRL-Z 26 90 A 65 33 ESCAPE 27 91 B 66 34 UP ARROW 28 92 C 67 35 DOWN D 68 36 ARROW 29 93 E 69 37 LEFT ARROW 30 94 F 70 38 RIGHT ARROW 31 95 G 71 39 CTRL-. 96 96 H 72 40 a 97 97 I 73 41 b 98 98 J 74 42 c 99 99 K 75 43 d 100 100 L 76 44 e 101 101 M 77 45 f 102 102 N 78 46 g 103 103 O 79 47 h 104 104 P 80 48 i 105 105 Q 81 49 j 106 106 R 82 50 k 107 107 S 83 51 l 108 108 T 84 52 m 109 109 U 85 53 n 110 110 V 86 54 o 111 111 W 87 55 p 112 112 X 88 56 q 113 113 Y 89 57 r 114 114 Character ATASCII Internal s 115 115 t 116 116 u 117 117 v 118 118 w 119 119 x 120 120 y 121 121 z 122 122 CTRL-; 123 123 ³ 124 124 CLEAR 125 125 DELETE 126 126 TAB 127 127 Inverse characters are the same as the characters above with 128 added to the values listed. This is done by setting the seventh bit (adding 128). There are other codes used which are outside this range: ATASCII Function 155 End Of Line (Return) 156 Delete line 157 Insert line 158 CTRL-Tab 159 Shift-Tab 253 CTRL-2 (buzzer) 254 Delete character 255 Insert character See your Atari Reference Manual, pages C1 to C3 and F1. In order to print the arrow keys, clear, insert, delete, buzzer, escape key, or any of the codes listed above to the screen, you must press the ESC key before entering the keyboard character(s). Not all of these codes can be sent to the printer. ATASCII codes zero to 31 print blank or they may send control codes to your printer, depending on the make. 96 will print a backwards apostrophe instead of a diamond, 123 will print a left bracket instead of a spade, 125 will print a right bracket instead of a clear, 126 will print a tildis instead of a backspace and 127 will print a blank instead of tab. There is a third set of codes used by the Atari keyboard handler. These values are listed in the OS User's Manual.

Return to Table of Contents | Previous Chapter | Next Chapter