]> git.sur5r.net Git - cc65/blob - libsrc/mouse/mouse_info.s
Added library reference mouse_libref to MOU interface.
[cc65] / libsrc / mouse / mouse_info.s
1 ;
2 ; Ullrich von Bassewitz, 2003-12-30
3 ;
4 ; void __fastcall__ mouse_info (struct mouse_info* info);
5 ; /* Return the state of the mouse buttons and the position of the mouse */
6 ;
7
8         .import         ptr1: zp
9
10         .include        "mouse-kernel.inc"
11
12 .proc   _mouse_info
13
14         sta     ptr1
15         stx     ptr1+1                  ; Store info into ptr1
16         jmp     mouse_info              ; Call the driver
17
18 .endproc
19
20
21
22
23