mirror of
https://github.com/irmen/prog8.git
synced 2024-11-27 03:50:27 +00:00
18 lines
302 B
Lua
18 lines
302 B
Lua
%import c64utils
|
|
|
|
~ main {
|
|
|
|
sub start() {
|
|
ubyte i=0
|
|
A= @($d020)
|
|
A= @($d020+i)
|
|
@($d020) = 0
|
|
@($d020+i) = 0
|
|
@($d020+i) = 1
|
|
@($d020+i) = 2
|
|
@($d020) = @($d020+i) + 1
|
|
@($d020+i) = @($d020+i) + 1
|
|
c64scr.print_ub(X)
|
|
}
|
|
}
|