home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
c't freeware shareware 1997
/
CT_SW_97.ISO
/
pc
/
software
/
betriebs
/
win95
/
pc64w214.exe
/
JOYSTICK.C64
/
joysticks
(
.txt
)
Wrap
Commodore BASIC
|
1995-09-30
|
382b
|
21 lines
9 PRINT
10 PRINT "USE WHITE ARROWS AND RIGHT CTRL"
11 PRINT
15 PRINT "PRESS <ALT+F10> TO SWAP"
20 PRINT
100 POKE 56333,127
110 POKE 56322,0
120 X=PEEK(56321):GOSUB 190
130 PRINT " ";
140 X=PEEK(56320):GOSUB 190
150 PRINT CHR$(145)
160 POKE 56322,255
170 POKE 56333,129
180 GOTO 100
190 PRINT CHR$(45-((X AND 1)=0)*40);
191 PRINT CHR$(45-((X AND 2)=0)*23);
192 PRINT CHR$(45-((X AND 4)=0)*31);
193 PRINT CHR$(45-((X AND 8)=0)*37);
194 PRINT CHR$(45-((X AND 16)=0)*25);
195 RETURN