Working on loadable mouse drivers

git-svn-id: svn://svn.cc65.org/cc65/trunk@2953 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-03-21 22:12:06 +00:00
parent 3266110927
commit 3bfbaee6a6
10 changed files with 595 additions and 38 deletions

View File

@@ -6,7 +6,7 @@
;/* */
;/* */
;/* */
;/* (C) 2003 Ullrich von Bassewitz */
;/* (C) 2003-2004 Ullrich von Bassewitz */
;/* R<>merstra<72>e 52 */
;/* D-70794 Filderstadt */
;/* EMail: uz@cc65.org */
@@ -75,10 +75,22 @@
.byte
CSHOW .addr
.byte
CMOVE .addr
CMOVEX .addr
.byte
CMOVEY .addr
.endstruct
.endstruct
;------------------------------------------------------------------------------
; The mouse callback structure
.struct MOUSE_CALLBACKS
HIDE .addr ; Hide the mouse cursor
SHOW .addr ; Show the mouse cursor
MOVEX .addr ; Move the mouse cursor
MOVEY .addr ; Dito for Y
.endstruct
;------------------------------------------------------------------------------
; The mouse API version, stored in MOUSE_HDR::VERSION
@@ -113,7 +125,6 @@ MOUSE_BTN_RIGHT = $01
;------------------------------------------------------------------------------
; C callable functions
.global _mouse_set_callbacks
.global _mouse_load_driver
.global _mouse_unload
.global _mouse_install