mirror of
https://github.com/cc65/cc65.git
synced 2025-01-12 02:30:44 +00:00
adapted for atari
git-svn-id: svn://svn.cc65.org/cc65/trunk@26 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
a168e6ed64
commit
68cf78c01d
@ -3,6 +3,8 @@
|
||||
;
|
||||
; Character specification table.
|
||||
;
|
||||
; adapted to Atari by Christian Groessler, June 2000
|
||||
;
|
||||
|
||||
; The tables are readonly, put them into the code segment
|
||||
|
||||
@ -46,38 +48,38 @@ __cdiff:
|
||||
.export __ctype
|
||||
|
||||
__ctype:
|
||||
.byte $10 ; 0/00 ___ctrl_@___
|
||||
.byte $10 ; 1/01 ___ctrl_A___
|
||||
.byte $10 ; 2/02 ___ctrl_B___
|
||||
.byte $10 ; 3/03 ___ctrl_C___
|
||||
.byte $10 ; 4/04 ___ctrl_D___
|
||||
.byte $10 ; 5/05 ___ctrl_E___
|
||||
.byte $10 ; 6/06 ___ctrl_F___
|
||||
.byte $10 ; 7/07 ___ctrl_G___
|
||||
.byte $10 ; 8/08 ___ctrl_H___
|
||||
.byte $D0 ; 9/09 ___ctrl_I___
|
||||
.byte $50 ; 10/0a ___ctrl_J___
|
||||
.byte $50 ; 11/0b ___ctrl_K___
|
||||
.byte $50 ; 12/0c ___ctrl_L___
|
||||
.byte $50 ; 13/0d ___ctrl_M___
|
||||
.byte $10 ; 14/0e ___ctrl_N___
|
||||
.byte $10 ; 15/0f ___ctrl_O___
|
||||
.byte $10 ; 16/10 ___ctrl_P___
|
||||
.byte $10 ; 17/11 ___ctrl_Q___
|
||||
.byte $10 ; 18/12 ___ctrl_R___
|
||||
.byte $10 ; 19/13 ___ctrl_S___
|
||||
.byte $10 ; 20/14 ___ctrl_T___
|
||||
.byte $10 ; 21/15 ___ctrl_U___
|
||||
.byte $10 ; 22/16 ___ctrl_V___
|
||||
.byte $10 ; 23/17 ___ctrl_W___
|
||||
.byte $10 ; 24/18 ___ctrl_X___
|
||||
.byte $10 ; 25/19 ___ctrl_Y___
|
||||
.byte $10 ; 26/1a ___ctrl_Z___
|
||||
.byte $10 ; 27/1b ___ctrl_[___
|
||||
.byte $10 ; 28/1c ___ctrl_\___
|
||||
.byte $10 ; 29/1d ___ctrl_]___
|
||||
.byte $10 ; 30/1e ___ctrl_^___
|
||||
.byte $10 ; 31/1f ___ctrl_____
|
||||
.byte $00 ; 0/00 ___heart____
|
||||
.byte $00 ; 1/01 ___l_tee____
|
||||
.byte $00 ; 2/02 ___ctrl_B___
|
||||
.byte $00 ; 3/03 ___ctrl_C___
|
||||
.byte $00 ; 4/04 ___r_tee____
|
||||
.byte $00 ; 5/05 ___ctrl_E___
|
||||
.byte $00 ; 6/06 ___ctrl_F___
|
||||
.byte $00 ; 7/07 ___ctrl_G___
|
||||
.byte $00 ; 8/08 ___ctrl_H___
|
||||
.byte $00 ; 9/09 ___ctrl_I___
|
||||
.byte $00 ; 10/0a ___ctrl_J___
|
||||
.byte $00 ; 11/0b ___ctrl_K___
|
||||
.byte $00 ; 12/0c ___ctrl_L___
|
||||
.byte $00 ; 13/0d ___ctrl_M___
|
||||
.byte $00 ; 14/0e ___ctrl_N___
|
||||
.byte $00 ; 15/0f ___ctrl_O___
|
||||
.byte $00 ; 16/10 ____club____
|
||||
.byte $00 ; 17/11 ___ctrl_Q___
|
||||
.byte $00 ; 18/12 ___h_line___
|
||||
.byte $00 ; 19/13 ___ctrl_S___
|
||||
.byte $00 ; 20/14 ____ball____
|
||||
.byte $00 ; 21/15 ___ctrl_U___
|
||||
.byte $00 ; 22/16 ___ctrl_V___
|
||||
.byte $00 ; 23/17 ___t_tee____
|
||||
.byte $00 ; 24/18 ___b_tee____
|
||||
.byte $00 ; 25/19 ___ctrl_Y___
|
||||
.byte $00 ; 26/1a ___ctrl_Z___
|
||||
.byte $10 ; 27/1b ____ESC_____
|
||||
.byte $10 ; 28/1c ___crsr_up__
|
||||
.byte $10 ; 29/1d ___crsr_dn__
|
||||
.byte $10 ; 30/1e ___crsr_lf__
|
||||
.byte $10 ; 31/1f ___crsr_rg__
|
||||
.byte $A0 ; 32/20 ___SPACE___
|
||||
.byte $00 ; 33/21 _____!_____
|
||||
.byte $00 ; 34/22 _____"_____
|
||||
@ -143,7 +145,7 @@ __ctype:
|
||||
.byte $00 ; 93/5d _____]_____
|
||||
.byte $00 ; 94/5e _____^_____
|
||||
.byte $00 ; 95/5f _UNDERLINE_
|
||||
.byte $00 ; 96/60 ___grave___
|
||||
.byte $00 ; 96/60 __diamond__
|
||||
.byte $09 ; 97/61 _____a_____
|
||||
.byte $09 ; 98/62 _____b_____
|
||||
.byte $09 ; 99/63 _____c_____
|
||||
@ -170,140 +172,140 @@ __ctype:
|
||||
.byte $01 ; 120/78 _____x_____
|
||||
.byte $01 ; 121/79 _____y_____
|
||||
.byte $01 ; 122/7a _____z_____
|
||||
.byte $00 ; 123/7b _____{_____
|
||||
.byte $00 ; 124/7c _____|_____
|
||||
.byte $00 ; 125/7d _____}_____
|
||||
.byte $00 ; 126/7e _____~_____
|
||||
.byte $40 ; 127/7f ____DEL____
|
||||
.byte $00 ; 123/7b ___spade___
|
||||
.byte $00 ; 124/7c __v_line___
|
||||
.byte $10 ; 125/7d __CLRSCR___
|
||||
.byte $D0 ; 126/7e __backtab__
|
||||
.byte $D0 ; 127/7f ____tab____
|
||||
|
||||
.byte $00 ; 128/80 ___________
|
||||
.byte $00 ; 129/81 ___________
|
||||
.byte $00 ; 130/82 ___________
|
||||
.byte $00 ; 131/83 ___________
|
||||
.byte $00 ; 132/84 ___________
|
||||
.byte $00 ; 133/85 ___________
|
||||
.byte $00 ; 134/86 ___________
|
||||
.byte $00 ; 135/87 ___________
|
||||
.byte $00 ; 136/88 ___________
|
||||
.byte $00 ; 137/89 ___________
|
||||
.byte $00 ; 138/8a ___________
|
||||
.byte $00 ; 139/8b ___________
|
||||
.byte $00 ; 140/8c ___________
|
||||
.byte $00 ; 141/8d ___________
|
||||
.byte $00 ; 142/8e ___________
|
||||
.byte $00 ; 143/8f ___________
|
||||
.byte $00 ; 144/90 ___________
|
||||
.byte $00 ; 145/91 ___________
|
||||
.byte $00 ; 146/92 ___________
|
||||
.byte $10 ; 147/93 ___________
|
||||
.byte $00 ; 148/94 ___________
|
||||
.byte $00 ; 149/95 ___________
|
||||
.byte $00 ; 150/96 ___________
|
||||
.byte $00 ; 151/97 ___________
|
||||
.byte $00 ; 152/98 ___________
|
||||
.byte $00 ; 153/99 ___________
|
||||
.byte $00 ; 154/9a ___________
|
||||
.byte $00 ; 155/9b ___________
|
||||
.byte $00 ; 156/9c ___________
|
||||
.byte $00 ; 157/9d ___________
|
||||
.byte $00 ; 158/9e ___________
|
||||
.byte $00 ; 159/9f ___________
|
||||
.byte $00 ; 128/80 _inv_heart___
|
||||
.byte $00 ; 129/81 _inv_l_tee___
|
||||
.byte $00 ; 130/82 _inv_ctrl_B__
|
||||
.byte $00 ; 131/83 _inv_ctrl_C__
|
||||
.byte $00 ; 132/84 _inv_r_tee___
|
||||
.byte $00 ; 133/85 _inv_ctrl_E__
|
||||
.byte $00 ; 134/86 _inv_ctrl_F__
|
||||
.byte $00 ; 135/87 _inv_ctrl_G__
|
||||
.byte $00 ; 136/88 _inv_ctrl_H__
|
||||
.byte $00 ; 137/89 _inv_ctrl_I__
|
||||
.byte $00 ; 138/8a _inv_ctrl_J__
|
||||
.byte $00 ; 139/8b _inv_ctrl_K__
|
||||
.byte $00 ; 140/8c _inv_ctrl_L__
|
||||
.byte $00 ; 141/8d _inv_ctrl_M__
|
||||
.byte $00 ; 142/8e _inv_ctrl_N__
|
||||
.byte $00 ; 143/8f _inv_ctrl_O__
|
||||
.byte $00 ; 144/90 __inv__club__
|
||||
.byte $00 ; 145/91 _inv_ctrl_Q__
|
||||
.byte $00 ; 146/92 _inv_h_line__
|
||||
.byte $00 ; 147/93 _inv_ctrl_S__
|
||||
.byte $00 ; 148/94 __inv__ball__
|
||||
.byte $00 ; 149/95 _inv_ctrl_U__
|
||||
.byte $00 ; 150/96 _inv_ctrl_V__
|
||||
.byte $00 ; 151/97 __inv_t_tee__
|
||||
.byte $00 ; 152/98 __inv_b_tee__
|
||||
.byte $00 ; 153/99 _inv_ctrl_Y__
|
||||
.byte $00 ; 154/9a _inv_ctrl_Z__
|
||||
.byte $50 ; 155/9b _____EOL_____
|
||||
.byte $10 ; 156/9c ___CLRLINE___
|
||||
.byte $10 ; 157/9d ___INSLINE___
|
||||
.byte $10 ; 158/9e ____CLRTAB___
|
||||
.byte $10 ; 159/9f ____INSTAB___
|
||||
.byte $A0 ; 160/a0 __inv_SPACE__
|
||||
.byte $00 ; 161/a1 ___inv_!_____
|
||||
.byte $00 ; 162/a2 ___inv_"_____
|
||||
.byte $00 ; 163/a3 ___inv_#_____
|
||||
.byte $00 ; 164/a4 ___inv_$_____
|
||||
.byte $00 ; 165/a5 ___inv_%_____
|
||||
.byte $00 ; 166/a6 ___inv_&_____
|
||||
.byte $00 ; 167/a7 ___inv_'_____
|
||||
.byte $00 ; 168/a8 ___inv_(_____
|
||||
.byte $00 ; 169/a9 ___inv_)_____
|
||||
.byte $00 ; 170/aa ___inv_*_____
|
||||
.byte $00 ; 171/ab ___inv_+_____
|
||||
.byte $00 ; 172/ac ___inv_,_____
|
||||
.byte $00 ; 173/ad ___inv_-_____
|
||||
.byte $00 ; 174/ae ___inv_._____
|
||||
.byte $00 ; 175/af ___inv_/_____
|
||||
.byte $0C ; 176/b0 ___inv_0_____
|
||||
.byte $0C ; 177/b1 ___inv_1_____
|
||||
.byte $0C ; 178/b2 ___inv_2_____
|
||||
.byte $0C ; 179/b3 ___inv_3_____
|
||||
.byte $0C ; 180/b4 ___inv_4_____
|
||||
.byte $0C ; 181/b5 ___inv_5_____
|
||||
.byte $0C ; 182/b6 ___inv_6_____
|
||||
.byte $0C ; 183/b7 ___inv_7_____
|
||||
.byte $0C ; 184/b8 ___inv_8_____
|
||||
.byte $0C ; 185/b9 ___inv_9_____
|
||||
.byte $00 ; 186/ba ___inv_:_____
|
||||
.byte $00 ; 187/bb ___inv_;_____
|
||||
.byte $00 ; 188/bc ___inv_<_____
|
||||
.byte $00 ; 189/bd ___inv_=_____
|
||||
.byte $00 ; 190/be ___inv_>_____
|
||||
.byte $00 ; 191/bf ___inv_?_____
|
||||
|
||||
.byte $00 ; 192/c0 ___inv_@_____
|
||||
.byte $0A ; 193/c1 ___inv_A_____
|
||||
.byte $0A ; 194/c2 ___inv_B_____
|
||||
.byte $0A ; 195/c3 ___inv_C_____
|
||||
.byte $0A ; 196/c4 ___inv_D_____
|
||||
.byte $0A ; 197/c5 ___inv_E_____
|
||||
.byte $0A ; 198/c6 ___inv_F_____
|
||||
.byte $02 ; 199/c7 ___inv_G_____
|
||||
.byte $02 ; 200/c8 ___inv_H_____
|
||||
.byte $02 ; 201/c9 ___inv_I_____
|
||||
.byte $02 ; 202/ca ___inv_J_____
|
||||
.byte $02 ; 203/cb ___inv_K_____
|
||||
.byte $02 ; 204/cc ___inv_L_____
|
||||
.byte $02 ; 205/cd ___inv_M_____
|
||||
.byte $02 ; 206/ce ___inv_N_____
|
||||
.byte $02 ; 207/cf ___inv_O_____
|
||||
.byte $02 ; 208/d0 ___inv_P_____
|
||||
.byte $02 ; 209/d1 ___inv_Q_____
|
||||
.byte $02 ; 210/d2 ___inv_R_____
|
||||
.byte $02 ; 211/d3 ___inv_S_____
|
||||
.byte $02 ; 212/d4 ___inv_T_____
|
||||
.byte $02 ; 213/d5 ___inv_U_____
|
||||
.byte $02 ; 214/d6 ___inv_V_____
|
||||
.byte $02 ; 215/d7 ___inv_W_____
|
||||
.byte $02 ; 216/d8 ___inv_X_____
|
||||
.byte $02 ; 217/d9 ___inv_Y_____
|
||||
.byte $02 ; 218/da ___inv_Z_____
|
||||
.byte $00 ; 219/db ___inv_[_____
|
||||
.byte $00 ; 220/dc ___inv_\_____
|
||||
.byte $00 ; 221/dd ___inv_]_____
|
||||
.byte $00 ; 222/de ___inv_^_____
|
||||
.byte $00 ; 223/df _inv_UNDRLIN_
|
||||
.byte $00 ; 224/e0 _inv_diamond_
|
||||
.byte $09 ; 225/e1 ___inv_a_____
|
||||
.byte $09 ; 226/e2 ___inv_b_____
|
||||
.byte $09 ; 227/e3 ___inv_c_____
|
||||
.byte $09 ; 228/e4 ___inv_d_____
|
||||
.byte $09 ; 229/e5 ___inv_e_____
|
||||
.byte $09 ; 230/e6 ___inv_f_____
|
||||
.byte $01 ; 231/e7 ___inv_g_____
|
||||
.byte $01 ; 232/e8 ___inv_h_____
|
||||
.byte $01 ; 233/e9 ___inv_i_____
|
||||
.byte $01 ; 234/ea ___inv_j_____
|
||||
.byte $01 ; 235/eb ___inv_k_____
|
||||
.byte $01 ; 236/ec ___inv_l_____
|
||||
.byte $01 ; 237/ed ___inv_m_____
|
||||
.byte $01 ; 238/ee ___inv_n_____
|
||||
.byte $01 ; 239/ef ___inv_o_____
|
||||
.byte $01 ; 240/f0 ___inv_p_____
|
||||
.byte $01 ; 241/f1 ___inv_q_____
|
||||
.byte $01 ; 242/f2 ___inv_r_____
|
||||
.byte $01 ; 243/f3 ___inv_s_____
|
||||
.byte $01 ; 244/f4 ___inv_t_____
|
||||
.byte $01 ; 245/f5 ___inv_u_____
|
||||
.byte $01 ; 246/f6 ___inv_v_____
|
||||
.byte $01 ; 247/f7 ___inv_w_____
|
||||
.byte $01 ; 248/f8 ___inv_x_____
|
||||
.byte $01 ; 249/f9 ___inv_y_____
|
||||
.byte $01 ; 250/fa ___inv_z_____
|
||||
.byte $00 ; 251/fb __inv_spade__
|
||||
.byte $00 ; 252/fc __inv_v_line_
|
||||
.byte $10 ; 253/fd ____BEEP_____
|
||||
.byte $10 ; 254/fe ____DELBS____
|
||||
.byte $10 ; 255/ff ___INSERT____
|
||||
|
||||
.byte $00 ; 160/a0 ___________
|
||||
.byte $00 ; 161/a1 ___________
|
||||
.byte $00 ; 162/a2 ___________
|
||||
.byte $00 ; 163/a3 ___________
|
||||
.byte $00 ; 164/a4 ___________
|
||||
.byte $00 ; 165/a5 ___________
|
||||
.byte $00 ; 166/a6 ___________
|
||||
.byte $00 ; 167/a7 ___________
|
||||
.byte $00 ; 168/a8 ___________
|
||||
.byte $00 ; 169/a9 ___________
|
||||
.byte $00 ; 170/aa ___________
|
||||
.byte $00 ; 171/ab ___________
|
||||
.byte $00 ; 172/ac ___________
|
||||
.byte $00 ; 173/ad ___________
|
||||
.byte $00 ; 174/ae ___________
|
||||
.byte $00 ; 175/af ___________
|
||||
.byte $00 ; 176/b0 ___________
|
||||
.byte $00 ; 177/b1 ___________
|
||||
.byte $00 ; 178/b2 ___________
|
||||
.byte $00 ; 179/b3 ___________
|
||||
.byte $00 ; 180/b4 ___________
|
||||
.byte $00 ; 181/b5 ___________
|
||||
.byte $00 ; 182/b6 ___________
|
||||
.byte $00 ; 183/b7 ___________
|
||||
.byte $00 ; 184/b8 ___________
|
||||
.byte $00 ; 185/b9 ___________
|
||||
.byte $00 ; 186/ba ___________
|
||||
.byte $00 ; 187/bb ___________
|
||||
.byte $00 ; 188/bc ___________
|
||||
.byte $00 ; 189/bd ___________
|
||||
.byte $00 ; 190/be ___________
|
||||
.byte $00 ; 191/bf ___________
|
||||
|
||||
.byte $02 ; 192/c0 ___________
|
||||
.byte $02 ; 193/c1 ___________
|
||||
.byte $02 ; 194/c2 ___________
|
||||
.byte $02 ; 195/c3 ___________
|
||||
.byte $02 ; 196/c4 ___________
|
||||
.byte $02 ; 197/c5 ___________
|
||||
.byte $02 ; 198/c6 ___________
|
||||
.byte $02 ; 199/c7 ___________
|
||||
.byte $02 ; 200/c8 ___________
|
||||
.byte $02 ; 201/c9 ___________
|
||||
.byte $02 ; 202/ca ___________
|
||||
.byte $02 ; 203/cb ___________
|
||||
.byte $02 ; 204/cc ___________
|
||||
.byte $02 ; 205/cd ___________
|
||||
.byte $02 ; 206/ce ___________
|
||||
.byte $02 ; 207/cf ___________
|
||||
.byte $02 ; 208/d0 ___________
|
||||
.byte $02 ; 209/d1 ___________
|
||||
.byte $02 ; 210/d2 ___________
|
||||
.byte $02 ; 211/d3 ___________
|
||||
.byte $02 ; 212/d4 ___________
|
||||
.byte $02 ; 213/d5 ___________
|
||||
.byte $02 ; 214/d6 ___________
|
||||
.byte $02 ; 215/d7 ___________
|
||||
.byte $02 ; 216/d8 ___________
|
||||
.byte $02 ; 217/d9 ___________
|
||||
.byte $02 ; 218/da ___________
|
||||
.byte $02 ; 219/db ___________
|
||||
.byte $02 ; 220/dc ___________
|
||||
.byte $02 ; 221/dd ___________
|
||||
.byte $02 ; 222/de ___________
|
||||
.byte $00 ; 223/df ___________
|
||||
.byte $01 ; 224/e0 ___________
|
||||
.byte $01 ; 225/e1 ___________
|
||||
.byte $01 ; 226/e2 ___________
|
||||
.byte $01 ; 227/e3 ___________
|
||||
.byte $01 ; 228/e4 ___________
|
||||
.byte $01 ; 229/e5 ___________
|
||||
.byte $01 ; 230/e6 ___________
|
||||
.byte $01 ; 231/e7 ___________
|
||||
.byte $01 ; 232/e8 ___________
|
||||
.byte $01 ; 233/e9 ___________
|
||||
.byte $01 ; 234/ea ___________
|
||||
.byte $01 ; 235/eb ___________
|
||||
.byte $01 ; 236/ec ___________
|
||||
.byte $01 ; 237/ed ___________
|
||||
.byte $01 ; 238/ee ___________
|
||||
.byte $01 ; 239/ef ___________
|
||||
.byte $01 ; 240/f0 ___________
|
||||
.byte $01 ; 241/f1 ___________
|
||||
.byte $01 ; 242/f2 ___________
|
||||
.byte $01 ; 243/f3 ___________
|
||||
.byte $01 ; 244/f4 ___________
|
||||
.byte $01 ; 245/f5 ___________
|
||||
.byte $01 ; 246/f6 ___________
|
||||
.byte $01 ; 247/f7 ___________
|
||||
.byte $01 ; 248/f8 ___________
|
||||
.byte $01 ; 249/f9 ___________
|
||||
.byte $01 ; 250/fa ___________
|
||||
.byte $01 ; 251/fb ___________
|
||||
.byte $01 ; 252/fc ___________
|
||||
.byte $01 ; 253/fd ___________
|
||||
.byte $01 ; 254/fe ___________
|
||||
.byte $00 ; 255/ff ___________
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user