BIOS MBR sector dumper
Posted: Tue Jan 06, 2026 11:01 am
Hello
I've made a very simple program which does nothing but print out 512 bytes starting from 0x7c00, i.e. the MBR on boot.
This is because I encountered very strange behavior when trying to get my OS running on real HW.
The source can be found here: https://codeberg.org/Demindiro/bios-mbr-dump (or Github: https://github.com/Demindiro/bios-mbr-dump)
Here are examples (note: nibbles are swapped in the pictures. Fixed in latest version):
Note the differences
If other people could run it on real HW I'd appreciate it. I wonder how many BIOSes are broken like this.
I've made a very simple program which does nothing but print out 512 bytes starting from 0x7c00, i.e. the MBR on boot.
This is because I encountered very strange behavior when trying to get my OS running on real HW.
The source can be found here: https://codeberg.org/Demindiro/bios-mbr-dump (or Github: https://github.com/Demindiro/bios-mbr-dump)
Here are examples (note: nibbles are swapped in the pictures. Fixed in latest version):
Note the differences
If other people could run it on real HW I'd appreciate it. I wonder how many BIOSes are broken like this.