1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-26 08:32:00 +00:00
cc65/libsrc/telestrat/textcolor.s

14 lines
301 B
ArmAsm

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