mirror of
https://github.com/cc65/cc65.git
synced 2024-11-03 10:07:02 +00:00
24 lines
394 B
ArmAsm
24 lines
394 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-12-30
|
||
|
;
|
||
|
; void __fastcall__ mouse_pos (struct mouse_pos* pos);
|
||
|
; /* Return the current mouse position */
|
||
|
;
|
||
|
|
||
|
.import ptr1: zp
|
||
|
|
||
|
.include "mouse-kernel.inc"
|
||
|
|
||
|
.proc _mouse_pos
|
||
|
|
||
|
sta ptr1
|
||
|
stx ptr1+1 ; Store pos into ptr1
|
||
|
jmp mouse_pos ; Call the driver
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|