Yes, you most definetly are no expert, unless you have something to back up your claim that VBE is a waste of time. If you don't even know what the limits of VBE are, how can you even make such a comment? VBE allows access to high resolution/bit depth modes... the limits are what you make of them. There were quite a few games that used VBE before windows got anywhere near decent, and is still relevant when specific video card drivers can't be found under both linux and windows. Yes, without hardware acceleration, the drawing routines are slower... but at least they work.tom9876543 wrote:I am no expert but IMHO trying to get a fully operating VBE graphics mode is a waste of time. Unfortunately you really need to write native drivers. You can look at the Linux / BSD source code to help you. Be careful if you decide to copy it!
Slightly off topic.....
What is the graphics mode Linux goes into when it boots up and you see all the text messages with a Penguin at the top???? That is probably the limits of what can be achieved with VBE. Does anyone know what the relevant source code file in Linux is?
VBE is not a waste of time, and you can even get acceptable performance from it. Also, a lot of code you write for a VBE driver can be used in your card specific code as well. VBE is very easy to get into (especially if you do so before going to pmode), any somewhat recent card (like... 1995+) supports linear frame buffers, and you can do high resolution graphics without trying to trek through tons of cryptic documents just to get it working on a single machine. I think it would be silly not to write a software driver before attempting to write hardware specific stuff, if not just to have a reference that you know your graphics code/gui stuff is working properly, and the reason it's displayed incorretly is in fact something driver related, not implementation of drawing functions related. Especially with something so simple as VBE.