1
0
Fork 0

Add video blanking in vgaonly mode. Used by Alien Carnage and others.

Imported-from: https://svn.code.sf.net/p/dosbox/code-0/dosbox/trunk@3568
This commit is contained in:
Ralf Grillenberger 2010-04-04 18:43:04 +00:00
parent 13ea835d96
commit 6be8956f46
6 changed files with 19 additions and 13 deletions

View file

@ -262,7 +262,12 @@ typedef struct {
Bit8u color_plane_enable;
Bit8u color_select;
Bit8u index;
Bit8u enabled;
Bit8u disabled; // Used for disabling the screen.
// Bit0: screen disabled by attribute controller index
// Bit1: screen disabled by sequencer index 1 bit 5
// These are put together in one variable for performance reasons:
// the line drawing function is called maybe 60*480=28800 times/s,
// and we only need to check one variable for zero this way.
} VGA_Attr;
typedef struct {