I'm no ASM expert, maybe someone can figure it out quicly here... I'd go for some joystick reading routine but I'm not sure.
Code: Select all
10 DATA#48
20 DATA#AD,#01,#03,#48,#AD,#03,#03,#48
30 DATA#A9,#C0,#8D,#03,#03
40 DATA#A9,#80,#8D,#0F,#03
50 DATA#AD,#0F,#03,#8D,#00,#04
60 DATA#A9,#40,#8D,#0F,#03
70 DATA#AD,#01,#03,#8D,#01,#04
80 DATA#68,#8D,#03,#03,#68,#8D,#01,#03,#68
90 DATA#4C,#03,#EC
100 FOR M=#402TO#431
110 READ DTA : POKE M, DTA
120 NEXT M
130 DOKE#0229,#402
140 PRINT PEEK (#400), PEEK (#401) : GOTO 140.
150 GOTO 140
![Wink ;)](./images/smilies/icon_wink.gif)