How rip or save BIOS from PCs?

Discussion of development and patch submission.
Post Reply
User avatar
Posts: 6
Joined: Sun 24 Mar, 2019 7:26 am

How rip or save BIOS from PCs?

Post by davidinark »

I've searched the forums but can't find info on this:

How do you rip/save the BIOS from PCs? I have several older computers that I would like to rip the BIOS and create BIN files for use in PCEM, but I don't know how you do it. I found a Universal BIOS Backup tool, but it only runs through Win7-10, which is useless for old hardware.

Thanks for any help!
Posts: 35
Joined: Mon 23 Jan, 2017 12:31 pm

Re: How rip or save BIOS from PCs?

Post by terub56 »

To dump my video BIOS I used this method ripsaw8080 posted here:
You can dump a video BIOS image using DEBUG.EXE included with DOS, just run it and enter these commands:

r cs
r cx
n video.rom
w 0

The majority of ISA video cards will have a 32kB video ROM -- some earlier ones might only have 16kB, some later PCI/AGP cards might be more than 32kB, so adjust the 8000 (hex) if needed.

Here it's another method to dump Motherboard BIOS by IanB, but I haven't tested it:
I'd like to see a dump of that BIOS and the VGA BIOS as well.
You can do that from the debug prompt, type the following followed by enter on each line:
M F000:0 FFFF 8000:0
W 8000:0
M C000:0 FFFF 8000:0
W 8000:0
Both of them require DEBUG.EXE utility from MS-DOS.

But unless your hardware is very similar to the hardware emulated in PCem, you won't be able to create the same machine in PCem.
User avatar
Posts: 160
Joined: Sat 14 Nov, 2020 8:20 pm

Re: How rip or save BIOS from PCs?

Post by unreal9010 »

It has to be identical, not just very similar. For example: given the current state of emulated devices by PCem, you cannot use the dumped bios of GA-6BXC, another Gigabyte Slot 1 board, since that board is currently not emulated. Attempting to use it as GA-686BX will likely result in black screen.
In order to be able to use such dumped bios, you need to write or wait for somebody to write the code that would allow emulation of your desired piece of hardware. However, if your dumped bios belongs to a device emulated by PCem then you will be able to use it.
User avatar
Posts: 945
Joined: Thu 17 Dec, 2015 6:20 pm

Re: How rip or save BIOS from PCs?

Post by omarsis81 »

The best and most reliable way is to use an eprom programmer. That method may work in early computers and may not get you a reliable dump.
Posts: 72
Joined: Wed 25 May, 2016 7:43 pm

Re: How rip or save BIOS from PCs?

Post by UPerschke »

Depending on compatibility you may be able to use Flashrom.
Post Reply