Ok, I know a little bit about bios but not much, so I was wondering If I could make a bios prog that would like run before the OS boots up and if so how to go about it. (like what to learn to do it)

Also:
Does it matter what bios it is? (what company made it and ect.)