From dab70e6816ff75ff48afda974bd3b88bf6ae1e84 Mon Sep 17 00:00:00 2001 From: gavan Date: Thu, 13 Jun 2002 08:41:52 +0000 Subject: [PATCH] Support for new NBKernel filetype. The user can now double click a NetBSD kernel to boot straight into that kernel. --- distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Boot | 6 +++++- distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Run | 4 ++-- distrib/acorn32/stand/BtNetBSD/!BtNetBSD/fastboot | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Boot b/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Boot index 5906d67994c2..0102352c585a 100644 --- a/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Boot +++ b/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Boot @@ -1,7 +1,11 @@ | -| $NetBSD: !Boot,v 1.1.1.1 2002/05/09 20:03:57 jdolecek Exp $ +| $NetBSD: !Boot,v 1.2 2002/06/13 08:41:52 gavan Exp $ | boot file for !BtNetBSD application | IconSprites .!Sprites Set File$Type_fe6 Unix +Set File$Type_1a9 NBKernel Set BtNetBSD$Dir + +Set Alias$@RunType_1a9 Run .!Run %%*0 + diff --git a/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Run b/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Run index dd78a1d8d6ce..f272e8542b6c 100644 --- a/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Run +++ b/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/!Run @@ -1,4 +1,4 @@ -| $NetBSD: !Run,v 1.1.1.1 2002/05/09 20:03:57 jdolecek Exp $ +| $NetBSD: !Run,v 1.2 2002/06/13 08:41:52 gavan Exp $ | | run file for !BtNetBSD application | @@ -11,4 +11,4 @@ Set BtNetBSD$Dir | needs the memfix module Run .checkro403 -Obey .fastboot +Obey .fastboot %*0 diff --git a/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/fastboot b/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/fastboot index 93733d5867a9..40b1761ebb98 100644 --- a/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/fastboot +++ b/distrib/acorn32/stand/BtNetBSD/!BtNetBSD/fastboot @@ -1,11 +1,11 @@ -| $NetBSD: fastboot,v 1.1.1.1 2002/05/09 20:03:58 jdolecek Exp $ +| $NetBSD: fastboot,v 1.2 2002/06/13 08:41:52 gavan Exp $ | | Fast boot configuration file, edit by hand, save and run !BtNetBSD | Part of !BtNetBSD | | First mount the root partition wd0a in this case for the kernel -Run .native.mountufs ADFS 4 +If "%*0" = "" Then Run .native.mountufs ADFS 4 | Run The PreBoot file for various extra settings nessisary Run .PreBoot @@ -17,7 +17,7 @@ Set NetBSD$ScreenMode "X1024 Y768 C256" | Select Kernel, Root and Bootoptions | add `oldkernel' to BootOptions for booting old a.out kernels | -Set NetBSD$Kernel UnixFS:$.netbsd +If "%*0" = "" Then Set NetBSD$Kernel UnixFS:$.netbsd Else Set NetBSD$Kernel %*0 Set NetBSD$Root /dev/wd0a Set NetBSD$BootOptions maxproc=64 noftp symtab