From 07c6e768fc26570f7ed11d9bc774162ba694cade Mon Sep 17 00:00:00 2001 From: joerg Date: Fri, 7 Nov 1997 00:18:25 +0000 Subject: Pah! I didn't stick to my own advise to adjust the padding... --- usr.sbin/mkdosfs/bootcode.asm | 4 ++-- usr.sbin/mkdosfs/bootcode.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'usr.sbin/mkdosfs') 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 */ -- cgit v1.1