Various (S)VGA and Cirrus Logic fixes.

This commit is contained in:
OBattler
2019-12-04 07:20:58 +01:00
parent ea163abdc3
commit 70cfb9d79f
3 changed files with 205 additions and 306 deletions

View File

@@ -30,6 +30,13 @@ typedef struct {
uint32_t addr, pitch;
} hwcursor_t;
typedef union {
uint64_t q;
uint32_t d[2];
uint16_t w[4];
uint8_t b[8];
} latch_t;
typedef struct svga_t
{
mem_mapping_t mapping;
@@ -74,8 +81,8 @@ typedef struct svga_t
PALETTE vgapal;
uint64_t latch,
dispontime, dispofftime;
uint64_t dispontime, dispofftime;
latch_t latch;
pc_timer_t timer;