prog8/examples/test.p8

28 lines
453 B
Plaintext
Raw Normal View History

%import c64utils
%zeropage basicsafe
2020-07-26 22:32:59 +00:00
main {
uword glob=11222
2020-07-26 21:32:20 +00:00
sub start() {
uword lines = 1
uword score = $1000
2020-08-18 13:16:56 +00:00
2020-08-24 00:56:22 +00:00
ubyte x
ubyte y
c64scr.print_uw(lines)
c64.CHROUT('\n')
lines=glob
c64scr.print_uw(lines)
c64.CHROUT('\n')
2020-08-24 00:56:22 +00:00
lines = mkword(x, y)
c64scr.print_uw(lines)
2020-08-23 22:26:26 +00:00
c64.CHROUT('\n')
c64scr.print_uw(score)
2020-08-23 16:32:53 +00:00
c64.CHROUT('\n')
2020-08-23 22:26:26 +00:00
}
}