prog8/examples/test.p8

24 lines
392 B
Plaintext
Raw Normal View History

%import textio
%import diskio
2020-12-22 12:29:16 +00:00
%import floats
%import graphics
%import test_stack
%zeropage basicsafe
2020-12-08 00:02:38 +00:00
%option no_sysinit
main {
2020-12-23 04:04:19 +00:00
; TODO asmsub version generates LARGER CODE , why is this?
sub vpoke(ubyte bank, uword address, ubyte value) {
}
asmsub vpokeasm(uword address @R0, ubyte bank @A, ubyte value @Y) {
}
sub start () {
2020-12-23 01:53:30 +00:00
txt.print("hello\n")
}
2020-08-27 17:47:50 +00:00
}