I've somewhat recently discovered a weird little mode called "Mode X" which is not really a separate mode but another way of accessing Mode 13h (and its undocumented 360x240x256c variant mode). The video card expects the data in mode 13h to be sequential from plane-to-plane, so that you can access at most 1 plane at a time, but in ModeX you access it in the same way that you access a 16 color mode, that is, at most all 4 planes at a time. So you can get a speed boost of up to 4x (although practically you can get only up to 2x since you don't always need to access four sequential pixels). Now the questions:
1. I don't really know how to set the Mode X. I think you can just ask BIOS to set it to mode 13h first, then set the C4 or CHAIN4 flag in one of the registers. Is this correct, or do I need to do something else (I just need a 320x200 screen)?
2. Is it possible to access the high-res SVGA modes using the same Mode X scheme? That would be mighty nice.
Thanks in advance, AmkG "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."
1. I don't really know how to set the Mode X. I think you can just ask BIOS to set it to mode 13h first, then set the C4 or CHAIN4 flag in one of the registers. Is this correct, or do I need to do something else (I just need a 320x200 screen)?
2. Is it possible to access the high-res SVGA modes using the same Mode X scheme? That would be mighty nice.
Thanks in advance, AmkG "Information has a tendency to be free. Which means someone will always tell you something you don't want to know."