mirror of
https://github.com/irmen/prog8.git
synced 2024-10-17 10:24:55 +00:00
25 lines
448 B
Lua
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')
|
|
|
|
}
|
|
}
|