Page 1 of 1
Vesa 3.0 PMID
Posted: Mon Feb 12, 2007 12:01 pm
by Jeko
I found these drivers for vesa 3.0 protected mode interface. Are they good?
Posted: Mon Feb 12, 2007 10:13 pm
by Solidus117
Could you please supply a reference URL as to where you obtained these drivers?
Posted: Tue Feb 13, 2007 12:26 pm
by Jeko
Solidus117 wrote:Could you please supply a reference URL as to where you obtained these drivers?
sorry, but I don't remember. I found these drivers a lot of time ago, and they were hided in my HD until yesterday.
Posted: Wed Feb 21, 2007 11:56 am
by Jeko
I have a problem with the second file. It gives me a General Protection exception.
Posted: Wed Feb 21, 2007 4:35 pm
by GLneo
what he means is non-members can't see your attached files...
Posted: Thu Feb 22, 2007 9:29 am
by Jeko
MarkOS wrote:I have a problem with the second file. It gives me a General Protection exception.
I resolved this problem.
But when I call the vesa bios (in vesa_bios_call), the computer reboots. If I use #define VESA_DEBUG_LCALL, the computer don't reboot. Maybe it is a problem of my BIOS?
Posted: Fri Jan 04, 2008 5:00 pm
by Jeko
MarkOS wrote:MarkOS wrote:I have a problem with the second file. It gives me a General Protection exception.
I resolved this problem.
But when I call the vesa bios (in vesa_bios_call), the computer reboots. If I use #define VESA_DEBUG_LCALL, the computer don't reboot. Maybe it is a problem of my BIOS?
Wow! I found this thread at random...
No one can answer to my old problem?
Posted: Sat Jan 05, 2008 4:31 am
by Combuster
I can't find any evidence that will refuse to work.
However, the code is assumed to run in kernel mode, after which some juggling with the segment registers is being done - if the code would get interrupted then you would be in very bad shape (triple fault very likely)
Besides, VBE3+PM is far less widely supported than VBE2+ bios calls
Posted: Sat Jan 05, 2008 6:49 am
by Jeko
Combuster wrote:However, the code is assumed to run in kernel mode, after which some juggling with the segment registers is being done - if the code would get interrupted then you would be in very bad shape (triple fault very likely)
How can I resolve this?
Posted: Sat Jan 05, 2008 6:55 am
by Combuster
The key is really to run it as untrusted code. If you run it at a lower ring, then the first thing that happens on an interrupt is that you are given a valid CS, SS and ESP.
But my crystal ball can't tell how your design doc looks like. Or whether you indeed have a broken bios.