Mail Archives: djgpp/1997/10/19/13:03:10
I'm trying to implement the VBE functions with DJGPP, but I've run into
some problems, I'm a bit new to this so I'd appreciate some help.
When I call the function to get the VBE mode info block, I get "VBE2" in
the VbeSignature field (I thought that you always get VESA), and 0 in all
the other fields. Under what circumstances can such a thing happen? I'm
running in Windows95 in a dos box.
Also, when I try to call the function to set the VBE graphics mode in RHIDE
while tracing, the screen goes darker, the mode I am trying to set is 111h,
a valid mode. When I try to call that function while NOT tracing, it
crashes and Windows tells me that it executed an invalid instruction. How
could it execute an invalid instruction? I don't think DJGPP outputs
invalid instructions and if it did wouldn't I get the same error while
tracing? I must be missing something.
Thanks,
Christopher.
- Raw text -