1
0
mirror of https://github.com/cc65/cc65.git synced 2024-10-31 20:06:11 +00:00
cc65/libsrc/mouse/mouse_move.s
2022-07-21 03:20:44 +02:00

28 lines
602 B
ArmAsm

;
; 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