mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
15 lines
342 B
ArmAsm
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
|