.include "lynx.inc"
.macpack generic
+ .macpack module
; ------------------------------------------------------------------------
; Header. Includes jump table
-.segment "JUMPTABLE"
+ module_header _lynx_stdjoy_joy
; Driver signature
.addr $0000
-; Button state masks (8 values)
-
-joy_mask:
- .byte $80 ; JOY_UP
- .byte $40 ; JOY_DOWN
- .byte $20 ; JOY_LEFT
- .byte $10 ; JOY_RIGHT
- .byte $01 ; JOY_FIRE
- .byte $02 ; JOY_FIRE1
- .byte $00 ;
- .byte $00 ;
-
; Jump table.
.addr INSTALL