]> git.sur5r.net Git - cc65/blob - libsrc/c64/soft80_bordercolor.s
split regular color.s into color.s and bordercolor.s
[cc65] / libsrc / c64 / soft80_bordercolor.s
1 ;
2 ; Groepaz/Hitmen, 12.10.2015
3 ;
4 ; unsigned char __fastcall__ bordercolor (unsigned char color);
5 ;
6
7         .export         soft80_bordercolor
8
9         .include        "c64.inc"
10
11         ; FIXME: if we'd move this function into a seperate file in the regular
12         ;        conio lib, then we dont need this override at all.
13 soft80_bordercolor:
14         ldx     VIC_BORDERCOLOR         ; get old value
15         sta     VIC_BORDERCOLOR         ; set new value
16         txa
17         rts