Is it a good idea to use the BIOS interrupts INT10? Or should I consider coreboot, UFEI or openFirmware? Are these compatible? What should I use to display to the screen?
Is it a good idea to use the BIOS interrupts INT10 ? Or should
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You’re mixing up a couple of entirely unrelated things here.
Coreboot is an alternative to the PC BIOS which is not available for all motherboards, and which must be specifically installed by the user. It must always run a payload, which may be something like the Linux kernel, or an open-source PC BIOS such as SeaBIOS (at which point, it’s largely indistinguishable from any other PC BIOS).
UEFI is an alternative to the PC BIOS which is more advanced, but considerably harder to code for. It almost always contains compatibility routines for the standard PC BIOS.
Open Firmware is a rough equivalent to the PC BIOS used on some other platforms, including PowerPC Macs and some Sun systems. It’s never been used on an x86 system that I’m aware of, so it’s almost certainly uninteresting to you.
If you are programming for a bare-metal x86 system, then interrupt 10h is probably the way to go. The next alternative to consider would be accessing the VGA hardware directly.