bios rom bochs

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
aliceinchains
Posts: 14
Joined: Wed Aug 13, 2014 11:04 am

bios rom bochs

Post by aliceinchains »

I downloaded a tool from my bios manufacturer and it output an image of the bios but its too large to run in bochs so is there any way to slim it down reliably or if thats not really viable how would i search it for like features and or addresses. :D thanks
User avatar
SpyderTL
Member
Member
Posts: 1074
Joined: Sun Sep 19, 2010 10:05 pm

Re: bios rom bochs

Post by SpyderTL »

I doubt that you will be able to use the bios from your PC inside BOCHS. But feel free to try.

Your bios was made specifically for your machine, and probably won't work well in ANY other PC.

For BOCHS, you can probably find and download some bios images that will work. Or you can write your own...
Project: OZone
Source: GitHub
Current Task: LIB/OBJ file support
"The more they overthink the plumbing, the easier it is to stop up the drain." - Montgomery Scott
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: bios rom bochs

Post by Combuster »

BIOSes are hardware-specific, and most of it is chipset-specific. Bochs' chipset used to be pretending to be a Pentium-2 era chipset (an i440FX), and probably only a marginal bit of it.

The vast majority of BIOSes you'll get your hands on will be usesless for many reasons - one of the more obvious ones is that they will try and look for installed RAM, find none because the chipset doesn't match, and then sit there trying to beep and not do anything meaningful. Stripping the BIOS doesn't simply fix actual "functionality" like that.



tl;dr: Bochs comes bundled with it's own firmware. Use it.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
Post Reply