firmware and OS drivers dichotomy

Discussions on more advanced topics such as monolithic vs micro-kernels, transactional memory models, and paging vs segmentation should go here. Use this forum to expand and improve the wiki!
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:

Re: firmware and OS drivers dichotomy

Post by Combuster »

rdos wrote:Besides, every working VGA driver assumes some way to setup the hardware in the desired mode, and this is typically different between chipsets and implementations.
A VGA driver expects that the device conforms to the VGA standard, which 99% of the desktop video cards out there are. Any other issues are figments of your mind - after all, you are not using it so how would you be a reliable source? :wink:
"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
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: firmware and OS drivers dichotomy

Post by Brendan »

Hi,
Combuster wrote:
rdos wrote:Besides, every working VGA driver assumes some way to setup the hardware in the desired mode, and this is typically different between chipsets and implementations.
A VGA driver expects that the device conforms to the VGA standard, which 99% of the desktop video cards out there are. Any other issues are figments of your mind - after all, you are not using it so how would you be a reliable source? :wink:
For the computer I'm currently using; the BIOS leaves the first video card in a "VGA compatible" state but not the second video card, and because these video cards are "dual head" it means that only one of the 4 possible monitors could be used in a "VGA compatible" way. While this isn't a large enough statistical sample, it implies that a VGA driver would only work in 25% of cases (for a limited definition of "work" that doesn't include any video mode that any user will actually want to look at). ;)

Of course VBE doesn't help with the "doesn't work" problem. It does help for the "ugly/low resolution" problem (but there's still a "half-assed video ROM doesn't support the monitor's native resolution" problem).


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