Various fixes to SDAC RAMDAC emulation. Fixes Paradise Bahamas 64 with Xfree86, UNIVBE RAMDAC detection, and probably others.

This commit is contained in:
SarahW 2018-03-20 22:09:50 +00:00
commit fc7ac47954
3 changed files with 118 additions and 80 deletions

View file

@ -8,6 +8,8 @@ typedef struct sdac_ramdac_t
int rs2;
} sdac_ramdac_t;
void sdac_init(sdac_ramdac_t *ramdac);
void sdac_ramdac_out(uint16_t addr, uint8_t val, sdac_ramdac_t *ramdac, svga_t *svga);
uint8_t sdac_ramdac_in(uint16_t addr, sdac_ramdac_t *ramdac, svga_t *svga);