Fixed EGA graphics modes and ported EGA 2bpp/4bpp word mode and 4bpp odd/even functionality to (S)VGA which should also support it.

This commit is contained in:
OBattler
2019-10-20 17:25:30 +02:00
parent d829f80236
commit 9c42abf2bf
5 changed files with 278 additions and 111 deletions

View File

@@ -30,7 +30,8 @@ typedef struct ega_t {
uint8_t crtcreg, gdcaddr, attraddr, attrff,
attr_palette_enable, seqaddr, miscout,
writemask, la, lb, lc, ld,
stat, colourcompare, colournocare, scrblank;
stat, colourcompare, colournocare, scrblank,
plane_mask, pad, pad0, pad1;
uint8_t crtc[32];
uint8_t gdcreg[16];
uint8_t attrregs[32];