1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-25 02:29:52 +00:00
cc65/libsrc/telestrat/textcolor.s

14 lines
301 B
ArmAsm
Raw Normal View History

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