CheeseBees wrote:
2. To get full access to my video ram as the mode description says its for
Why do you want to do that?
CheeseBees wrote:
3. Real mode
You can use
this function to get information about the VBE capabilities,
this function to get information about the mode you want to use, and
this function to set the mode. If VBE 2.0 is supported, you'll probably want to set bit 14 in the mode number (0xC1FF instead of 0x81FF) to use a linear buffer.
I suggest also looking at the VBE specification for the definitions of those functions, since it explains the requirements for calling each, and what the return values mean.
If you're writing a quick proof of concept, you can skip the check for VBE 2.0 since all recent VBE implementations support it.