Joystick Tester (STXDIRCT.BAS)
Joystick Tester by David Noor, 11
Description
Joystick Tester by David Noor, 11
From the Antic disk of January 1986 (Vol. 4 No. 9).
From the Antic Software Archive at atarimagazines.com. The program remains the property of its author and publisher.
What is in this file
Atari BASIC program · 689 bytes
- Dialect
- Atari BASIC
- Lines
- 13
- Variables
BASIC listing (13 lines)
10 REM JOYSTICK TEST
20 GRAPHICS 0:REM BY DAVID NOOR
30 IF STICK(0)=15 AND STRIG(0)<>0 THEN POSITION 17,12:? "NOTHING"
40 IF STICK(0)=14 THEN POSITION 16,12:? "JOYSTIK^"
50 IF STICK(0)=6 THEN POSITION 16,12:? "JOYSTIK◣"
60 IF STICK(0)=7 THEN POSITION 16,12:? "JOYSTIK>"
70 IF STICK(0)=5 THEN POSITION 16,12:? "JOYSTIK◢"
80 IF STICK(0)=13 THEN POSITION 16,12:? "JOYSTIK♥"
90 IF STICK(0)=9 THEN POSITION 16,12:? "JOYSTIK◣"
100 IF STICK(0)=11 THEN POSITION 16,12:? "JOYSTIK<"
110 IF STICK(0)=10 THEN POSITION 16,12:? "JOYSTIK◢"
120 IF STRIG(0)=0 THEN POSITION 17,12:? "TRIGGER"
130 POKE 752,2:? "↰":GOTO 30
