PETSCII Codes in Listings

From C64-Wiki
Jump to navigationJump to search

Type-in listings in BASIC were very popular in the early days of home computers and gave newcomers a good starting point to discover how their computer work.

Printing such BASIC listings for the Commodore computers however was not an easy task because of the specific looking PETSCII-characters. To overcome that problem descriptive codes were introduced to represent these characters as plain text.

PETSCII Plain Text Representation in BASIC Listings[edit | edit source]

The following table provides a complete overview of the 256 PETSCII CHR$-codes and their text representation by the most common PRG-to-ASCII tools/de-tokenizers. Also it shows the keys, key combinations or tricks, how these PETSCII-characters can be entered as part of a string sequence.

PEEK/POKE
(dec, hex)
CHR$/ASC
(dec, hex)
BASTEXT
(V1.0)
PETCAT
(VICE3.3)
C64List
(V3.51)
Screen Control Description
(click to sort by most common)
How to enter
on C64 keyboard
How to enter
on PC keyboard
128/$80 petscii char (0).png 000/$00 {null} {null} {null} @ + #RRT @ + #RRT
129/$81 petscii char (1).png 001/$01 {ct a} {CTRL-A} {$01} ctrl + a  tab + a 
130/$82 petscii char (2).png 002/$02 {ct b} {CTRL-B} {$02} ctrl + b  tab + b 
131/$83 petscii char (3).png 003/$03 {ct c} {stop} {stop} Value of run/stop key ctrl + c  tab + c 
132/$84 petscii char (4).png 004/$04 {ct d} {CTRL-D} {$04} ctrl + d  tab + d 
133/$85 petscii char (5).png 005/$05 {white} {wht} {white} col1 white.png Set text color to white (1) ctrl + 2  tab + 2 
134/$86 petscii char (6).png 006/$06 {ct f} {CTRL-F} {$06} ctrl + f  tab + f 
135/$87 petscii char (7).png 007/$07 {ct g} {CTRL-G} {$07} ctrl + g  tab + g 
136/$88 petscii char (8).png 008/$08 {ct h} {dish} {altdis} Disable Shift + C= ctrl + h  tab + h 
137/$89 petscii char (9).png 009/$09 {ct i} {ensh} {altena} Enable Shift + C= ctrl + i  tab + i 
138/$8A petscii char (10).png 010/$0A {ct j} {$0a} {$0a} ctrl + j  tab + j 
139/$8B petscii char (11).png 011/$0B {ct k} {CTRL-K} {$0b} ctrl + k  tab + k 
140/$8C petscii char (12).png 012/$0C {ct l} {\f} {$0c} Form feed (on printer) ctrl + l  tab + l 
141/$8D petscii char (13).png 013/$0D {return} {\n} {$0d} Press return m + #RRT m + #RRT
142/$8E petscii char (14).png 014/$0E {ct n} {swlc} {lower} Switch text on screen to lower case ctrl + n  tab + n 
143/$8F petscii char (15).png 015/$0F {ct o} {CTRL-O} {$0f} ctrl + o  tab + o 
144/$90 petscii char (16).png 016/$10 {ct p} {CTRL-P} {$10} ctrl + p  tab + p 
145/$91 petscii char (17).png 017/$11 {down} {down} {down} Move cursor 1 position down crsr ⇵   
146/$92 petscii char (18).png 018/$12 {reverse on} {rvon} {rvrs on} Turn reverse on ctrl + 9  tab + 9 
147/$93 petscii char (19).png 019/$13 {home} {home} {home} Place cursor in top left corner CLR/HOME  Home 
148/$94 petscii char (20).png 020/$14 {delete} {del} {backspace} Delete character before cursor position t + #RRT t + #RRT
149/$95 petscii char (21).png 021/$15 {ct u} {CTRL-U} {$15} ctrl + u  tab + u 
150/$96 petscii char (22).png 022/$16 {ct v} {CTRL-V} {$16} ctrl + v  tab + v 
151/$97 petscii char (23).png 023/$17 {ct w} {CTRL-W} {$17} ctrl + w  tab + w 
152/$98 petscii char (24).png 024/$18 {ct x} {CTRL-X} {$18} ctrl + x  tab + x 
153/$99 petscii char (25).png 025/$19 {ct y} {CTRL-Y} {$19} ctrl + y  tab + y 
154/$9A petscii char (26).png 026/$1A {ct z} {CTRL-Z} {$1a} ctrl + z  tab + z 
155/$9B petscii char (27).png 027/$1B {027} {esc} {$1b} [ + #RRT [ + #RRT
156/$9C petscii char (28).png 028/$1C {red} {red} {red} col2 red.png Set text color to red (2) ctrl + 3  tab + 3 
157/$9D petscii char (29).png 029/$1D {right} {rght} {right} Move cursor 1 position to the right CRSR ⇆   
158/$9E petscii char (30).png 030/$1E {green} {grn} {green} col5 green.png Set text color to green (5) ctrl + 6  tab + 6 
159/$9F petscii char (31).png 031/$1F {blue} {blu} {blue} col6 blue.png Set text color to blue (6) ctrl + 7  tab + 7 
032/$20 petscii char (32).png 032/$20 {space} {space} {space} Print space character space  space 
033/$21 petscii char (33).png 033/$21 ! ! !
034/$22 petscii char (34).png 034/$22 " " "
035/$23 petscii char (35).png 035/$23 # # #
036/$24 petscii char (36).png 036/$24 $ $ $
037/$25 petscii char (37).png 037/$25 % % %
038/$26 petscii char (38).png 038/$26 & & &
039/$27 petscii char (39).png 039/$27 ' ' '
040/$28 petscii char (40).png 040/$28 ( ( (
041/$29 petscii char (41).png 041/$29 ) ) )
042/$2A petscii char (42).png 042/$2A * * *
043/$2B petscii char (43).png 043/$2B + + +
044/$2C petscii char (44).png 044/$2C , , ,
045/$2D petscii char (45).png 045/$2D - - -
046/$2E petscii char (46).png 046/$2E . . .
047/$2F petscii char (47).png 047/$2F / / /
048/$30 petscii char (48).png 048/$30 0 0 0
049/$31 petscii char (49).png 049/$31 1 1 1
050/$32 petscii char (50).png 050/$32 2 2 2
051/$33 petscii char (51).png 051/$33 3 3 3
052/$34 petscii char (52).png 052/$34 4 4 4
053/$35 petscii char (53).png 053/$35 5 5 5
054/$36 petscii char (54).png 054/$36 6 6 6
055/$37 petscii char (55).png 055/$37 7 7 7
056/$38 petscii char (56).png 056/$38 8 8 8
057/$39 petscii char (57).png 057/$39 9 9 9
058/$3A petscii char (58).png 058/$3A : : :
059/$3B petscii char (59).png 059/$3B ; ; ;
060/$3C petscii char (60).png 060/$3C < < <
061/$3D petscii char (61).png 061/$3D = = =
062/$3E petscii char (62).png 062/$3E > > >
063/$3F petscii char (63).png 063/$3F ? ? ?
000/$00 petscii char (64).png 064/$40 @ @ @
001/$01 petscii char (65).png 065/$41 a a a
002/$02 petscii char (66).png 066/$42 b b b
003/$03 petscii char (67).png 067/$43 c c c
004/$04 petscii char (68).png 068/$44 d d d
005/$05 petscii char (69).png 069/$45 e e e
006/$06 petscii char (70).png 070/$46 f f f
007/$07 petscii char (71).png 071/$47 g g g
008/$08 petscii char (72).png 072/$48 h h h
009/$09 petscii char (73).png 073/$49 i i i
010/$0A petscii char (74).png 074/$4A j j j
011/$0B petscii char (75).png 075/$4B k k k
012/$0C petscii char (76).png 076/$4C l l l
013/$0D petscii char (77).png 077/$4D m m m
014/$0E petscii char (78).png 078/$4E n n n
015/$0F petscii char (79).png 079/$4F o o o
016/$10 petscii char (80).png 080/$50 p p p
017/$11 petscii char (81).png 081/$51 q q q
018/$12 petscii char (82).png 082/$52 r r r
019/$13 petscii char (83).png 083/$53 s s s
020/$14 petscii char (84).png 084/$54 t t t
021/$15 petscii char (85).png 085/$55 u u u
022/$16 petscii char (86).png 086/$56 v v v
023/$17 petscii char (87).png 087/$57 w w w
024/$18 petscii char (88).png 088/$58 x x x
025/$19 petscii char (89).png 089/$59 y y y
026/$1A petscii char (90).png 090/$5A z z z
027/$1B petscii char (91).png 091/$5B [ [ [
028/$1C petscii char (92).png 092/$5C {pound} \ {pound} £  insert 
029/$1D petscii char (93).png 093/$5D ] ] ]
030/$1E petscii char (94).png 094/$5E ^ ^ {up arrow}   delete 
031/$1F petscii char (95).png 095/$5F {arrow left} _ {back arrow}   § 
064/$40 petscii char (96).png 096/$60 {096} {$60} {$60} Duplicate - use CHR$(#192) instead
065/$41 petscii char (97).png 097/$61 {097} {$61} {$61} Duplicate - use CHR$(#193) instead
066/$42 petscii char (98).png 098/$62 {098} {$62} {$62} Duplicate - use CHR$(#194) instead
067/$43 petscii char (96).png 099/$63 {099} {$63} {$63} Duplicate - use CHR$(#195) instead
068/$44 petscii char (100).png 100/$64 {100} {$64} {$64} Duplicate - use CHR$(#196) instead
069/$45 petscii char (101).png 101/$65 {101} {$65} {$65} Duplicate - use CHR$(#197) instead
070/$46 petscii char (102).png 102/$66 {102} {$66} {$66} Duplicate - use CHR$(#198) instead
071/$47 petscii char (103).png 103/$67 {103} {$67} {$67} Duplicate - use CHR$(#199) instead
072/$48 petscii char (104).png 104/$68 {104} {$68} {$68} Duplicate - use CHR$(#200) instead
073/$49 petscii char (105).png 105/$69 {105} {$69} {$69} Duplicate - use CHR$(#201) instead
074/$4A petscii char (106).png 106/$6A {106} {$6a} {$6a} Duplicate - use CHR$(#202) instead
075/$4B petscii char (107).png 107/$6B {107} {$6b} {$6b} Duplicate - use CHR$(#203) instead
076/$4C petscii char (108).png 108/$6C {108} {$6c} {$6c} Duplicate - use CHR$(#204) instead
077/$4D petscii char (109).png 109/$6D {109} {$6d} {$6d} Duplicate - use CHR$(#205) instead
078/$4E petscii char (110).png 110/$6E {110} {$6e} {$6e} Duplicate - use CHR$(#206) instead
079/$4F petscii char (111).png 111/$6F {111} {$6f} {$6f} Duplicate - use CHR$(#207) instead
080/$50 petscii char (112).png 112/$70 {112} {$70} {$70} Duplicate - use CHR$(#208) instead
081/$51 petscii char (113).png 113/$71 {113} {$71} {$71} Duplicate - use CHR$(#209) instead
082/$52 petscii char (114).png 114/$72 {114} {$72} {$72} Duplicate - use CHR$(#210) instead
083/$53 petscii char (115).png 115/$73 {115} {$73} {$73} Duplicate - use CHR$(#211) instead
084/$54 petscii char (116).png 116/$74 {116} {$74} {$74} Duplicate - use CHR$(#212) instead
085/$55 petscii char (117).png 117/$75 {117} {$75} {$75} Duplicate - use CHR$(#213) instead
086/$56 petscii char (118).png 118/$76 {118} {$76} {$76} Duplicate - use CHR$(#214) instead
087/$57 petscii char (119).png 119/$77 {119} {$77} {$77} Duplicate - use CHR$(#215) instead
088/$58 petscii char (120).png 120/$78 {120} {$78} {$78} Duplicate - use CHR$(#216) instead
089/$59 petscii char (121).png 121/$79 {121} {$79} {$79} Duplicate - use CHR$(#217) instead
090/$5A petscii char (122).png 122/$7A {122} {$7a} {$7a} Duplicate - use CHR$(#218) instead
091/$5B petscii char (123).png 123/$7B {123} {$7b} {$7b} Duplicate - use CHR$(#219) instead
092/$5C petscii char (124).png 124/$7C {124} {$7c} {$7c} Duplicate - use CHR$(#220) instead
093/$5D petscii char (98).png 125/$7D | {$7d} {$7d} Duplicate - use CHR$(#221) instead
094/$5E petscii char (126).png 126/$7E {126} {$7e} {$7e} Duplicate - use CHR$(#222) instead
095/$5F petscii char (127).png 127/$7F {127} {$7f} {$7f} Duplicate - use CHR$(#223) instead
195/$C3 petscii char (131).png 128/$80 {128} {$80} {$80}
193/$C1 petscii char (129).png 129/$81 {orange} {orng} {orange} col8 orange.png Set text color to orange (8) C= + 1  ctrl + 1 
194/$C2 petscii char (130).png 130/$82 {130} {$82} {$82}
195/$C3 petscii char (131).png 131/$83 {131} {$83} {$83}
196/$C4 petscii char (132).png 132/$84 {132} {$84} {$84}
197/$C5 petscii char (133).png 133/$85 {f1} {f1} {f1} Function Key F1 f1  f1 
198/$C6 petscii char (134).png 134/$86 {f3} {f3} {f3} Function Key F3 f3  f3 
199/$C7 petscii char (135).png 135/$87 {f5} {f5} {f5} Function Key F5 f5  f5 
200/$C8 petscii char (136).png 136/$88 {f7} {f7} {f7} Function Key F7 f7  f7 
201/$C9 petscii char (137).png 137/$89 {f2} {f2} {f2} Function Key F2 shift + f1  f2 
202/$CA petscii char (138).png 138/$8A {f4} {f4} {f4} Function Key F4 shift + f3  f4 
203/$CB petscii char (139).png 139/$8B {f6} {f6} {f6} Function Key F6 shift + f5  f6 
204/$CC petscii char (140).png 140/$8C {f8} {f8} {f8} Function Key F8 shift + f7  f8 
205/$CD petscii char (141).png 141/$8D {141} {stret} {shft ret} Shift return shift + m + #RRT shift + m + #RRT
206/$CE petscii char (142).png 142/$8E {142} {swuc} {upper} Switch text on screen to upper case shift + n + #RRT shift + n + #RRT
207/$CF petscii char (143).png 143/$8F {143} {$8f} {$8f}
208/$D0 petscii char (144).png 144/$90 {black} {blk} {black} col0 black.png Set text color to black (0) ctrl + 1  tab + 1 
209/$D1 petscii char (145).png 145/$91 {up} {up} {up} Move cursor 1 position up shift + crsr ⇅   
210/$D2 petscii char (146).png 146/$92 {reverse off} {rvof} {rvrs off} Turn reverse off ctrl + 0  tab + 0 
211/$D3 petscii char (147).png 147/$93 {clear} {clr} {clear} Clear text on screen and place cursor in top left corner shift + clr/home  shift + Home 
212/$D4 petscii char (148).png 148/$94 {148} {inst} {insert} Insert an empty space at cursor position shift + inst/del  shift + backspace 
213/$D5 petscii char (149).png 149/$95 {brown} {brn} {brown} col9 brown.png Set text color to brown (9) C= + 2  ctrl + 2 
214/$D6 petscii char (150).png 150/$96 {pink} {lred} {lt. red} col10 pink.png Set text color to light red (10) C= + 3  ctrl + 3 
215/$D7 petscii char (151).png 151/$97 {dark gray} {gry1} {gray1} col11 dark gray.png Set text color to grey 1 (11) C= + 4  ctrl + 4 
216/$D8 petscii char (152).png 152/$98 {gray} {gry2} {gray2} col12 gray.png Set text color to grey 2 (12) C= + 5  ctrl + 5 
217/$D9 petscii char (153).png 153/$99 {light green} {lgrn} {lt. green} col13 light green.png Set text color to light green (13) C= + 6  ctrl + 6 
218/$DA petscii char (154).png 154/$9A {light blue} {lblu} {lt. blue} col14 light blue.png Set text color to light blue (14) C= + 7  ctrl + 7 
219/$DB petscii char (155).png 155/$9B {light gray} {gry3} {gray3} col15 light gray.png Set text color to grey 3 (15) C= + 8  ctrl + 8 
220/$DC petscii char (156).png 156/$9C {purple} {pur} {purple} col4 purple.png Set text color to purple (4) ctrl + 5  tab + 5 
221/$DD petscii char (130).png 157/$9D {left} {left} {left} Move cursor 1 position to the left shift + crsr ⇄   
222/$DE petscii char (158).png 158/$9E {yellow} {yel} {yellow} col7 yellow.png Set text color to yellow (7) ctrl + 8  tab + 8 
223/$DF petscii char (159).png 159/$9F {cyan} {cyn} {cyan} col3 cyan.png Set text color to cyan (3) ctrl + 4  tab + 4 
032/$20 petscii char (32).png 160/$A0 {sh space} {$a0} {$a0} Shift space shift + space  shift + space 
097/$61 petscii char (161).png 161/$A1 {cm k} {CBM-K} {$a1} C= + k  ctrl + k 
098/$62 petscii char (162).png 162/$A2 {cm i} {CBM-I} {$a2} C= + i  ctrl + i 
099/$63 petscii char (163).png 163/$A3 {cm t} {CBM-T} {$a3} C= + t  ctrl + t 
100/$64 petscii char (164).png 164/$A4 {cm @} {CBM-@} {$a4} C= + @  ctrl + [ 
101/$65 petscii char (165).png 165/$A5 {cm g} {CBM-G} {$a5} C= + g  ctrl + g 
102/$66 petscii char (166).png 166/$A6 {cm +} {CBM-+} {$a6} C= + +  ctrl + ' 
103/$67 petscii char (167).png 167/$A7 {cm m} {CBM-M} {$a7} C= + m  ctrl + m 
104/$68 petscii char (168).png 168/$A8 {cm pound} {CBM-POUND} {shft pound} C= + £  ctrl + insert 
105/$69 petscii char (169).png 169/$A9 {sh pound} {SHIFT-POUND} {ctrl pound} shift + £  shift + insert 
106/$6A petscii char (167).png 170/$AA {cm n} {CBM-N} {$aa} C= + n  ctrl + n 
107/$6B petscii char (171).png 171/$AB {cm q} {CBM-Q} {$ab} C= + q  ctrl + q 
108/$6C petscii char (172).png 172/$AC {cm d} {CBM-D} {$ac} C= + d  ctrl + d 
109/$6D petscii char (173).png 173/$AD {cm z} {CBM-Z} {$ad} C= + z  ctrl + z 
110/$6E petscii char (174).png 174/$AE {cm s} {CBM-S} {$ae} C= + s  ctrl + s 
111/$6F petscii char (175).png 175/$AF {cm p} {CBM-P} {$af} C= + p  ctrl + p 
112/$70 petscii char (176).png 176/$B0 {cm a} {CBM-A} {$b0} C= + a  ctrl + a 
113/$71 petscii char (177).png 177/$B1 {cm e} {CBM-E} {$b1} C= + e  ctrl + e 
114/$72 petscii char (178).png 178/$B2 {cm r} {CBM-R} {$b2} C= + r  ctrl + r 
115/$73 petscii char (179).png 179/$B3 {cm w} {CBM-W} {$b3} C= + w  ctrl + w 
116/$74 petscii char (165).png 180/$B4 {cm h} {CBM-H} {$b4} C= + h  ctrl + h 
117/$75 petscii char (181).png 181/$B5 {cm j} {CBM-J} {$b5} C= + j  ctrl + j 
118/$76 petscii char (182).png 182/$B6 {cm l} {CBM-L} {$b6} C= + l  ctrl + l 
119/$77 petscii char (183).png 183/$B7 {cm y} {CBM-Y} {$b7} C= + y  ctrl + y 
120/$78 petscii char (184).png 184/$B8 {cm u} {CBM-U} {$b8} C= + u  ctrl + u 
121/$79 petscii char (185).png 185/$B9 {cm o} {CBM-O} {$b9} C= + o  ctrl + o 
122/$7A petscii char (186).png 186/$BA {sh @} {SHIFT-@} {$ba} shift + @  shift + ü 
123/$7B petscii char (187).png 187/$BB {cm f} {CBM-F} {$bb} C= + f  ctrl + f 
124/$7C petscii char (188).png 188/$BC {cm c} {CBM-C} {$bc} C= + c  ctrl + c 
125/$7D petscii char (189).png 189/$BD {cm x} {CBM-X} {$bd} C= + x  ctrl + x 
126/$7E petscii char (190).png 190/$BE {cm v} {CBM-V} {$be} C= + v  ctrl + v 
127/$7F petscii char (191).png 191/$BF {cm b} {CBM-B} {$bf} C= + b  ctrl + b 
064/$40 petscii char (96).png 192/$C0 {sh asterisk} {SHIFT-*} {$c0} shift + *  shift + ¨ 
065/$41 petscii char (97).png 193/$C1 A A A shift + a  shift + a 
066/$42 petscii char (98).png 194/$C2 B B B shift + b  shift + b 
067/$43 petscii char (96).png 195/$C3 C C C shift + c  shift + c 
068/$44 petscii char (100).png 196/$C4 D D D shift + d  shift + d 
069/$45 petscii char (101).png 197/$C5 E E E shift + e  shift + e 
070/$46 petscii char (102).png 198/$C6 F F F shift + f  shift + f 
071/$47 petscii char (103).png 199/$C7 G G G shift + g  shift + g 
072/$48 petscii char (104).png 200/$C8 H H H shift + h  shift + h 
073/$49 petscii char (105).png 201/$C9 I I I shift + i  shift + i 
074/$4A petscii char (106).png 202/$CA J J J shift + j  shift + j 
075/$4B petscii char (107).png 203/$CB K K K shift + k  shift + k 
076/$4C petscii char (108).png 204/$CC L L L shift + l  shift + l 
077/$4D petscii char (109).png 205/$CD M M M shift + m  shift + m 
078/$4E petscii char (110).png 206/$CE N N N shift + n  shift + n 
079/$4F petscii char (111).png 207/$CF O O O shift + o  shift + o 
080/$50 petscii char (112).png 208/$D0 P P P shift + p  shift + p 
081/$51 petscii char (113).png 209/$D1 Q Q Q shift + q  shift + q 
082/$52 petscii char (114).png 210/$D2 R R R shift + r  shift + r 
083/$53 petscii char (115).png 211/$D3 S S S shift + s  shift + s 
084/$54 petscii char (116).png 212/$D4 T T T shift + t  shift + t 
085/$55 petscii char (117).png 213/$D5 U U U shift + u  shift + u 
086/$56 petscii char (118).png 214/$D6 V V V shift + v  shift + v 
087/$57 petscii char (119).png 215/$D7 W W W shift + w  shift + w 
088/$58 petscii char (120).png 216/$D8 X X X shift + x  shift + x 
089/$59 petscii char (121).png 217/$D9 Y Y Y shift + y  shift + y 
090/$5A petscii char (122).png 218/$DA Z Z Z shift + z  shift + z 
091/$5B petscii char (123).png 219/$DB {sh +} {SHIFT-+} {$db} shift + +  shift + ' 
092/$5C petscii char (124).png 220/$DC {cm -} {CBM--} {$dc} C= + -  ctrl + ^ 
093/$5D petscii char (98).png 221/$DD {sh -} {SHIFT--} {$dd} shift + -  shift + ^ 
094/$5E petscii char (126).png 222/$DE {222} {$de} {$de}
095/$5F petscii char (127).png 223/$DF {cm asterisk} {CBM-*} {$df} C= + *  ctrl + ] 
096/$60 petscii char (32).png 224/$E0 {224} {$e0} {$e0} Duplicate - use CHR$(#160) instead
097/$61 petscii char (161).png 225/$E1 {225} {$e1} {$e1} Duplicate - use CHR$(#161) instead
098/$62 petscii char (162).png 226/$E2 {226} {$e2} {$e2} Duplicate - use CHR$(#162) instead
099/$63 petscii char (163).png 227/$E3 {227} {$e3} {$e3} Duplicate - use CHR$(#163) instead
100/$64 petscii char (164).png 228/$E4 {228} {$e4} {$e4} Duplicate - use CHR$(#164) instead
101/$65 petscii char (165).png 229/$E5 {229} {$e5} {$e5} Duplicate - use CHR$(#165) instead
102/$66 petscii char (166).png 230/$E6 {230} {$e6} {$e6} Duplicate - use CHR$(#166) instead
103/$67 petscii char (167).png 231/$E7 {231} {$e7} {$e7} Duplicate - use CHR$(#167) instead
104/$68 petscii char (168).png 232/$E8 {232} {$e8} {$e8} Duplicate - use CHR$(#168) instead
105/$69 petscii char (169).png 233/$E9 {233} {$e9} {$e9} Duplicate - use CHR$(#169) instead
106/$6A petscii char (167).png 234/$EA {234} {$ea} {$ea} Duplicate - use CHR$(#170) instead
107/$6B petscii char (171).png 235/$EB {235} {$eb} {$eb} Duplicate - use CHR$(#171) instead
108/$6C petscii char (172).png 236/$EC {236} {$ec} {$ec} Duplicate - use CHR$(#172) instead
109/$6D petscii char (173).png 237/$ED {237} {$ed} {$ed} Duplicate - use CHR$(#173) instead
110/$6E petscii char (174).png 238/$EE {238} {$ee} {$ee} Duplicate - use CHR$(#174) instead
111/$6F petscii char (175).png 239/$EF {239} {$ef} {$ef} Duplicate - use CHR$(#175) instead
112/$70 petscii char (176).png 240/$F0 {240} {$f0} {$f0} Duplicate - use CHR$(#176) instead
113/$71 petscii char (177).png 241/$F1 {241} {$f1} {$f1} Duplicate - use CHR$(#177) instead
114/$72 petscii char (178).png 242/$F2 {242} {$f2} {$f2} Duplicate - use CHR$(#178) instead
115/$73 petscii char (179).png 243/$F3 {243} {$f3} {$f3} Duplicate - use CHR$(#179) instead
116/$74 petscii char (165).png 244/$F4 {244} {$f4} {$f4} Duplicate - use CHR$(#180) instead
117/$75 petscii char (181).png 245/$F5 {245} {$f5} {$f5} Duplicate - use CHR$(#181) instead
118/$76 petscii char (182).png 246/$F6 {246} {$f6} {$f6} Duplicate - use CHR$(#182) instead
119/$77 petscii char (183).png 247/$F7 {247} {$f7} {$f7} Duplicate - use CHR$(#183) instead
120/$78 petscii char (184).png 248/$F8 {248} {$f8} {$f8} Duplicate - use CHR$(#184) instead
121/$79 petscii char (185).png 249/$F9 {249} {$f9} {$f9} Duplicate - use CHR$(#185) instead
122/$7A petscii char (186).png 250/$FA {250} {$fa} {$fa} Duplicate - use CHR$(#186) instead
123/$7B petscii char (187).png 251/$FB {251} {$fb} {$fb} Duplicate - use CHR$(#187) instead
124/$7C petscii char (188).png 252/$FC {252} {$fc} {$fc} Duplicate - use CHR$(#188) instead
125/$7D petscii char (189).png 253/$FD {253} {$fd} {$fd} Duplicate - use CHR$(#189) instead
126/$7E petscii char (190).png 254/$FE {254} {$fe} {$fe} Duplicate - use CHR$(#190) instead
094/$5E petscii char (126).png 255/$FF {pi} ~ {$ff} shift +   shift + delete 

Small oddity with the Pi-Symbol when entering as shift +  :

  • A$="𝜋":PRINTASC(A$) will show the Pi character as value 255
  • GETA$:PRINTASC(A$) will show the Pi character as value 222


Return-Reverse-Trick (RRT)[edit | edit source]

Unfortunately some control characters cannot be entered directly inside a string. Instead we use a little workaround to overcome this limitation.

  1. Enter the complete BASIC line but instead of the control-character (e.g. inverse 't' for delete) just set a 't' for the moment and press return .
  2. Move the cursor back up to the place where the inverse 't' should be.
  3. Turn on reverse mode by applying ctrl + 9 , overwrite the 't' by typing again 't' in reverse mode and press return again.

When you list the entered line you should be able to see that the BASIC editor has accepted this later change. ‎