VGA Sequencer Memory Mode register bit 2?

When I look at the freeVGA info on the register (Sequencer register index 04h), it says:
1
2
O/E Dis. -- Odd/Even Host Memory Write Adressing Disable
"When this bit is set to 0, even system addresses access maps 0 and 2, while odd system addresses access maps 1 and 3. When this bit is set to 1, system addresses sequentially access data within a bit map, and the maps are accessed according to the value in the Map Mask register (index 0x02)." 


Also IBM documentation on the VGA (https://ia601809.us.archive.org/11/items/bitsavers_ibmpccardseferenceManualMay92_1756350/IBM_VGA_XGA_Technical_Reference_Manual_May92.pdf):
1
2
3
4
5
6
When the Odd/Even field (bit 2) is set to 0, even system
addresses access maps 0 and 2, while odd system
addresses access maps 1 and 3. When set to 1, system
addresses sequentially access data within a bit map,
and the maps are accessed according to the value in
the Map Mask register (hex 02).


However, Dosbox does the opposite (https://code.google.com/p/dosbox-wii/source/browse/trunk/src/ints/int10_modes.cpp?spec=svn102&r=102):
line 735:
if (IS_VGA_ARCH) seq_data[4]|=0x04; //odd/even enabled

Anyone knows which source is correct? Does Dosbox need fixing or is the documentation incorrect?
Topic archived. No new replies allowed.