home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: sparky!uunet!cs.utexas.edu!qt.cs.utexas.edu!yale.edu!ira.uka.de!rz.uni-karlsruhe.de!stepsun.uni-kl.de!sun.rhrk.uni-kl.de!apel
- From: apel@physik.uni-kl.de (Martin Apel (SAGA))
- Subject: Re: Testing a custom trap handler
- Message-ID: <1992Sep2.113950.25818@rhrk.uni-kl.de>
- Sender: news@rhrk.uni-kl.de
- Organization: University of Kaiserslautern, Germany
- References: <s442013.715318366@yorku.ca>
- Date: Wed, 2 Sep 1992 11:39:50 GMT
- Lines: 32
-
- s442013@nexus.yorku.ca (Ray Frederick) writes:
- : I have a custom trap handler that I would like to test in Supervisor Mode
- : on my A3000. I am using Powervisor to step through the code but as soon as
- : I move the address of the handler to tc_TrapData, the computer executes
- : the code and stops at the RTE. In order to step through the trap handler
- : I would like to put my User program in Supervisor mode so I have access to
- : the usp and other privileged instructions. I'm also hoping this will allow
- : me to step through the code.
- :
- : Basically, I would like to set bit 13 of the SR from a user program so
- : it will have Supervisor access to the instructions.
- :
- : Also, are there any other debugging tools that I can use on 680x0 code?
- : I use Powervisor and Monitor 1.54.
- :
- :
- : Ray.
- :
-
- As far as I know, there's no task-switching in supervisor mode, so you
- can't use a debugger for debugging supervisor mode programs. It simply
- wouldn't run until the processor is out of supervisor mode.
- --
- Reachable as: I do hate sums. There is no greater
- apel@gypsy.physik.uni-kl.de mistake than to call arithmetic an
- (Martin Apel) exact science. There are .. hidden
- laws of number which it requires a
- mind like mine to perceive. For
- instance, if you add a sum from the
- bottom up, and then again from the
- top down, the result is always
- different.
-