1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-24 11:31:31 +00:00
cc65/libsrc/telestrat/bgcolor.s

15 lines
290 B
ArmAsm

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