prog8/examples/test.p8

20 lines
363 B
Plaintext
Raw Normal View History

2019-02-12 20:53:57 +00:00
%import c64utils
%zeropage basicsafe
2019-01-26 21:46:01 +00:00
~ main {
2019-02-25 00:08:10 +00:00
; @todo see problem in looplabelproblem.p8
2019-03-07 22:29:23 +00:00
; @todo when a for loop is executed multiple times, is the loop var correct? (via goto start)
2019-03-07 01:28:01 +00:00
2019-02-21 00:31:33 +00:00
sub start() {
2019-03-07 22:29:23 +00:00
waitjoy:
ubyte key=c64.GETIN()
if_z goto waitjoy
c64scr.print_ub(key)
c64.CHROUT('\n')
2019-03-07 22:29:23 +00:00
goto waitjoy
}
}