mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
14 lines
191 B
Lua
14 lines
191 B
Lua
%import textio
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
uword xx=$2000
|
|
ubyte yy=30
|
|
ubyte zz=9
|
|
; sys.memset(xx+200, yy*2, zz+yy)
|
|
|
|
@($d020) = (xx+(yy*zz)) as ubyte
|
|
}
|
|
}
|