Skip to content

Commit

Permalink
I give up for now. EGA chained 640x350 4-color requires more work tha…
Browse files Browse the repository at this point in the history
…n I thought. Time to stop before I ruin any VGA emulation code
  • Loading branch information
joncampbell123 committed Jun 23, 2018
1 parent 631eec2 commit da2a3ad
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/hardware/vga.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -719,6 +719,13 @@ void VGA_Reset(Section*) {
E_Exit("Unexpected machine");
};

/* I'm sorry, emulating 640x350 4-color chained EGA graphics is
* harder than I thought and would require revision of quite a
* bit of VGA planar emulation to update only bitplane 0 and 2
* in such a manner. --J.C. */
if (IS_EGA_ARCH && vga.mem.memsize < _KB_bytes(128))
LOG_MSG("WARNING: EGA 64KB emulation is very experimental and not well supported");

if (!IS_PC98_ARCH)
SVGA_Setup_Driver(); // svga video memory size is set here, possibly over-riding the user's selection

Expand Down

0 comments on commit da2a3ad

Please sign in to comment.