Removed (pretty inconsistently used) tab chars from source code base.
This commit is contained in:
@@ -7,9 +7,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 "lynx.inc"
|
||||
|
||||
@@ -23,7 +23,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)
|
||||
@@ -68,7 +68,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.
|
||||
@@ -92,7 +92,7 @@ COUNT:
|
||||
; READ: Read a particular joystick passed in A.
|
||||
|
||||
READ:
|
||||
ldx #$00 ; Clear high byte
|
||||
ldx #$00 ; Clear high byte
|
||||
lda JOYSTICK ; Read joystick
|
||||
and #$F3 ; Mask relevant keys
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user