Changed literal zeroes of the style "#>0" into the style "#>$0000".
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
;
|
||||
; This driver reads only the main button on the 184-C.
|
||||
;
|
||||
; 2013-09-05, Greg King
|
||||
; 2014-09-10, Greg King
|
||||
;
|
||||
|
||||
.include "zeropage.inc"
|
||||
@@ -103,6 +103,8 @@ OldPenY: .res 1
|
||||
; Default Inkwell calibration.
|
||||
; The first number is the width of the left border;
|
||||
; the second number is the actual calibration value.
|
||||
; See a comment below (at "Calculate the new X co-ordinate")
|
||||
; for the reason for the third number.
|
||||
|
||||
XOffset: .byte (24 + 24) / 2 ; x-offset
|
||||
|
||||
@@ -280,7 +282,7 @@ BUTTONS:
|
||||
asl a ; ... to fire-button bit
|
||||
eor #MOUSE_BTN_LEFT
|
||||
and #MOUSE_BTN_LEFT
|
||||
ldx #>0
|
||||
ldx #>$0000
|
||||
rts
|
||||
|
||||
;----------------------------------------------------------------------------
|
||||
@@ -362,7 +364,7 @@ IRQ: jsr CPREP
|
||||
|
||||
sub #50
|
||||
tay ; Remember low byte
|
||||
ldx #>0
|
||||
ldx #>$0000
|
||||
|
||||
; Limit the Y co-ordinate to the bounding box.
|
||||
|
||||
@@ -408,7 +410,7 @@ IRQ: jsr CPREP
|
||||
|
||||
asl a
|
||||
tay ; Remember low byte
|
||||
lda #>0
|
||||
lda #>$0000
|
||||
rol a
|
||||
tax ; Remember high byte
|
||||
|
||||
|
||||
Reference in New Issue
Block a user