The delayed video changes of the night (January 20th, 2025)
Generic SVGA layer: Added function pointers of the banked mapping for use with add-on cards with their own mapping when the VGA card banked mapping is not active or viceversa (e.g.: XGA). XGA-1/2: 1. Reimplemented Area Fill and Boundary Mode as best as possible. 2. Fixed conflicts with banked mapping with VGA clones. 3. Fixed inverted colors (again) on accelerated 16bpp mode under OS/2. Video7 with ATI 8514/A add-on. Added a workaround (BIOS issue? I don't know) that disables 8514/A mode and reenables VGA mode when needed. Fixes screen freezes and polling issues with various drivers for Windows and others.
This commit is contained in:
@@ -202,6 +202,14 @@ typedef struct svga_t {
|
||||
|
||||
void (*vblank_start)(struct svga_t *svga);
|
||||
|
||||
void (*write)(uint32_t addr, uint8_t val, void *priv);
|
||||
void (*writew)(uint32_t addr, uint16_t val, void *priv);
|
||||
void (*writel)(uint32_t addr, uint32_t val, void *priv);
|
||||
|
||||
uint8_t (*read)(uint32_t addr, void *priv);
|
||||
uint16_t (*readw)(uint32_t addr, void *priv);
|
||||
uint32_t (*readl)(uint32_t addr, void *priv);
|
||||
|
||||
void (*ven_write)(struct svga_t *svga, uint8_t val, uint32_t addr);
|
||||
float (*getclock)(int clock, void *priv);
|
||||
float (*getclock8514)(int clock, void *priv);
|
||||
|
||||
Reference in New Issue
Block a user