diff options
author | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-08-09 21:03:48 +0000 |
---|---|---|
committer | Tobias Weingartner <weingart@cvs.openbsd.org> | 1997-08-09 21:03:48 +0000 |
commit | 8c0944adbfe4274458940618b03e4dddc8047521 (patch) | |
tree | 72e7c545ca5be633a5aee17e2a83548dceb7efbb /sys/arch/i386/stand/mbr | |
parent | ba3c066854b71d1c216a711c26b604cd88253d68 (diff) |
Fix boot message
Diffstat (limited to 'sys/arch/i386/stand/mbr')
-rw-r--r-- | sys/arch/i386/stand/mbr/mbr.S | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/i386/stand/mbr/mbr.S b/sys/arch/i386/stand/mbr/mbr.S index 08e9f567555..6ee708cbc1a 100644 --- a/sys/arch/i386/stand/mbr/mbr.S +++ b/sys/arch/i386/stand/mbr/mbr.S @@ -1,4 +1,4 @@ -/* $OpenBSD: mbr.S,v 1.7 1997/08/08 22:46:13 weingart Exp $ */ +/* $OpenBSD: mbr.S,v 1.8 1997/08/09 21:03:47 weingart Exp $ */ /* * Copyright (c) 1997 Michael Shalayeff and Tobias Weingartner @@ -206,23 +206,25 @@ err_stop: /* Found bootable partition */ found: DBGMSG(CHAR_B) -#if 0 pushl %ax /* Save drive and partition */ movl %dx, %ax andl $0x0F, %ax orl $0x30, %ax - movb %al, adrive + #movb %al, adrive + .byte 0xA2 + .word adrive movl %cx, %ax decl %ax xor $0x03, %ax andl $0x0F, %ax orl $0x30, %ax - movb %al, aprtn + #movb %al, aprtn + .byte 0xA2 + .word aprtn popl %ax -#endif /* Load values from active partition table entry */ # movb 1(%si), %dh # head @@ -258,12 +260,10 @@ found: 1: DBGMSG(CHAR_G) -#if 1 data32 movl $info, %esi data32 call message -#endif # jump to the new code (%ds:%si is at he right point) data32 |