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.
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?
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?
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
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
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)
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.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]