Hangar.La tienda de software del Amiga

checkfast 1.1

Resets Ami if no fastmem-Good for A620

Short:        Resets Ami if no fastmem-Good for A620
Author:       Jess Sosnoski (at the below address!!!)
Uploader:     starblaz postoffice ptd net
Type:         util/boot
Version:      1.1
Requires:     Kickstart V36+
Architecture: m68k-amigaos

Long:
Two commands to do something if no fastmem is found.

NOFASTRESET Resets your machine by calling exec's coldreboot() function
if no fastmem is found.
CHECKFAST Sends a returncode of 5 (WARN) if no fastmem is found.


Why?
---
I own an Amiga 600 and an Apollo A620 020 accellerator card, and
under certain circumstances, when the machine crashes, or I exit
certain system-unfriendly programs, I lose my fastmem.
After this there were two courses of action I could take:
1.)  Turn the machine off for 10 seconds, then back on
2.)  Run a coldboot program and hope that it resets my machine
     enough to reconfigure/reinitialize the ram on the A620.

Here's a third option:
---------------------
Place NOFASTRESET in the first line of your startup-sequence.
If your machine crashes bad, and my little assembly proggy sees that
your fastram went bye-bye, it will soft-coldreboot the machine, and
hopefully, expansion.library will reinitialize the ram.
(it is possible that the crash is bad enough for even this proggy
 to not sufficiently reset your machine, and you'll have to give
 your Amiga a long 3-finger salute)

This may also be useful for other accellerator cards, etc, which have
the same problem, but AFAIK, the a620 is the only one that does this.
(Does anyone know if the A630 does this?)

Here's a FOURTH option:
----------------------
Add these lines to the beginning of your startup-sequence

checkfast
IF WARN
	{ Anything you want to do if you lose your fastmem }
ENDIF

For example, I could put in an addmem $200000 $a00000 32 to autoadd the mem
or perhapse something like:
 echo "Huh huh, this sucks, there's like no fast memory or something..."


History:
1.0	Only had executable "checkfast" which resets machine if no fastmem
	found.

1.1	Changed checkfast to nofastreset, and added a new checkfast which
	returns a returncode 5 (WARN) if no fastmem is found.
	Sorry about the confusion.

Gratis

Descargar 1 KB

Desde el Amiga: abre Hangar y busca checkfast.

AutorJess Sosnoski (at the below address!!!)
Categoríautil/boot
Tamaño1 KB
Param68k-amigaos
NecesitaKickstart V36+
OrigenAminet