So far I've made it work for most modes, except 320x200x32K/64K:
- DAC in double mode: halve pixels(reverse DAC doubling).
- Linear mode(Sequencer memory mode register bit 3 set and Attribute Mode Control Register not in 8-bit mode): halve pixels.
But somehow, when specifying 320x200x32K/64K it also halves, when it shouldn't in that mode?
I see that the DCR bit isn't set for said mode. Perhaps it should be set for modes 313h and 413h?
It's set up for 640 pixels, which results in 320 pixels being rendered due to the DAC combining every 2 pixels into 1 pixel on display and renderer.
The weird thing is that DCR should be set for this to work. The other 32K/64K modes have double their pixels set, which works properly(doubled horizontal display timings values). But 320 pixel mode somehow doesn't result in it's proper 640 pixel wide display?
Edit: 320x200x32K/64K has the same horizontal settings as 640x350x32K/64K, but with half the size of the horizontal display end register and related horizontal timing settings?
That seems fine, but it will result in only half a display worth of pixels? DCR should actually be set to properly get the correct result?