mirror of
https://github.com/cc65/cc65.git
synced 2025-01-03 16:33:19 +00:00
Working...
git-svn-id: svn://svn.cc65.org/cc65/trunk@2899 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
18a2904921
commit
703cde460f
@ -52,10 +52,10 @@
|
||||
; The driver header
|
||||
|
||||
.struct MOUSE_HDR
|
||||
ID .byte 3 ; Contains 0x6D, 0x6F, 0x75 ("mou")
|
||||
VERSION .byte 1 ; Interface version
|
||||
JUMPTAB .struct
|
||||
INSTALL .addr
|
||||
ID .byte 3 ; Contains 0x6D, 0x6F, 0x75 ("mou")
|
||||
VERSION .byte 1 ; Interface version
|
||||
JUMPTAB .struct
|
||||
INSTALL .addr
|
||||
UNINSTALL .addr
|
||||
HIDE .addr
|
||||
SHOW .addr
|
||||
@ -65,8 +65,18 @@
|
||||
POS .addr
|
||||
INFO .addr
|
||||
IOCTL .addr
|
||||
IRQ .addr
|
||||
IRQ .addr
|
||||
.endstruct
|
||||
XPOS .word ; Mouse X position
|
||||
YPOS .word ; Mouse Y position
|
||||
CALLBACKS .struct ; Jump instructions
|
||||
.byte ; JMP opcode
|
||||
CHIDE .addr ; Jump address
|
||||
.byte
|
||||
CSHOW .addr
|
||||
.byte
|
||||
CMOVE .addr
|
||||
.endstruct
|
||||
.endstruct
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
@ -97,7 +107,8 @@ MOUSE_BTN_RIGHT = $01
|
||||
;------------------------------------------------------------------------------
|
||||
; Variables
|
||||
|
||||
.global _mouse_drv ; Pointer to driver
|
||||
.global _mouse_drv ; Pointer to driver
|
||||
.global _mouse_hidden ; Counter, 0 = mouse is visible
|
||||
|
||||
;------------------------------------------------------------------------------
|
||||
; C callable functions
|
||||
|
Loading…
Reference in New Issue
Block a user