First post, by thrawn235
Hello,
I've tried to follow the VESA specification as in this document:
http://www.petesqbsite.com/sections/tutorials/tuts/vbe3.pdf
Specifically i was trying to obtain the protected mode entry point.
I've copied the BIOS Image from C0000h and started Scanning for the signature 'PMID'
couldnt find it though.
That procedure seems to be VBE3.0 only. So I'm wondering. What is the VBE Version that dosbox (or specifically the svga_s3) supports?
Thats the code i've used to copy and check the BIOS image
(its very simple, just prints 1000 chars of the memory block for each key press)
I've used a string search before, but wasn't finding anything so i decided to take a manual look. hence the code snippet.
void* BIOS = (char*)malloc(32000);
dosmemget(0xC0000, 32000, BIOS);
char* accessptr;
accessptr = (char*)BIOS;
for(int u = 0; u <= 32; u++)
{
for(int i = 0; i <= 1000; i++)
{
cout<<accessptr[u*1000+i];
}
getch();
}