From fb17cf5e0fd86595b3544c69f5038f55c6d58fdc Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 30 Dec 2003 08:18:40 +0000 Subject: [PATCH] New ioctl function git-svn-id: svn://svn.cc65.org/cc65/trunk@2858 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- asminc/mouse-kernel.inc | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) 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 -- 2.39.5