mirror of
https://github.com/irmen/prog8.git
synced 2024-11-20 03:32:05 +00:00
25 lines
429 B
Lua
25 lines
429 B
Lua
%target cx16
|
|
%import cx16textio
|
|
;%import c64flt
|
|
;%option enable_floats
|
|
; %zeropage kernalsafe
|
|
|
|
|
|
main {
|
|
|
|
|
|
sub start() {
|
|
|
|
c64.CHROUT('*')
|
|
|
|
;asmsub clear_screen (ubyte char @ A, ubyte color @ Y) clobbers(A) { ...}
|
|
; TODO dont cause name conflict if we define sub or sub with param 'color' or even a var 'color' later.
|
|
|
|
; sub color(...) {}
|
|
; sub other(ubyte color) {} ; TODO don't cause name conflict
|
|
|
|
|
|
}
|
|
|
|
}
|