1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-09 01:28:58 +00:00
cc65/libsrc/telestrat/gotoy.s
2019-07-21 14:11:51 -04:00

22 lines
502 B
ArmAsm

;
; jede jede@oric.org 2017-02-25
;
.export _gotoy
.import CHARCOLOR_CHANGE, BGCOLOR_CHANGE
.import update_adscr
.include "telestrat.inc"
.proc _gotoy
sta SCRY
jsr update_adscr
; 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
.endproc