1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00
rufus/res/mbr/mbr.ld
Pete Batard 0f57ed1684 [mbr] "Press any key to boot from USB..."
* Adds an MBR to prompt the use about USB or HDD boot
* If USB boot is not selected, an INT13h override is added to
  make the second bootable drive think it is first (0x81 -> 0x80)
* USB drive BIOS index is left unmodified
2012-03-20 02:56:34 +00:00

7 lines
176 B
Text

OUTPUT_ARCH(i8086)
MEMORY { MBR (rx) : org = 0x7c00 , len = 0x200 }
SECTIONS {
ENTRY(mbr)
.main 0x7c00 : { *(main) }
.igot 0x0000 : { *(.igot.plt) }
}