2021-04-30 15:26:46 +00:00
|
|
|
constant byte SIZEOF_WORD = 2
|
2020-10-05 20:58:02 +00:00
|
|
|
void main()
|
|
|
|
byte~ main::$0 reg byte a 4.0
|
|
|
|
byte~ main::$1 reg byte a 4.0
|
|
|
|
byte~ main::$2 reg byte a 4.0
|
|
|
|
byte~ main::$3 reg byte a 4.0
|
2021-05-11 11:36:45 +00:00
|
|
|
constant byte* const main::SCREEN = (byte*) 1024+6*$28
|
2020-10-05 20:58:02 +00:00
|
|
|
word main::w1
|
|
|
|
word main::w1#0 w1 zp[2]:2 2.0
|
|
|
|
word main::w2
|
|
|
|
word main::w2#0 w2 zp[2]:4 2.0
|
2021-04-30 15:26:46 +00:00
|
|
|
constant word* main::words[3] = (word*) 1024
|
2019-06-10 14:39:25 +00:00
|
|
|
|
2019-10-12 09:40:36 +00:00
|
|
|
zp[2]:2 [ main::w1#0 ]
|
2019-06-18 23:23:27 +00:00
|
|
|
reg byte a [ main::$0 ]
|
|
|
|
reg byte a [ main::$1 ]
|
2019-10-12 09:40:36 +00:00
|
|
|
zp[2]:4 [ main::w2#0 ]
|
2019-06-10 14:39:25 +00:00
|
|
|
reg byte a [ main::$2 ]
|
|
|
|
reg byte a [ main::$3 ]
|