Page 1 of 1

Bochs VESA Version

Posted: Wed Aug 15, 2007 3:31 am
by AJ
Sorry for another question - as you can probably tell, I'm trying to implement VESA in v86 mode at present!

I understood that Bochs 2.3 (for Windows) has VBE3.0 support if you use VGABIOS-lgpl-latest and vga: extension=vbe.

Only problem is, my VESA information block keeps returning 0x0200 as the VESA mode! This is the same in VirtualBox, but I'm really not sure what the VESA version should be in that.

Can anyone shed any light?

Cheers,
Adam

Posted: Wed Aug 15, 2007 4:34 am
by Brendan
Hi,

My version of Bochs reports VBE 2.

For the mode list, Bochs reports a full list of modes for me. I'm thinking you're using the VBE BIOS without the correct video card or other options, but can't remember which combinations do what.

I compile Bochs with PCI support, then in the "bochsrc.txt" I use:

Code: Select all

vgaromimage: file=stdbios/VGABIOS-lgpl-latest
vga: extension=vbe
i440fxsupport: enabled=1
Cheers,

Brendan

Posted: Wed Aug 15, 2007 8:11 am
by AJ
Hi Brendan,

Thanks for the info - I was just a bit worried about my detection code but if you are getting version 2 as well, I guess I can relax a bit!

I solved the problem with the mode list and deleted my post. I thought I'd got there before anyone read it but obviously not!

For anyone confused by this, I was getting a mode list just containing 0xFFFF which indicates a stub VBE implementation. I re-read the relevant vbe docs and I was not correctly placing the 'VBE2' string in the VESA information block.


I'm also not currently using the i440fxsupport line in my config file - I'm just having a look at that now.

Thanks,
Adam