2002-11-21 21:22:26 +00:00
|
|
|
;
|
|
|
|
; Ullrich von Bassewitz, 06.08.1998
|
|
|
|
;
|
|
|
|
; unsigned char __fastcall__ textcolor (unsigned char color);
|
|
|
|
; unsigned char __fastcall__ bgcolor (unsigned char color);
|
|
|
|
; unsigned char __fastcall__ bordercolor (unsigned char color);
|
|
|
|
;
|
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.export _textcolor, _bgcolor, _bordercolor
|
2002-11-21 21:22:26 +00:00
|
|
|
|
2013-05-09 11:56:54 +00:00
|
|
|
.include "plus4.inc"
|
2002-11-21 21:22:26 +00:00
|
|
|
|
|
|
|
_textcolor:
|
2013-05-09 11:56:54 +00:00
|
|
|
ldx CHARCOLOR ; get old value
|
|
|
|
sta CHARCOLOR ; set new value
|
|
|
|
txa
|
|
|
|
rts
|
2002-11-21 21:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
_bgcolor:
|
2013-05-09 11:56:54 +00:00
|
|
|
ldx TED_BGCOLOR ; get old value
|
|
|
|
sta TED_BGCOLOR ; set new value
|
|
|
|
txa
|
|
|
|
rts
|
2002-11-21 21:22:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
_bordercolor:
|
2013-05-09 11:56:54 +00:00
|
|
|
ldx TED_BORDERCOLOR ; get old value
|
|
|
|
sta TED_BORDERCOLOR ; set new value
|
|
|
|
txa
|
|
|
|
rts
|
2002-11-21 21:22:26 +00:00
|
|
|
|
|
|
|
|