From: cuz Date: Tue, 30 Dec 2003 08:18:40 +0000 (+0000) Subject: New ioctl function X-Git-Tag: V2.12.0~960 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=fb17cf5e0fd86595b3544c69f5038f55c6d58fdc;p=cc65 New ioctl function git-svn-id: svn://svn.cc65.org/cc65/trunk@2858 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/asminc/mouse-kernel.inc b/asminc/mouse-kernel.inc index 006f3e475..60cd6937a 100644 --- a/asminc/mouse-kernel.inc +++ b/asminc/mouse-kernel.inc @@ -45,6 +45,7 @@ MOUSE_ERR_CANNOT_LOAD ; Error loading driver MOUSE_ERR_INV_DRIVER ; Invalid driver MOUSE_ERR_NO_DEVICE ; Mouse hardware not found + MOUSE_ERR_INV_IOCTL ; Invalid ioctl code .endenum ;------------------------------------------------------------------------------ @@ -63,6 +64,8 @@ BUTTONS .addr POS .addr INFO .addr + IOCTL .addr + IRQ .addr .endstruct .endstruct @@ -110,7 +113,8 @@ MOUSE_BTN_RIGHT = $01 .global _mouse_move .global _mouse_buttons .global _mouse_pos - .global _mouse_info + .global _mouse_info + .global _mouse_ioctl ;------------------------------------------------------------------------------ ; Driver entry points @@ -123,6 +127,7 @@ MOUSE_BTN_RIGHT = $01 .global mouse_move .global mouse_buttons .global mouse_pos - .global mouse_info + .global mouse_info + .global mouse_ioctl