mirror of
https://github.com/cc65/cc65.git
synced 2025-01-10 19:29:45 +00:00
jmp instead of jsr
This commit is contained in:
parent
ede64f68a9
commit
f9e13abc11
@ -19,12 +19,13 @@ gotoxy: jsr popa ; Get Y
|
|||||||
; In telemon, there is a position for the prompt, and another for the cursor.
|
; In telemon, there is a position for the prompt, and another for the cursor.
|
||||||
|
|
||||||
sta SCRY
|
sta SCRY
|
||||||
jsr update_adscr ; Update adress video ram position when SCRY is modified
|
|
||||||
|
|
||||||
jsr popa
|
jsr popa
|
||||||
sta SCRX
|
sta SCRX
|
||||||
|
|
||||||
rts
|
jmp update_adscr ; Update adress video ram position when SCRY is modified
|
||||||
|
|
||||||
.endproc
|
.endproc
|
||||||
|
|
||||||
.proc update_adscr
|
.proc update_adscr
|
||||||
|
@ -9,6 +9,5 @@
|
|||||||
|
|
||||||
.proc _gotoy
|
.proc _gotoy
|
||||||
sta SCRY
|
sta SCRY
|
||||||
jsr update_adscr
|
jmp update_adscr
|
||||||
rts
|
|
||||||
.endproc
|
.endproc
|
||||||
|
Loading…
x
Reference in New Issue
Block a user