What source language(s) are used for BIOS...

Only for programmers and BIOS gurus with technical questions.
Post Reply
bobbym
New visitors - please read the rules.
Posts: 3
Joined: Tue Sep 09, 2003 7:59 am

:?: What language(s)-- if any-- are typically/currently used to write BIOS? For that matter, what languages can be used?

Just curious; thanks! 8O
NickS
BIOS Bodhisattva
Posts: 3145
Joined: Fri May 03, 2002 10:34 am
Location: Thames Valley, UK

Examples: Assembler, C
You need a language which can manipulate the hardware directly and compile to a compact binary image, relocatable if it's a BIOS for an add-on card such as video, SCSI or network.
bobbym
New visitors - please read the rules.
Posts: 3
Joined: Tue Sep 09, 2003 7:59 am

Know where I can find some examples of BIOS written in C, or further literature on writing BIOS, perhaps a journal name? I'm not quite sure where to begin to find info on this somewhat obscure topic.

Since I'm not a professional in this area, I'm not ready to delve into machine language level concepts quite yet. C is something I grasp!
sulbert
Master Flasher
Posts: 204
Joined: Wed Jul 17, 2002 1:38 pm
Contact:

Have you looked at LinuxBIOS and other similar projects?
bobbym
New visitors - please read the rules.
Posts: 3
Joined: Tue Sep 09, 2003 7:59 am

thanks for the link-- just the thing I needed.

I'm trying to educate myself about BIOS, but have had a tough time finding material that is both on-topic and within my grasp. It seems to me that a solid grasp of numerous (and seemingly increasingly obscure) concepts are necessary. The LinusBIOS source code is a great start.

Ideally I'd be able to find something along the lines of extended commentary/walk-through of an examplar BIOS code. Am I right in assuming that such a thing is difficult to do in any meaningful way without a solid understanding of the corresponding chip architecture? This is tough to tackle in one's free time.

Any strategy tips for developing a comprehensive or practical understanding would be appreciated. I realize this is perhaps more academic than the generally practical discussions at this forum; any pointers to more appropriate learning resources would be great too-- appropriate journals and projects.

Thanks for all the info and leads.
Post Reply