prog8/examples/test.p8
2020-08-20 21:48:15 +02:00

25 lines
448 B
Lua

%import c64lib
%import c64utils
%import c64flt
%zeropage basicsafe
main {
sub start() {
;@($d020) += @($d020) ; TODO fix compiler hang
ubyte A = 10
@($c00a) = $4a
@($c000+A) ++ ; TODO implement this
c64scr.print_ubhex(@($c00a), true)
c64.CHROUT('\n')
@($c000+A) -- ; TODO implement this
c64scr.print_ubhex(@($c00a), true)
c64.CHROUT('\n')
}
}