split regular color.s into color.s and bordercolor.s

This commit is contained in:
mrdudz
2015-10-14 17:25:35 +02:00
parent d4f88c8f71
commit 59dd15aa55
2 changed files with 18 additions and 9 deletions

View File

@@ -7,7 +7,7 @@
;
.export _textcolor, _bgcolor, _bordercolor
.export _textcolor, _bgcolor
.include "c64.inc"
@@ -23,11 +23,3 @@ _bgcolor:
sta VIC_BG_COLOR0 ; set new value
txa
rts
_bordercolor:
ldx VIC_BORDERCOLOR ; get old value
sta VIC_BORDERCOLOR ; set new value
txa
rts