diff --git a/libsrc/atari/gotox.s b/libsrc/atari/gotox.s index 3b3efe01b..385eead2b 100644 --- a/libsrc/atari/gotox.s +++ b/libsrc/atari/gotox.s @@ -6,9 +6,10 @@ .include "atari.inc" .export _gotox + .import setcursor _gotox: sta COLCRS ; Set X lda #0 sta COLCRS+1 - rts + jmp setcursor diff --git a/libsrc/atari/gotoxy.s b/libsrc/atari/gotoxy.s index 671629833..47342d74b 100644 --- a/libsrc/atari/gotoxy.s +++ b/libsrc/atari/gotoxy.s @@ -8,6 +8,7 @@ .export _gotoxy .import popa + .import setcursor _gotoxy: ; Set the cursor position sta ROWCRS ; Set Y @@ -15,4 +16,4 @@ _gotoxy: ; Set the cursor position sta COLCRS ; Set X lda #0 sta COLCRS+1 ; - rts + jmp setcursor diff --git a/libsrc/atari/gotoy.s b/libsrc/atari/gotoy.s index 73593afab..229ba95db 100644 --- a/libsrc/atari/gotoy.s +++ b/libsrc/atari/gotoy.s @@ -6,7 +6,8 @@ .include "atari.inc" .export _gotoy + .import setcursor _gotoy: sta ROWCRS ; Set Y - rts + jmp setcursor