1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00

fixed int promotion problem; optimized as suggested by Carsten Strotmann

git-svn-id: svn://svn.cc65.org/cc65/trunk@1870 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2003-01-02 21:47:49 +00:00
parent 70d99589ca
commit 336843bd8a
2 changed files with 26 additions and 0 deletions

13
libsrc/atari/wherex.s Normal file
View File

@ -0,0 +1,13 @@
;
; Carsten Strotmann, 30.12.2002
;
; unsigned char wherex (void);
;
.export _wherex
.include "atari.inc"
_wherex:
lda COLCRS
ldx #0
rts

13
libsrc/atari/wherey.s Normal file
View File

@ -0,0 +1,13 @@
;
; Carsten Strotmann, 30.12.2002
;
; unsigned char wherey (void);
;
.export _wherey
.include "atari.inc"
_wherey:
lda ROWCRS
ldx #0
rts