]> git.sur5r.net Git - cc65/blob - libsrc/mouse/mouse_show.s
Adjusted doc to code.
[cc65] / libsrc / mouse / mouse_show.s
1 ;
2 ; Ullrich von Bassewitz, 2003-12-30
3 ;
4 ; void mouse_show (void);
5 ; /* Show the mouse. See mouse_hide for more information. */
6 ;
7
8         .include        "mouse-kernel.inc"
9
10 .proc   _mouse_show
11
12         lda     _mouse_hidden           ; Mouse visible?
13         beq     @L1                     ; Jump if yes
14         dec     _mouse_hidden           ; Set the flag
15         bne     @L1                     ; Jump if still invisible
16         jmp     mouse_show              ; Call the driver
17 @L1:    rts
18
19 .endproc