Bochs VESA Version

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Bochs VESA Version

Post 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
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Post 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
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Post 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
Post Reply