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:
parent
16af39de8d
commit
ef36bbfd82
3 changed files with 6 additions and 3 deletions
|
@ -6,9 +6,10 @@
|
|||
|
||||
.include "atari.inc"
|
||||
.export _gotox
|
||||
.import setcursor
|
||||
|
||||
_gotox:
|
||||
sta COLCRS ; Set X
|
||||
lda #0
|
||||
sta COLCRS+1
|
||||
rts
|
||||
jmp setcursor
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
|
||||
.include "atari.inc"
|
||||
.export _gotoy
|
||||
.import setcursor
|
||||
|
||||
_gotoy:
|
||||
sta ROWCRS ; Set Y
|
||||
rts
|
||||
jmp setcursor
|
||||
|
|
Loading…
Add table
Reference in a new issue