| > re .2:
> Could you upload your reboot program? I've been looking for one that
> I could invoke from the CLI.
>
> thanks,
> dennis
Here it is -
wjg::amiga:reboot.lzh
have fun!
john
(README follows)
This program is provided with absolutely NO warranty or guarantee
whatsoever. If it causes any problems (I don't suspect that it will)
your on your own...
There, now that my concious is clear, here is reboot.
This is a program to reboot the amiga from a CLI. It is based on an
article in CBM CATS AmigaMAIL page exec/9 by Bryce Nesbitt on rebooting
Amigas (ColdReboot()). He claims it is the current "best way" to software
reboot the amiga (article dated 2/90). He also claims some GVP accelerators
will hang but GVP offers a pal to fix this.
I wrote this as a way of dealing with the Hurricane 68030 in my machine.
The Hurricane does not autoconfigure its 32 bit memory (UGH!) but they
do provide a program (HurricaneConfig) that, once loaded, will execute
very early on soft reboots (ctrl-amiga-amiga) and make it appear as
though the memory has autoconfigured. My problem was that upon cold boot
the GVP hardcard drivers would eat chip memory until I rebooted and
got the 32 bit stuff via HurricaneConfig.
reboot takes 2 options:
reboot [-r] [-c min_chipmem]
reboot -r will wait 5 seconds and then reboot the amiga
(waits 5 seconds for disk activity to complete)
reboot -c min_chipmem will check to see if the current amount of
available CHIP memory is less than the specified amount.
If it is, a reboot will occur.
I put:
HurricaneConfig
reboot -c 600000
in my startup-sequence. When I cold boot, the 32 bit stuff will not be there
so the gvp drivers will load into chip memory leaving less than 600K free.
The amiga automatically reboots and then has 32 bit mem for the drivers since
the HurricaneConfig stuff (which is now hiding out) will execute even before
the bus is configured (and gvp loads its drivers).
|