Returns the joystick values.
Entry Conditions
A
path number
B
SS.Joy ($13)
X
joystick number
0 = right joystick
1 = left joystick
Exit Conditions
A
fire button down
0 = none
1 = Button 1
2 = Button 2
3 = Button 1 and Button 2
X
selected joystick x value (0-63)
Y
selected joystick y value (0-63)
Note: Under Level 1, the following values are returned by this call:
A
fire button status
$FF = fire button is on
$00 = fire button is off