mirror of
https://github.com/irmen/prog8.git
synced 2024-11-02 22:04:40 +00:00
28 lines
489 B
Lua
28 lines
489 B
Lua
%import c64utils
|
|
%zeropage basicsafe
|
|
|
|
~ main {
|
|
|
|
; @todo test memset/memcopy (there's a bug in memcopy?)
|
|
|
|
; @todo see looplabelproblem.p8
|
|
|
|
|
|
;ubyte x = rnd82() % 6 ; @todo fix compiler crash + always 0???
|
|
|
|
; if(X and c64scr.getcc(1,1)!=32) ... @todo the result value of the asmsub getcc is not put on the eval stack when used in an expression
|
|
|
|
sub start() {
|
|
|
|
|
|
}
|
|
|
|
sub drawNext(ubyte x) {
|
|
A=x
|
|
}
|
|
sub drawNextW(uword w) {
|
|
w++
|
|
}
|
|
|
|
}
|