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