mirror of
https://github.com/cc65/cc65.git
synced 2025-08-08 06:25:17 +00:00
When initializing the driver, set white as the drawing color.
git-svn-id: svn://svn.cc65.org/cc65/trunk@4420 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -37,12 +37,10 @@
|
|||||||
jsr tgi_setpalette ; Set the default palette.
|
jsr tgi_setpalette ; Set the default palette.
|
||||||
jsr tgi_geterror ; Clear a possible error code
|
jsr tgi_geterror ; Clear a possible error code
|
||||||
|
|
||||||
; Set the drawing color to the maximum color
|
; Set the drawing color to white
|
||||||
|
|
||||||
@L1: ldx _tgi_colorcount
|
@L1: lda TGI_COLOR_WHITE
|
||||||
dex
|
jsr _tgi_setcolor ; tgi_setcolor (TGI_COLOR_WHITE);
|
||||||
txa
|
|
||||||
jsr _tgi_setcolor ; tgi_setcolor (tgi_getmaxcolor ());
|
|
||||||
|
|
||||||
; Set the text style
|
; Set the text style
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user