ATI VGA mode fixes:

1. Fixed 4-bit packed modes.
2. Preparation of fixing the 2-bit modes.
3. Extra: fixed the accelerator mode switches again (Mach8/32 only).
This commit is contained in:
TC1995
2023-12-27 16:07:03 +01:00
parent c240db50ba
commit 1798b2e51c
4 changed files with 82 additions and 75 deletions

View File

@@ -128,6 +128,8 @@ typedef struct svga_t {
int hblank_sub;
int hblank_end_val;
int hblank_end_len;
int packed_4bpp;
int ati_4color;
/*The three variables below allow us to implement memory maps like that seen on a 1MB Trio64 :
0MB-1MB - VRAM