1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-19 21:32:19 +00:00
cc65/libsrc/telestrat/bgcolor.s

15 lines
290 B
ArmAsm
Raw Normal View History

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