Is NASM incompatible with certain hardware configurations?
the following code runs on Qemu and an Intel Pentium system, however, when it's run on a Intel Celeron based computer, the HP Compaq dc7600 in particular, the system claims that the volume is not valid, stating Non-System disk or disk error
. is this a system configuration error, if it is, what would I need to change? (8.4 in datasheet).
[BITS 16]
main:
cli
hlt
times 510 - ($-$$) db 0
dw 0xAA55
the system is booting from a binary file created with nasm -fbin mbr.asm -o mbr.bin
and is written to a usb drive with dd if=mbr.bin of=/dev/sdb