And finally, more fixes to the XGA implementation including:

Cursor and mapping on Windows 2.x' 286/808x XGA driver.
Pattern and DMA bus master fixes to OS/2 2.x/Warp's XGA driver.
Software reset no longer causes glitches to the screen using XGA (x86.c)
This commit is contained in:
TC1995
2022-06-27 17:01:02 +02:00
parent 0898913d05
commit 63b4209414
3 changed files with 122 additions and 432 deletions

View File

@@ -63,6 +63,7 @@ typedef struct xga_t
uint8_t pal_g, pal_g_prefetch;
uint8_t pal_b, pal_b_prefetch;
uint8_t sprite_data[1024];
uint8_t scrollcache;
uint8_t *vram, *changedvram;
int16_t hwc_pos_x;
@@ -88,11 +89,9 @@ typedef struct xga_t
char_width, hwcursor_on;
int pal_pos, pal_pos_prefetch;
int on;
int op_mode_reset;
int op_mode_reset, linear_endian_reverse;
int sprite_pos, sprite_pos_prefetch, cursor_data_on;
int pal_test;
int dma_channel;
int from_to_vram;
uint32_t linear_base, linear_size, banked_mask;
uint32_t base_addr_1mb;