Mail Archives: djgpp/1999/12/30/21:47:11
On Thu, 30 Dec 1999 09:42:06 +0200 (IST), Eli Zaretskii wrote:
>79 decimal is 4F in hex, which means VESA is unsupported on your
>system.
>> if (regs.h.al!=0x4F)
>> setError(noSupport); //command not supported
>
>This is backwards: you need to say this:
>
> if (regs.h.al == 0x4F)
> setError(noSupport); //command not supported
Quoting the VESA 1.2 specs:
AL == 4Fh: Function is supported
Al != 4Fh: Function is not supported
AH == 00h: Function call successful
AH == 01h: Function call failed
What do you think is wrong now? I still can't get the
"GetCurrentMode()" to return without an error.
Gili
- Raw text -