aboutsummaryrefslogtreecommitdiffstats
path: root/mbr.asm
diff options
context:
space:
mode:
authorhpa <hpa>2000-07-06 07:33:28 +0000
committerhpa <hpa>2000-07-06 07:33:28 +0000
commit0ab786f53d9d572a277897730bcb5968a076a7e0 (patch)
tree22a6deae259689d76231f4d93fbfe30666994fed /mbr.asm
parent32e9ad305fdfcfbea01e2d95f2b1db0cb7e728bc (diff)
downloadsyslinux-1.49-0x3964365c.tar.gz
syslinux-1.49-0x3964365c.tar.xz
syslinux-1.49-0x3964365c.zip
- Add support for boot protocol 0x0202 to SYSLINUX (not PXELINUX yet)syslinux-1.49-0x3964365c
- Fix PXELINUX "p" bug - Remove padding from end of MBR binary
Diffstat (limited to 'mbr.asm')
-rw-r--r--mbr.asm9
1 files changed, 5 insertions, 4 deletions
diff --git a/mbr.asm b/mbr.asm
index ca6ca74c..6103ae3f 100644
--- a/mbr.asm
+++ b/mbr.asm
@@ -194,11 +194,12 @@ missing_os_msg db 'Missing operating system', 13, 10, 0
bad_disk_msg db 'Operating system loading error', 13, 10, 0
;
-; Total MBR size: 446 bytes
-; (End-of-boot-sector signature also needed.)
+; Maximum MBR size: 446 bytes; end-of-boot-sector signature also needed.
+; Note that some operating systems (NT, DR-DOS) put additional stuff at
+; the end of the MBR, so shorter is better.
;
- times 446-($-$$) db 0
-PartitionTable equ $ ; Start of partition table
+
+PartitionTable equ $$+446 ; Start of partition table
;
; BSS data; put at 800h