home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
World of A1200
/
World_Of_A1200.iso
/
programs
/
system
/
reset
/
docs
/
english
/
reset.doc
next >
Wrap
Text File
|
1995-02-27
|
4KB
|
89 lines
Reset
Version 3.1 on 3/30/1994
by Martin Schlodder
This is version 3.1 of Reset, an update to the version 3.03.
This program only runs with OS 2.0 or higher. It behaves like a typical CLI
command through the use of ReadArgs(). If run with OS 2.1 or higher, it is
fully localized.
------------------------------------------------------------------------------
Reset allows you to perform a reset by simply typing it. It is designed to
avoid read-write errors by waiting until all disk aktivity is finished.
Additionally it gives you five seconds time to abort the reset (via CTRL-C).
Usage: Reset [HELP|SIMPLE|COLD|KICK|QUICK]
- The option 'HELP' shows some shortened information about the program.
- No option or 'SIMPLE' will perform a simple reset which behaves like
having pressed the keys <control><left amiga><right amiga> together.
- The option 'COLD' removes the ExecBase and with that everything that is
resident in the system e.g. ram disks, viruses etc. After such a reset
the computer is in exaclty the state as if it were just switched on (or
in case of the Amiga 1000, as if the Kickstart has just been loaded).
- The option 'KICK' removes the Kickstart from A1000's WOM. It still works
fine with expanded WOM. There must be FAST memory available, which should
be MEMF_LOCAL (i.e. directly connected to the processor), because Reset
must write to the WOM to remove the working Kickstart, and that is only
possible after a RESET from the processor. And as this also overlays the
chip memory by the WOM and resets any peripheral RAM, the routine per-
forming the actual removal and reset must run in FAST local memory.
- If the option 'QUICK' is given, Reset omits the countdown.
------------------------------------------------------------------------------
Copyright:
This program is freeware. You may use and copy it as you want, as long as
you leave it unchanged.
DISCLAIMER:
I am not responsible for loss of data, damage or other problems resulting di-
rectly or indirectly from the use of this program.
------------------------------------------------------------------------------
For questions or suggestions call me via EMail (internet):
schlodder@student.uni-tuebingen.de
Or write me:
Martin Schlodder
Uhlandstr. 18
D-72336 Balingen
------------------------------------------------------------------------------
History:
V1.0: First version. (Doesn't run under OS 2.0)
V2.0: Works now under OS 2.0 (ColdReboot()).
V2.01: Tests for FastMem before removing KickStart.
V2.02: Now errors may be displayed in German.
V2.1: The Kick 1.3 reset was adapted to DoColdReset (by Commodore), and a
countdown was added.
V2.2: The countdown was made visible and Break (CTRL-C) was enabled.
V2.3: The chosen type of reset is now displayed and the break routine is
called more often (feels better).
V2.31: Uses now Output() instead of Open("*",MODE_READWRITE), for the old
version didn't work with Kick 1.3.
V3.0: Inhibits the volumes first, so that there shouldn't occur any damned
read-write-error. As it uses the functions Inhibit() and ReadArgs(),
it only runs with OS 2.0 and higher.
V3.01: Made cursor invisible during countdown and replaced FPuts by PutStr.
V3.02: Now sets the pr_WindowPtr to -1. (this avoids the (most disturbing)
'Please insert volume...' requester.)
V3.03: Allocates MEMF_LOCAL for removing kick (if possible). Now Write() is
used again instead of PutStr() to avoid line jumping.
V3.1: Localized and option QUICK introduced. Code partially rewritten.
------------------------------------------------------------------------------
//
Thanks to \X/ Amiga for being the best computer ever !