prog8/examples/test.p8

20 lines
273 B
Plaintext
Raw Normal View History

%import textio
2021-10-30 13:15:11 +00:00
main {
2021-12-17 19:21:14 +00:00
ubyte @shared joy_info
sub start() {
2021-12-17 19:21:14 +00:00
void pushing_start()
}
sub pushing_start() -> ubyte {
joy_info++
return not c64.READST()
}
2021-12-17 19:21:14 +00:00
sub derp(ubyte aa) -> ubyte {
aa++
return aa*2
}
}