🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.amiga.tech
Article #10125

Re: Fast non-autoboot

#10125
From: Matt Dillon
Date: Wed, 26 Oct 1988 03:20
96 lines
2909 bytes
:Bob Page, page@swan.ulowell.edu  ulowell!page Writes:
:Here's mine:
:
:Mount WB:
:DefDisk WB:
:Assign T: RAM:
:Execute S:Startup-Sequence

Here's mine: (floppy s/startup-sequence)

binddrivers
mount dhb:
dhb:c/execute dhb:s/startup-sequence
dhb:c/endcli >nil:

    My floppy startup essentially consists of two lines.  The last
two are, obviously, run from my HD.  The HD startup sequence starts up
ConMan, opens a new CLI window with yet a third startup file, and then
ends... the floppy sequence closes down the original CLI window and 
exits while the HD continues with its boot sequence.

    The HD continues running startup-2 in the new CLI (ConMan'd) window
and does everything else, including re-assigning everything, mounting
the remaining HD partitions, starting up my shell, etc...  Since I have
removed all references to the floppy, including references to the original
startup sequence (because it ended), it disappears from the device list if
I eject it.

    (dhb:s/startup-sequence)  DHB: is a small 3MB partition on my HD.

dhb:c/stack 10000
dhb:c/assign l: dhb:l
dhb:c/assign libs: dhb:libs
dhb:c/cd ram:
dhb:c/conman -b1000
dhb:c/newcli con:40/40/600/160/AmigaDOS FROM dhb:s/startup-2

    (dhb:s/startup-2) .. because the newcli command needs an execute script.

dhb:c/shell dhb:c/.rootlogin
endcli > nil:

    (dhb:c/.rootlogin (for the shell))

#   Executed just once

cat dhb:MOTD
echo
echo Boot in progress
cd dhb:
dhb:c/rez dasm dme cc as ln run path assign mount Set >nil:
#dhb:c/rez arc zoo compress uncompress >nil:
dhb:c/assign c: dhb:c
assign devs: dhb:devs
assign sys: dhb:
assign libs: dhb:libs
assign fonts: dhb:fonts
assign l: dhb:l
assign s: dhb:s
assign t: ram:
assign comp: dhb:
assign SYS2: comp:
assign ENV: sys:env
assign include: comp:include
assign clib: comp:clib
path reset
startime
ff
runback c:clock
mount vd0:
mount pipe:
mount path:
dmouse -c2 -l0 -C newcli "<nil: >nil: con:320/120/320/80/Shell c:shell.exe"
cd ram:
Set CLIB=comp:clib/
Set CCTEMP=ram:
Set INCLUDE=comp:include/\!comp:asm/
echo Mounting DH0 DH1 DH2 DH3
mount dh0:
mount dh1:
mount dh2:
mount dh3:
echo -n >path:c
echo Boot:c/^jGamma:c/^jAlpha:c/ >>path:c
assign c: path:c
# these files contain specific assign's for the partitions.
source dh3:c/init.sh
source dh2:c/init.sh
source dh1:c/init.sh
source dh0:c/init.sh
source c:.login
mwb i W30 H12
rez -r mount Set assign path >nil:
echo Amiga OS1.3 SHELL ready.

					-Matt
Technical Details
Message-ID: <8810260320.AA03332@cory.Berkeley.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!nrl-cmf!ames!pasteur!ucbvax!CORY.BERKELEY.EDU!dillon

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!ukma!nrl-cmf!ames!pasteur!ucbvax!CORY.BERKELEY.EDU!dillon
From: dillon@CORY.BERKELEY.EDU (Matt Dillon)
Newsgroups: comp.sys.amiga.tech
Subject: Re: Fast non-autoboot
Message-ID: <8810260320.AA03332@cory.Berkeley.EDU>
Date: 26 Oct 88 03:20:37 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Lines: 96