New mouse show/hide routines

git-svn-id: svn://svn.cc65.org/cc65/trunk@2934 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2004-03-16 19:27:48 +00:00
parent 3f4096d303
commit 278b62832e
2 changed files with 44 additions and 0 deletions

21
libsrc/mouse/mouse_show.s Normal file
View File

@@ -0,0 +1,21 @@
;
; Ullrich von Bassewitz, 2003-12-30
;
; void __fastcall__ mouse_show (void);
; /* Show the mouse. See mouse_hide for more information. */
;
.include "mouse-kernel.inc"
.proc _mouse_show
lda _mouse_hidden ; Mouse visible?
beq @L1 ; Jump if yes
dec _mouse_hidden ; Set the flag
bne @L1 ; Jump if still invisible
jmp mouse_show ; Call the driver
@L1: rts
.endproc