1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 04:30:10 +00:00
cc65/libsrc/mouse/mouse_move.s
2022-04-17 16:06:22 +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