From ef36bbfd82fedbda931751dcaada5a6417a8dc28 Mon Sep 17 00:00:00 2001 From: cpg Date: Tue, 26 Nov 2002 21:32:08 +0000 Subject: [PATCH] call setcursor to update cursor settings git-svn-id: svn://svn.cc65.org/cc65/trunk@1656 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/atari/gotox.s | 3 ++- libsrc/atari/gotoxy.s | 3 ++- libsrc/atari/gotoy.s | 3 ++- 3 files changed, 6 insertions(+), 3 deletions(-) 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 -- 2.39.5