Seperated TGUI9440 and TVGA8900D implementations. Modes > 8 bpp now handled more logically in SVGA core. Fixed broken status window for most SVGA cards. Masking of address on 'legacy' VGA memory ranges now handled better.
14 lines
411 B
C
14 lines
411 B
C
typedef struct sdac_ramdac_t
|
|
{
|
|
int magic_count;
|
|
uint8_t command;
|
|
int windex, rindex;
|
|
uint16_t regs[256];
|
|
int reg_ff;
|
|
int rs2;
|
|
} sdac_ramdac_t;
|
|
|
|
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);
|
|
|
|
float sdac_getclock(int clock, void *p);
|