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

17
libsrc/c64/bordercolor.s Normal file
View File

@@ -0,0 +1,17 @@
;
; Ullrich von Bassewitz, 06.08.1998
;
; unsigned char __fastcall__ bordercolor (unsigned char color);
;
.export _bordercolor
.include "c64.inc"
_bordercolor:
ldx VIC_BORDERCOLOR ; get old value
sta VIC_BORDERCOLOR ; set new value
txa
rts