mirror of
https://github.com/cc65/cc65.git
synced 2024-12-25 17:29:50 +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:
parent
70d99589ca
commit
336843bd8a
13
libsrc/atari/wherex.s
Normal file
13
libsrc/atari/wherex.s
Normal 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
13
libsrc/atari/wherey.s
Normal 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
|
Loading…
Reference in New Issue
Block a user