1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 06:31:31 +00:00
cc65/libsrc/telestrat/gotoy.s

22 lines
504 B
ArmAsm
Raw Normal View History

;
; jede jede@oric.org 2017-02-25
;
.export _gotoy
2019-07-06 08:33:39 +00:00
.import CHARCOLOR_CHANGE, BGCOLOR_CHANGE
2019-07-06 08:16:57 +00:00
.import _update_adscr
.include "telestrat.inc"
.proc _gotoy
sta SCRY
2019-07-06 08:16:57 +00:00
jsr _update_adscr
2019-07-06 08:19:45 +00:00
; We change the current line, it means that we need to put color attributes again.
; That is not the case with _gotox because, it's on the same line attribute are already set
lda #$01
sta CHARCOLOR_CHANGE
sta BGCOLOR_CHANGE
rts
2019-02-05 22:27:52 +00:00
.endproc