home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12997 < prev    next >
Encoding:
Text File  |  1992-09-02  |  1.8 KB  |  44 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. 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
  3. From: apel@physik.uni-kl.de (Martin Apel (SAGA))
  4. Subject: Re: Testing a custom trap handler
  5. Message-ID: <1992Sep2.113950.25818@rhrk.uni-kl.de>
  6. Sender: news@rhrk.uni-kl.de
  7. Organization: University of Kaiserslautern, Germany
  8. References: <s442013.715318366@yorku.ca>
  9. Date: Wed, 2 Sep 1992 11:39:50 GMT
  10. Lines: 32
  11.  
  12. s442013@nexus.yorku.ca (Ray Frederick) writes:
  13. : I have a custom trap handler that I would like to test in Supervisor Mode 
  14. : on my A3000. I am using Powervisor to step through the code but as soon as
  15. : I move the address of the handler to tc_TrapData, the computer executes
  16. : the code and stops at the RTE. In order to step through the trap handler
  17. : I would like to put my User program in Supervisor mode so I have access to
  18. : the usp and other privileged instructions. I'm also hoping this will allow
  19. : me to step through the code.
  20. : Basically, I would like to set bit 13 of the SR from a user program so
  21. : it will have Supervisor access to the instructions.
  22. : Also, are there any other debugging tools that I can use on 680x0 code?
  23. : I use Powervisor and Monitor 1.54.
  24. : Ray.
  25. :  
  26.  
  27. As far as I know, there's no task-switching in supervisor mode, so you
  28. can't use a debugger for debugging supervisor mode programs. It simply 
  29. wouldn't run until the processor is out of supervisor mode.
  30. --
  31. Reachable as:                I do hate sums. There is no greater
  32. apel@gypsy.physik.uni-kl.de        mistake than to call arithmetic an
  33. (Martin Apel)                exact science. There are .. hidden
  34.                     laws of number which it requires a
  35.                     mind like mine to perceive. For
  36.                     instance, if you add a sum from the
  37.                     bottom up, and then again from the 
  38.                     top down, the result is always
  39.                     different.
  40.