I'm trying to write a program that will be a BIOS option (after POST). I'd like the application to have a nice GUI instead of being text based (there are multiple reasons for this, localization being one of them).
My problem is that we are constrained by the size of the application that we can flash to the BIOS.
Is it possible using MASM32 to "Link" to the dll's on the hard disk so that we can use the Windows API's to develop the GUI?
Or is there an API that is availible to us to create the GUI that can be linked into the final executable? (60K size constraint on the final program executable)
Any help you can give would be greatly appreciated, thanks in advance.
It is possible. All you'd have to do is:
There's a lot to this, and it's not easy. However, an example which comes close is MenuetOS, an impressively compact environment. But it completely is born from a complete rethinking of how to implement a GUI environment.
I've written BIOS code which simulates a GUI interface. The video card is kept in text mode, the font is made nicer looking, the text cell separators are turned off, and the mouse is recognized. With simple animation, the whole thing did fit into 60 KiB or so.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With