VGA Tile Driver - Color help
bluedevils9109
Posts: 2
I am working with VGA_1280x1024_Tile_Driver_With_Cursor and I was wondering if there was a was to set the background color. (Black inparticular opposed to the blue that is shown in the examples)
Thanks
Thanks
Comments
I've used that object recently. I expect you should be able to do that by changing the appropriate vgacolors palette entry being referenced in your code. The table of palette entries gets passed into the start function of the VGA tile driver as the color_ptr argument. I think the first two entries are being referenced by default in the VGA_Tile_Driver demo object (two palette entries are required to select the odd/even characters that get woven together per long in the system font).
Hope this helps,
rogloh.
Original:
Try changing these entries to this and see if it helps.
Modified: