prog8/examples/test.p8

26 lines
467 B
Plaintext
Raw Normal View History

%import cx16textio
;%import c64flt
;%option enable_floats
; %zeropage kernalsafe
; TODO add a directive to set the compiler target
2020-08-27 17:47:50 +00:00
main {
2020-08-27 17:47:50 +00:00
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
2020-08-27 17:47:50 +00:00
}
2020-08-27 17:47:50 +00:00
}