all functions returning char in A now have X cleared
git-svn-id: svn://svn.cc65.org/cc65/trunk@1868 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -4,6 +4,7 @@
|
||||
;
|
||||
; 27.10.2001
|
||||
; 06.03.2002
|
||||
; 02.01.2003
|
||||
|
||||
; unsigned char wherex (void);
|
||||
; unsigned char wherey (void);
|
||||
@@ -11,10 +12,10 @@
|
||||
.export _wherex, _wherey
|
||||
.importzp cursor_c, cursor_r
|
||||
|
||||
.include "../inc/jumptab.inc"
|
||||
|
||||
_wherex: lda cursor_c
|
||||
ldx #0
|
||||
rts
|
||||
|
||||
_wherey: lda cursor_r
|
||||
ldx #0
|
||||
rts
|
||||
|
||||
Reference in New Issue
Block a user