]> git.sur5r.net Git - cc65/blobdiff - asminc/mouse-kernel.inc
labs() is also imaxabs().
[cc65] / asminc / mouse-kernel.inc
index a736b0101876b479a240f95b2998379822806f3b..9e8662895df07f4b57857c29f1a3e8b7f84752fa 100644 (file)
@@ -102,6 +102,8 @@ MOUSE_API_VERSION       = $01
 ; Note: If neither of MOUSE_FLAG_XXX_IRQ is set, no interrupts are supplied
 ; to the driver. If one of the bits is set, the interrupt vector MUST be
 ; valid.
+; Beware: Some of the bits are tested using the BIT instruction, so do not
+; change the values without checking the code!
 
 MOUSE_FLAG_EARLY_IRQ    = $40           ; Enable IRQ *before* calling INSTALL
 MOUSE_FLAG_LATE_IRQ     = $80           ; Enable IRQ *after* calling INSTALL
@@ -149,8 +151,10 @@ MOUSE_BTN_RIGHT         = $01
         .global _mouse_info
         .global _mouse_ioctl
 
+       .global _mouse_clear_ptr
+
 ;------------------------------------------------------------------------------
-; Driver entry points
+; Driver entry points (asm callable)
 
         .global mouse_install
         .global mouse_uninstall