mirror of
https://github.com/RevCurtisP/C02.git
synced 2024-11-29 01:49:19 +00:00
16 lines
396 B
Plaintext
16 lines
396 B
Plaintext
|
;Joystick Constants and Functions
|
||
|
;Non-Functional Skeleton for Systems with No Joystick Support
|
||
|
|
||
|
JYSTKS EQU 0 ;Number of Joysticks
|
||
|
|
||
|
;Joystick Bit Masks
|
||
|
JOYUP EQU $00 ;N/A - Up
|
||
|
JOYDN EQU $00 ;N/A - Down
|
||
|
JOYLF EQU $00 ;N/A - Left
|
||
|
JOYRT EQU $00 ;N/A - Right
|
||
|
JOYB0 EQU $00 ;N/A - Button
|
||
|
|
||
|
;Read Joystick
|
||
|
JOYSTK: LDA #255 ;Return Error Code
|
||
|
RTS
|