mirror of
https://github.com/irmen/prog8.git
synced 2024-09-10 09:54:32 +00:00
18 lines
273 B
Lua
18 lines
273 B
Lua
%import textio
|
|
%import gfx2
|
|
%zeropage basicsafe
|
|
|
|
main {
|
|
sub start() {
|
|
repeat {
|
|
sys.waitvsync()
|
|
ubyte joy = lsb(cx16.joystick_get2(0))
|
|
txt.print_ubbin(joy,1)
|
|
txt.nl()
|
|
}
|
|
|
|
repeat {
|
|
}
|
|
}
|
|
}
|