[Search for users]
[Overall Top Noters]
[List of all Conferences]
[Download this site]
Title: | AMIGA NOTES |
Notice: | Join us in the *NEW* conference - HYDRA::AMIGA_V2 |
Moderator: | HYDRA::MOORE |
|
Created: | Sat Apr 26 1986 |
Last Modified: | Wed Feb 05 1992 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 5378 |
Total number of notes: | 38326 |
2203.0. "SRT - just say NO to GURU!" by JUDJUD::MYEE (Care about Ecology? Call 800-225-5333) Mon Feb 06 1989 10:05
HPSCAD::zygon:[myee.yee.amiga]SRT.ARC
Here's a great program I just download. It seems to work similar
to GOMF1.0. On a "Software error - task held" you will get a
chance to put the offending task in hold forever (don't know if
SRT tries to free up resources or not?). The code is much smaller
than GOMF. The main function of SRT (Set Requester Text) is to
replace the text in the System Autorequestor boxes with your own
text!! The readme file follows:
For your beta testing pleasure...
SRT (Set Requester Text) v1.31 by Carolyn
Usage: SRT file|RESET|? (default text file - s:srt.text)
This program installs a wedge into AutoRequest for the purpose
of replacing the text of standard system requesters.
SPECIAL BONUS (but wait! there's more!)
If your replacement text for "Software error - task held" is "DEBUG",
SRT will replace those useless Software Error requesters with a full
width display of the PC, SP, registers, task address, and name of the
task/command/process that crashed. And the left gadget will now allow
you to get rid of the requester and just have that task wait forever.
You can even install srt AFTER you have crashed, if you can pop up a
CLI to install it from. Just install srt then click RETRY in your old
SW Error Task Held requester. The new requester will be the full width
srt debugging requester. Handy for those of us who don't plan ahead.
You provide the replacement text in an ascii file of the following
form:
N=linecount
"old text" "new text"
"old text" "new text"
etc.
I have provided a sample file called "srt.text".
S:srt.text is the default text file for srt. If you place srt.text in
your s: directory, you can install srt by just typing SRT<ret>.
If you have a different replacement text file, just pass it as CLI arg:
Example: SRT myreq.text
I have also provided several small programs (each called crashN where
N = the number of the exception the program causes).
After installing SRT (with my srt.text), you can test the new DEBUG requester
by running any of those programs >NIL:.
Example: run >NIL: crash8
I think I've now got it working right for both 68000 and 68020,
but would appreciate somebody testing "crash3" on a 68020 and
making sure the PC shown is correct (it should show a value within
about 4 bytes of the value shown in one of the A registers).
(Each of my "crash" programs stores sequential numbers in the
registers, then stores its own SP and PC in two of the A registers
prior to causing the crash, so I can visually check that the DEBUG
requester SP and PC displays are correct).
T.R | Title | User | Personal Name | Date | Lines |
---|
2203.1 | Wrong address | JUDJUD::MYEE | Care about Ecology? Call 800-225-5333 | Mon Feb 06 1989 11:36 | 7 |
|
Whoops, make that HPSCAD::zygon:[myee.yee.amiga]SRT.ZOO.
^^^
This program is a MUST HAVE!
=Mike
|