.include "joy-kernel.inc"
.include "joy-error.inc"
.include "cbm510.inc"
-
+ .include "extzp.inc"
+
.macpack generic
; Get the direction bits
- ldy #CIA_PRB
+ ldy #CIA::PRB
lda (cia2),y ; Read joystick inputs
sta tmp1
; Get the fire bits
- ldy #CIA_PRA
+ ldy #CIA::PRA
lda (cia2),y
; Make the result value