Implemented support for the special Cirrus Logic extended DAC color palette;

Slightly reworked the Cirrus Logic hardware cursor handler, it now loads the foreground and background colors from the special color palette;
Implemented Cirrus Logic SR 0x12 bit 7 that if set, makes the card use special color palette entry 2 for the overscan border color instead of attribute register 0x11.
This commit is contained in:
OBattler
2018-03-23 04:40:49 +01:00
parent 46b0b17454
commit 48c44b5383
3 changed files with 196 additions and 51 deletions

View File

@@ -8,7 +8,7 @@
*
* Generic SVGA handling.
*
* Version: @(#)vid_svga.h 1.0.9 2018/03/01
* Version: @(#)vid_svga.h 1.0.10 2018/03/23
*
* Authors: Sarah Walker, <http://pcem-emulator.co.uk/>
* Miran Grca, <mgrca8@gmail.com>
@@ -153,6 +153,7 @@ typedef struct svga_t
void *p;
uint32_t linear_base;
uint32_t overscan_color;
} svga_t;
extern int svga_init(svga_t *svga, void *p, int memsize,