A bootable real mode program that prints initial register contents.
For what it's worth, also doubles as an example of how a simple bootable program might be achieved.
- nasm, to assemble nasm-flavored 16-bit x86 assembly
- QEMU, if you want to test boot in a virtual machine
- Rufus, if you want to boot from a real PC
Assemble the code with nasm:
nasm -f bin src/dump.asm build/dump.bin
or run build.bat
Method 1: Do a test boot with QEMU
qemu-system-i386 -drive file=build/dump.bin,format=raw -monitor stdio
or run test.bat
Method 2: