Removed (pretty inconsistently used) tab chars from source code base.
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
; Using code from Steve Schmidtke
|
||||
;
|
||||
|
||||
.include "zeropage.inc"
|
||||
.include "zeropage.inc"
|
||||
|
||||
.include "joy-kernel.inc"
|
||||
.include "joy-kernel.inc"
|
||||
.include "joy-error.inc"
|
||||
.include "vic20.inc"
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
; Driver signature
|
||||
|
||||
.byte $6A, $6F, $79 ; "joy"
|
||||
.byte $6A, $6F, $79 ; "joy"
|
||||
.byte JOY_API_VERSION ; Driver API version number
|
||||
|
||||
; Button state masks (8 values)
|
||||
@@ -66,7 +66,7 @@ JOY_COUNT = 1 ; Number of joysticks we support
|
||||
INSTALL:
|
||||
lda #<JOY_ERR_OK
|
||||
ldx #>JOY_ERR_OK
|
||||
; rts ; Run into UNINSTALL instead
|
||||
; rts ; Run into UNINSTALL instead
|
||||
|
||||
; ------------------------------------------------------------------------
|
||||
; UNINSTALL routine. Is called before the driver is removed from memory.
|
||||
@@ -91,7 +91,7 @@ COUNT:
|
||||
; The current implemenation will ignore the joystick number because we do only
|
||||
; have one joystick
|
||||
|
||||
READ: lda #$7F ; mask for VIA2 JOYBIT: sw3
|
||||
READ: lda #$7F ; mask for VIA2 JOYBIT: sw3
|
||||
ldx #$C3 ; mask for VIA1 JOYBITS: sw0,sw1,sw2,sw4
|
||||
sei ; necessary?
|
||||
|
||||
|
||||
Reference in New Issue
Block a user