mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +00:00
Merge pull request #91 from greg-king5/bound-box
Corrected the default upper limits of some mouse drivers' bounding box.
This commit is contained in:
commit
01a96ece85
@ -3,7 +3,7 @@
|
|||||||
; the Commodore 1351 mouse users guide.
|
; the Commodore 1351 mouse users guide.
|
||||||
;
|
;
|
||||||
; 2009-09-26, Ullrich von Bassewitz
|
; 2009-09-26, Ullrich von Bassewitz
|
||||||
; 2014-03-15, Greg King
|
; 2014-03-17, Greg King
|
||||||
;
|
;
|
||||||
|
|
||||||
.include "zeropage.inc"
|
.include "zeropage.inc"
|
||||||
@ -97,8 +97,8 @@ INIT_save: .res 1
|
|||||||
.word SCREEN_WIDTH/2 ; XPos
|
.word SCREEN_WIDTH/2 ; XPos
|
||||||
.word 0 ; XMin
|
.word 0 ; XMin
|
||||||
.word 0 ; YMin
|
.word 0 ; YMin
|
||||||
.word SCREEN_WIDTH ; XMax
|
.word SCREEN_WIDTH - 1 ; XMax
|
||||||
.word SCREEN_HEIGHT ; YMax
|
.word SCREEN_HEIGHT - 1 ; YMax
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
.code
|
.code
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; Driver for a "joystick mouse".
|
; Driver for a "joystick mouse".
|
||||||
;
|
;
|
||||||
; 2009-09-26, Ullrich von Bassewitz
|
; 2009-09-26, Ullrich von Bassewitz
|
||||||
; 2014-03-15, Greg King
|
; 2014-03-17, Greg King
|
||||||
;
|
;
|
||||||
|
|
||||||
.include "zeropage.inc"
|
.include "zeropage.inc"
|
||||||
@ -102,8 +102,8 @@ Temp: .res 1
|
|||||||
.word SCREEN_WIDTH/2 ; XPos
|
.word SCREEN_WIDTH/2 ; XPos
|
||||||
.word 0 ; XMin
|
.word 0 ; XMin
|
||||||
.word 0 ; YMin
|
.word 0 ; YMin
|
||||||
.word SCREEN_WIDTH ; XMax
|
.word SCREEN_WIDTH - 1 ; XMax
|
||||||
.word SCREEN_HEIGHT ; YMax
|
.word SCREEN_HEIGHT - 1 ; YMax
|
||||||
.byte 0 ; Buttons
|
.byte 0 ; Buttons
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
;
|
;
|
||||||
; 2006-08-20, Stefan Haubenthal
|
; 2006-08-20, Stefan Haubenthal
|
||||||
; 2009-09-26, Ullrich von Bassewitz
|
; 2009-09-26, Ullrich von Bassewitz
|
||||||
; 2014-03-15, Greg King
|
; 2014-03-17, Greg King
|
||||||
;
|
;
|
||||||
|
|
||||||
.include "zeropage.inc"
|
.include "zeropage.inc"
|
||||||
@ -99,8 +99,8 @@ Temp: .res 1
|
|||||||
.word SCREEN_WIDTH/2 ; XPos
|
.word SCREEN_WIDTH/2 ; XPos
|
||||||
.word 0 ; XMin
|
.word 0 ; XMin
|
||||||
.word 0 ; YMin
|
.word 0 ; YMin
|
||||||
.word SCREEN_WIDTH ; XMax
|
.word SCREEN_WIDTH - 1 ; XMax
|
||||||
.word SCREEN_HEIGHT ; YMax
|
.word SCREEN_HEIGHT - 1 ; YMax
|
||||||
.byte 0 ; Buttons
|
.byte 0 ; Buttons
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
; Driver for a "joystick mouse".
|
; Driver for a "joystick mouse".
|
||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 2004-03-29, 2009-09-26
|
; Ullrich von Bassewitz, 2004-03-29, 2009-09-26
|
||||||
; 2010-02-08, Greg King
|
; 2014-03-17, Greg King
|
||||||
;
|
;
|
||||||
; The driver prevents the keyboard from interfering by changing the
|
; The driver prevents the keyboard from interfering by changing the
|
||||||
; keyboard's output port into an input port while the driver reads its
|
; keyboard's output port into an input port while the driver reads its
|
||||||
@ -118,8 +118,8 @@ Temp: .res 1
|
|||||||
.word SCREEN_WIDTH/2 ; XPos
|
.word SCREEN_WIDTH/2 ; XPos
|
||||||
.word 0 ; XMin
|
.word 0 ; XMin
|
||||||
.word 0 ; YMin
|
.word 0 ; YMin
|
||||||
.word SCREEN_WIDTH ; XMax
|
.word SCREEN_WIDTH - 1 ; XMax
|
||||||
.word SCREEN_HEIGHT ; YMax
|
.word SCREEN_HEIGHT - 1 ; YMax
|
||||||
.byte 0 ; Buttons
|
.byte 0 ; Buttons
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
;
|
;
|
||||||
; Driver for a potentiometer "mouse" e.g. Koala Pad
|
; Driver for a potentiometer "mouse", e.g. Koala Pad
|
||||||
;
|
;
|
||||||
; Ullrich von Bassewitz, 2004-03-29, 2009-09-26
|
; 2006-08-20, Stefan Haubenthal
|
||||||
; Stefan Haubenthal, 2006-08-20
|
; 2009-09-26, Ullrich von Bassewitz
|
||||||
|
; 2014-03-17, Greg King
|
||||||
;
|
;
|
||||||
|
|
||||||
.include "zeropage.inc"
|
.include "zeropage.inc"
|
||||||
@ -96,8 +97,8 @@ Temp: .res 1
|
|||||||
.word SCREEN_WIDTH/2 ; XPos
|
.word SCREEN_WIDTH/2 ; XPos
|
||||||
.word 0 ; XMin
|
.word 0 ; XMin
|
||||||
.word 0 ; YMin
|
.word 0 ; YMin
|
||||||
.word SCREEN_WIDTH ; XMax
|
.word SCREEN_WIDTH - 1 ; XMax
|
||||||
.word SCREEN_HEIGHT ; YMax
|
.word SCREEN_HEIGHT - 1 ; YMax
|
||||||
.byte 0 ; Buttons
|
.byte 0 ; Buttons
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user