1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00
cc65/libsrc/telestrat/textcolor.s
2021-03-01 22:33:12 +01:00

15 lines
342 B
ArmAsm

; 2019-07-02, Jede (jede@oric.org)
;
.export _textcolor
.import CHARCOLOR, OLD_CHARCOLOR
.include "telestrat.inc"
.proc _textcolor
ldx CHARCOLOR ; Get previous color
sta CHARCOLOR
stx OLD_CHARCOLOR
txa ; Return previous color
rts
.endproc