VOGONS

Common searches


VESA VBE

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by Demon

User metadata

Hello,

It's written that vesa 2.0 modes are supported, though when I ran a few programs I wrote a long while back, I got my "VBE 2.0 Support not present" error printed.
After I made it print the actual version number, I was shocked to see it was set on 1.2 (?), How can that be if it should suppot 2.0?

Demon.

Reply 3 of 5, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

> I got my "VBE 2.0 Support not present" error printed.

dosbox only returns vesa ver2.0 if the input buffer
contains the VBE2 string at the beginning, otherwise
the version-fileld gets 1.2.
i think this behavior is wrong (it should always be 2.0
if the support is 2.0), i tested it with several programs
and vesa configs (vbe docs state this, too).
if you want to correct it, you find the information in
int10_vesa.cpp, VESA_GetSVGAInformation.

> though when I ran a few programs I wrote a long while back

afaict many vbe2.0 functions are implemented (second
palette data isn't), so maybe your program runs even
without univbe. if you still have your sources, you can
try to disable your vbe2.0-check.

wd

Reply 4 of 5, by rc30906

User metadata
Rank Newbie
Rank
Newbie

I wrote a program using VBE 3.0 some years ago and was hoping that DosBox would allow it to run in an XP environment. The good news is that is does run, the bad news is that graphics (that the program draws pixel by pixel) do not render properly. Seems to be a problem setting the palette.
Please advise.