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 10:33:39 +02:00
.import CHARCOLOR_CHANGE, BGCOLOR_CHANGE
2019-07-06 10:16:57 +02:00
.import _update_adscr
.include "telestrat.inc"
.proc _gotoy
sta SCRY
2019-07-06 10:16:57 +02:00
jsr _update_adscr
2019-07-06 10:19:45 +02: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 23:27:52 +01:00
.endproc