mirror of
https://github.com/irmen/prog8.git
synced 2024-07-30 01:29:08 +00:00
29 lines
492 B
Lua
29 lines
492 B
Lua
%import c64lib
|
|
%import c64utils
|
|
%import c64flt
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
|
|
sub start() {
|
|
|
|
@($d020) += @($d020) ; TODO fix compiler hang
|
|
|
|
ubyte A
|
|
|
|
A = 44+A
|
|
|
|
; 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')
|
|
|
|
}
|
|
}
|