1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-21 20:29:24 +00:00

call setcursor to update cursor settings

git-svn-id: svn://svn.cc65.org/cc65/trunk@1656 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cpg 2002-11-26 21:32:08 +00:00
parent 16af39de8d
commit ef36bbfd82
3 changed files with 6 additions and 3 deletions

View File

@ -6,9 +6,10 @@
.include "atari.inc"
.export _gotox
.import setcursor
_gotox:
sta COLCRS ; Set X
lda #0
sta COLCRS+1
rts
jmp setcursor

View File

@ -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

View File

@ -6,7 +6,8 @@
.include "atari.inc"
.export _gotoy
.import setcursor
_gotoy:
sta ROWCRS ; Set Y
rts
jmp setcursor