1
0
mirror of https://github.com/cc65/cc65.git synced 2025-01-27 09:33:42 +00:00

New ioctl function

git-svn-id: svn://svn.cc65.org/cc65/trunk@2858 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-12-30 08:18:40 +00:00
parent 92d5130220
commit fb17cf5e0f

View File

@ -45,6 +45,7 @@
MOUSE_ERR_CANNOT_LOAD ; Error loading driver MOUSE_ERR_CANNOT_LOAD ; Error loading driver
MOUSE_ERR_INV_DRIVER ; Invalid driver MOUSE_ERR_INV_DRIVER ; Invalid driver
MOUSE_ERR_NO_DEVICE ; Mouse hardware not found MOUSE_ERR_NO_DEVICE ; Mouse hardware not found
MOUSE_ERR_INV_IOCTL ; Invalid ioctl code
.endenum .endenum
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
@ -63,6 +64,8 @@
BUTTONS .addr BUTTONS .addr
POS .addr POS .addr
INFO .addr INFO .addr
IOCTL .addr
IRQ .addr
.endstruct .endstruct
.endstruct .endstruct
@ -110,7 +113,8 @@ MOUSE_BTN_RIGHT = $01
.global _mouse_move .global _mouse_move
.global _mouse_buttons .global _mouse_buttons
.global _mouse_pos .global _mouse_pos
.global _mouse_info .global _mouse_info
.global _mouse_ioctl
;------------------------------------------------------------------------------ ;------------------------------------------------------------------------------
; Driver entry points ; Driver entry points
@ -123,6 +127,7 @@ MOUSE_BTN_RIGHT = $01
.global mouse_move .global mouse_move
.global mouse_buttons .global mouse_buttons
.global mouse_pos .global mouse_pos
.global mouse_info .global mouse_info
.global mouse_ioctl