Short: Start NetBSD or Amiga-DOS with L-Shift Author: Christoph Wilhelm Uploader: Peter Böckmann Type: util/boot BSD-Switch © 1995 - Christoph Wilhelm ===================================== Are YOU a regular user of NetBSD? Are YOU also a regular user of Amiga-DOS based programs? Are YOU tired of starting NetBSD manually or are YOU tired of changing you Startup-Sequence? --> Try BSD-Switch! About this program ================== After installing NetBSD one year ago, I first wrote a short batch script that started NetBSD with the "loadbsd" command. This worked fine, but it needed Amiga-DOS to work. So I decided to implement some short GUI-programm with two buttons allowing me to choose at startup-time wether I want load NetBSD or not. I am a regular user of the Retina Z2 graphics card and the Commo' deinterlace card using two different Startup-Sequences for each possible screen-resolution. So, it was (of course!) impossible to get IDCMP-input from both, the retina and the interlaced AGA screen. I decided that screen- output isn't necessary and wrote a short hack that starts AmigaDOS if the left Shift key is pressed on boot-time and NetBSD if not. The program works fine now for nearly one year and after the apperance of the NetBSD-distribution on MeetingPearls II and the "Amiga Son- derheft CD" I decided to make the program available for public. Here it is! Requirements ============ - Kickstart 2.04+ - 5 kb of memory - a working NetBSD - and of course an Amiga! Installation ============ 1. copy 'BSD-Switch' to your C: directory 2. edit your Startup-Sequence and place C:BSD-Switch >nil: just BEFORE your SetPatch-command. = the directory, where your 'loadbsd' command is located = The name of the kernel and its path Example: 1. your 'loadbsd' command is in the C: directory 2. your kernel is in 'devs:kernel' and is called 'netbsd.lite' -> C:BSD-Switch C: devs:kernel/netbsd.lite >nil: should be the first entry of your Startup-Sequence Remarks ======= a) BSD-Switch starts the kernel always in Multiuser-Mode. b) Pressing left shift at boot starts AmigaDOS. c) look at the source-code and change it to satisfy your needs. Legal Mumbo-Jumbo ================= I am not responsible for any damage caused by this program. "bsd-switch" and the contents of this archive, modified or unmodified, MUST NOT be used with or within any comercial products. -> Free Information for ALL ! p.s. Try VIm! It's the best editor of the world! ===================================================================== Christoph Wilhelm P.O. Box 1360 57537 Wissen (Sieg) Germany ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 0 0 0.0% 19-Jun-95 14:45:08 + 6544 4241 35.1% 18-Jun-95 21:07:18 +bsd-switch 3062 1200 60.8% 18-Jun-95 21:06:54 +bsd-switch.c 2785 1321 52.5% 18-Jun-95 21:21:56 +bsd-switch.readme 96 84 12.5% 18-Jun-95 21:08:02 +scoptions -------- ------- ----- --------- -------- 12487 6846 45.1% 19-Jun-95 14:03:22 5 files