mirror of
https://github.com/pbatard/rufus.git
synced 2024-08-14 23:57:05 +00:00
[mbr] replace gpt.S with a more generic msg.S
* msg.S now reads an ASCII message (with escaped colour sequences) from the following blocks, which is both more flexible and allows for more content to be displayed. * Also adds Bochs testing to the MBR build facility
This commit is contained in:
parent
b8579c04da
commit
bfbb9d2ed5
9 changed files with 325 additions and 122 deletions
|
@ -14,11 +14,17 @@ a different ID according to the one found in its partition table entry. Eg. if
|
|||
the partition table lists the disk ID for the first partition as 0x81, then it
|
||||
will be swapped for 0x80.
|
||||
|
||||
An additional MBR (msg.S) also exists in this directory, that can be used to
|
||||
display an ASCII message contained in the sectors directly following the MBR.
|
||||
This can be used, for instance, to display a notice for media that cannot be
|
||||
booted in BIOS/Legacy mode.
|
||||
|
||||
# Compilation
|
||||
|
||||
Any gcc suite (except possibly the X-Code one on OS-X) should be able to compile
|
||||
the MBR by invoking 'make'. A 'make dis', that produces a disassembly dump is
|
||||
also provided for your convenience.
|
||||
also provided for your convenience. If you have the Bochs emulator installed,
|
||||
you can also invoke 'make test' to test the MBR with Bochs.
|
||||
|
||||
# Primer
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue