Remove sprite param to mouse_init

git-svn-id: svn://svn.cc65.org/cc65/trunk@893 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz
2001-09-12 13:49:08 +00:00
parent 20f23128cd
commit 9e80491acb
3 changed files with 17 additions and 11 deletions

View File

@@ -56,11 +56,10 @@ initmouse:
;--------------------------------------------------------------------
; Initialize mouse routines
; void __fastcall__ mouse_init (unsigned char port, unsigned char sprite, unsigned char type);
; void __fastcall__ mouse_init (unsigned char port, unsigned char type);
_mouse_init:
pha ; remember mouse type
jsr popa ; ignore sprite / pm for now
jsr popa
sta port_nr
pla ; get mouse type again

View File

@@ -12,7 +12,7 @@
.export _mouse_pos, _mouse_info
.export _mouse_move, _mouse_buttons
.import popax, popsreg, addysp1
.import popa, popsreg, addysp1
.importzp sp, sreg, ptr1
.include "../inc/const.inc"
@@ -25,12 +25,11 @@
; --------------------------------------------------------------------------
;
; unsigned char __fastcall__ mouse_init (unsigned char port,
; unsigned char sprite,
; unsigned char type);
; unsigned char type);
;
_mouse_init:
jsr popax ; ignore all parameters
jsr popa ; ignore all parameters
jsr StartMouseMode
jsr MouseOff