From: cpg Date: Thu, 2 Jan 2003 21:47:49 +0000 (+0000) Subject: fixed int promotion problem; optimized as suggested by Carsten Strotmann X-Git-Tag: V2.12.0~1804 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=336843bd8a237c9772830d65972631447e339545;p=cc65 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 --- diff --git a/libsrc/atari/wherex.s b/libsrc/atari/wherex.s new file mode 100644 index 000000000..c3e24c50e --- /dev/null +++ b/libsrc/atari/wherex.s @@ -0,0 +1,13 @@ +; +; Carsten Strotmann, 30.12.2002 +; +; unsigned char wherex (void); +; + + .export _wherex + .include "atari.inc" + +_wherex: + lda COLCRS + ldx #0 + rts diff --git a/libsrc/atari/wherey.s b/libsrc/atari/wherey.s new file mode 100644 index 000000000..de672b7af --- /dev/null +++ b/libsrc/atari/wherey.s @@ -0,0 +1,13 @@ +; +; Carsten Strotmann, 30.12.2002 +; +; unsigned char wherey (void); +; + + .export _wherey + .include "atari.inc" + +_wherey: + lda ROWCRS + ldx #0 + rts