This is a cursed, 768x200 tweaked EGA video mode someone on VOGONS dreamed up, a...
gloriouscow @gloriouscow@oldbytes.space
This is a cursed, 768x200 tweaked EGA video mode someone on VOGONS dreamed up, and until now, MartyPC could not display it.
I've added monitor emulation to MartyPC's EGA, and now it can.
This mode abuses the dual-frequency nature of the EGA, by driving the EGA card with the 16MHz crystal, but configuring its CRTC parameters in such a way that it provides the monitor a 15.7kHz horizontal refresh.
This gives 1032 hdots per scanline.
This means the card is in Mode 2, but the monitor is in Mode 1. You can appreciate the problem if you don't have monitor emulation so the monitor can be in a different mode from the card.