summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1997-11-07 00:18:25 +0000
committerjoerg <joerg@FreeBSD.org>1997-11-07 00:18:25 +0000
commit07c6e768fc26570f7ed11d9bc774162ba694cade (patch)
treefc8a2327522e99352026264e5ad6e4c7eddce979
parent7eaff07d90142d7761c031dfc4c1110a4b35b461 (diff)
downloadFreeBSD-src-07c6e768fc26570f7ed11d9bc774162ba694cade.zip
FreeBSD-src-07c6e768fc26570f7ed11d9bc774162ba694cade.tar.gz
Pah! I didn't stick to my own advise to adjust the padding...
-rw-r--r--usr.sbin/mkdosfs/bootcode.asm4
-rw-r--r--usr.sbin/mkdosfs/bootcode.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/mkdosfs/bootcode.asm b/usr.sbin/mkdosfs/bootcode.asm
index d35fb17..7e5d429 100644
--- a/usr.sbin/mkdosfs/bootcode.asm
+++ b/usr.sbin/mkdosfs/bootcode.asm
@@ -11,7 +11,7 @@
;;; (This is written in as86 syntax. as86 is part of Bruce Evans'
;;; bcc package.)
;;;
-;;; $Id: bootcode.asm,v 1.3 1997/02/22 16:06:36 peter Exp $
+;;; $Id: bootcode.asm,v 1.4 1997/11/07 00:12:54 joerg Exp $
;;;
;;; This code must be linked to address 0x7c00 in order to function
;;; correctly (the BIOS boot address).
@@ -95,7 +95,7 @@ message:
;; Adjust the value below after changing the length of
;; the code above!
- .space 0x1fe-0x161 ; pad to 512 bytes
+ .space 0x1fe-0x15e ; pad to 512 bytes
.byte 0x55, 0xaa ; yes, we are bootable (cheating :)
end
diff --git a/usr.sbin/mkdosfs/bootcode.h b/usr.sbin/mkdosfs/bootcode.h
index 27ef368..70cd4b8 100644
--- a/usr.sbin/mkdosfs/bootcode.h
+++ b/usr.sbin/mkdosfs/bootcode.h
@@ -49,6 +49,6 @@ static unsigned char bootcode[512] = {
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
-0x00, 0x00, 0x00, 0x55, 0xaa, 0x00, 0x00, 0x00, };
+0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x55, 0xaa, };
#endif /* BOOTCODE_H */
OpenPOWER on IntegriCloud