Topic : The ATARI Compendium
Author : Scott Sanders / JAY Software
Version : 1.25 (20/6/2003)
Subject : Documentation
Nodes : 1117
Index Size : 32614
HCP-Version : 6
Compiled on : Atari
@charset : UTF-8
@lang : en
@default :
@help : %About
@options : +g -i -t4 +y +z
@width : 100
View Ref-Filevsc_form()graf_mouse()$A00B - Transform Mouse Line-AFunction Change the mouse's form.
Parameters On entry INTIN should point to a structure containing the
new mouse form data. The format of the structure is defined
under the entry for vsc_form().
Example ; Change the mouse form to the data held in
Binding ; the newmouse structure.
move.b -339(a5),d0 ; Save old value
move.b #0,-339(a5) ; Disable mouse interrupts
move.l #newmouse,8(a5) ; INTIN .dc.w $A00B
move.b d0,-339(a5) ; Restore MOUSE_FLAGComments The old data can be saved from the information stored in the
Line-A variable table at offset -356. To avoid 'mouse
droppings' you should disable mouse interrupts by setting
MOUSE_FLAG (offset -339) to 0 and restoring it when done.
See Also vsc_form(), graf_mouse()