2023-05-15 21:01:43 +00:00
|
|
|
%import textio
|
2023-04-29 15:14:50 +00:00
|
|
|
%zeropage basicsafe
|
2023-04-10 14:59:08 +00:00
|
|
|
|
2022-10-22 11:33:35 +00:00
|
|
|
main {
|
2023-05-07 21:49:02 +00:00
|
|
|
|
2023-05-07 23:03:54 +00:00
|
|
|
sub start() {
|
2023-05-14 14:48:48 +00:00
|
|
|
|
2023-05-20 15:42:35 +00:00
|
|
|
uword table = memory("table", 100, 0)
|
|
|
|
|
|
|
|
ubyte pos
|
|
|
|
for pos in 0 to 7 {
|
2023-05-21 13:03:33 +00:00
|
|
|
pokew(table + 64 + pos*2, ($000a-pos)*200)
|
2023-05-20 15:42:35 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
for pos in 0 to 7 {
|
|
|
|
txt.print_uw(peekw(table+64+pos*2))
|
|
|
|
txt.nl()
|
|
|
|
}
|
2023-03-18 23:24:05 +00:00
|
|
|
}
|
2022-12-04 15:02:58 +00:00
|
|
|
}
|
2023-04-29 15:14:50 +00:00
|
|
|
|