From: cpg Date: Tue, 26 Nov 2002 21:32:08 +0000 (+0000) Subject: call setcursor to update cursor settings X-Git-Tag: V2.12.0~1991 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ef36bbfd82fedbda931751dcaada5a6417a8dc28;p=cc65 call setcursor to update cursor settings git-svn-id: svn://svn.cc65.org/cc65/trunk@1656 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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