aboutsummaryrefslogtreecommitdiffstats
path: root/mbr.asm
diff options
context:
space:
mode:
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