1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-24 09:29:06 +00:00
cc65/libsrc/telestrat/gotoy.s

22 lines
502 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-07 20:02:48 +00:00
.import update_adscr
.include "telestrat.inc"
.proc _gotoy
sta SCRY
2019-07-07 20:02:48 +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