]> git.sur5r.net Git - cc65/blobdiff - libsrc/vic20/joy/vic20-stdjoy.s
Removed (pretty inconsistently used) tab chars from source code base.
[cc65] / libsrc / vic20 / joy / vic20-stdjoy.s
index e352950cf37e3de3ad58dc9f95259bba81138afb..e49cd38f4f925ff5921f0246467eff723abed9a6 100644 (file)
@@ -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?