2022-05-22 15:34:08 +00:00
|
|
|
%import textio
|
2022-07-31 11:38:00 +00:00
|
|
|
%zeropage basicsafe
|
2022-03-13 11:52:12 +00:00
|
|
|
|
2022-08-12 22:14:19 +00:00
|
|
|
|
2022-07-08 19:50:32 +00:00
|
|
|
main {
|
2022-08-07 11:45:03 +00:00
|
|
|
sub start() {
|
2022-08-11 22:46:38 +00:00
|
|
|
|
2022-08-21 17:20:56 +00:00
|
|
|
uword slab1 = memory("slab 1", 2000, 0)
|
|
|
|
uword slab2 = memory("slab 1", 2000, 0)
|
|
|
|
uword slab3 = memory("slab other", 2000, 64)
|
|
|
|
|
|
|
|
txt.print_uwhex(slab1, true)
|
|
|
|
txt.print_uwhex(slab2, true)
|
|
|
|
txt.print_uwhex(slab3, true)
|
|
|
|
|
|
|
|
|
2022-08-14 10:34:00 +00:00
|
|
|
ubyte rasterCount = 231
|
2022-08-07 22:09:18 +00:00
|
|
|
|
2022-08-14 10:34:00 +00:00
|
|
|
if rasterCount >= 230
|
|
|
|
txt.print("y1")
|
|
|
|
|
|
|
|
if rasterCount ^ $80 >= 230
|
|
|
|
txt.print("y2")
|
|
|
|
|
|
|
|
if (rasterCount ^ $80) >= 230
|
|
|
|
txt.print("y3")
|
2022-08-12 22:14:19 +00:00
|
|
|
|
|
|
|
}
|
2022-07-14 17:25:08 +00:00
|
|
|
}
|