1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-18 00:07:21 +00:00
cc65/libsrc/mouse/mouse_move.s

28 lines
631 B
ArmAsm
Raw Normal View History

;
; Ullrich von Bassewitz, 2003-12-30
;
; void __fastcall__ mouse_move (int x, int y);
; /* Set the mouse cursor to the given position. If a mouse cursor is defined
; * and currently visible, the mouse cursor is also moved.
; * NOTE: This function does not check if the given position is valid and
; * inside the bounding box.
; */
;
.import incsp2
.import ptr1: zp
.include "mouse-kernel.inc"
.proc _mouse_move
jsr mouse_move ; Call the driver
jmp incsp2 ; Drop the parameter
.endproc