mirror of
https://github.com/irmen/prog8.git
synced 2024-08-28 13:28:56 +00:00
22 lines
338 B
Lua
22 lines
338 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
|
|
uword table = memory("table", 100, 0)
|
|
|
|
ubyte pos
|
|
for pos in 0 to 7 {
|
|
pokew(table + 64 + pos*2, ($000a-pos)*200)
|
|
}
|
|
|
|
for pos in 0 to 7 {
|
|
txt.print_uw(peekw(table+64+pos*2))
|
|
txt.nl()
|
|
}
|
|
}
|
|
}
|
|
|