mirror of
https://github.com/cc65/cc65.git
synced 2024-11-19 06:31:31 +00:00
24 lines
433 B
ArmAsm
24 lines
433 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 2003-12-30
|
||
|
;
|
||
|
; void __fastcall__ mouse_info (struct mouse_info* info);
|
||
|
; /* Return the state of the mouse buttons and the position of the mouse */
|
||
|
;
|
||
|
|
||
|
.import ptr1: zp
|
||
|
|
||
|
.include "mouse-kernel.inc"
|
||
|
|
||
|
.proc _mouse_info
|
||
|
|
||
|
sta ptr1
|
||
|
stx ptr1+1 ; Store info into ptr1
|
||
|
jmp mouse_info ; Call the driver
|
||
|
|
||
|
.endproc
|
||
|
|
||
|
|
||
|
|
||
|
|
||
|
|