Vesa 3.0 PMID

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
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Vesa 3.0 PMID

Post by Jeko »

I found these drivers for vesa 3.0 protected mode interface. Are they good?
Attachments
vesa3.0-0.3.tar.tar
(11.88 KiB) Downloaded 194 times
vesa3.lb.19990115.tar.tar
(3.8 KiB) Downloaded 176 times
Solidus117
Posts: 23
Joined: Sun Dec 03, 2006 5:29 pm

Post by Solidus117 »

Could you please supply a reference URL as to where you obtained these drivers?
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post 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.
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post by Jeko »

I have a problem with the second file. It gives me a General Protection exception.
GLneo
Member
Member
Posts: 237
Joined: Wed Dec 20, 2006 7:56 pm

Post by GLneo »

what he means is non-members can't see your attached files...
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post 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?
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post 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?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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
"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 ]
User avatar
Jeko
Member
Member
Posts: 500
Joined: Fri Mar 17, 2006 12:00 am
Location: Napoli, Italy

Post 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?
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Post 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.
"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 ]
Post Reply