mirror of
https://github.com/irmen/prog8.git
synced 2024-09-07 19:54:26 +00:00
29 lines
636 B
Lua
29 lines
636 B
Lua
%zeropage basicsafe
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
|
|
ubyte[81] array2 = 20 to 100
|
|
word[] array3 = 3000 to 3100
|
|
|
|
c64scr.print_uw(len(array2))
|
|
c64.CHROUT('\n')
|
|
c64scr.print_uw(len(array3))
|
|
c64.CHROUT('\n')
|
|
c64.CHROUT('\n')
|
|
c64scr.print_ub(array2[0])
|
|
c64.CHROUT(',')
|
|
c64scr.print_ub(array2[1])
|
|
c64.CHROUT(',')
|
|
c64scr.print_ub(array2[2])
|
|
c64.CHROUT('\n')
|
|
c64scr.print_w(array3[0])
|
|
c64.CHROUT(',')
|
|
c64scr.print_w(array3[1])
|
|
c64.CHROUT(',')
|
|
c64scr.print_w(array3[2])
|
|
c64.CHROUT('\n')
|
|
}
|
|
}
|