home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / sys / amiga / programm / 12930 < prev    next >
Encoding:
Text File  |  1992-08-31  |  1.1 KB  |  28 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: sparky!uunet!usc!cs.utexas.edu!torn!newshub.ccs.yorku.ca!yorku.ca!s442013
  3. From: s442013@nexus.yorku.ca (Ray Frederick)
  4. Subject: Testing a custom trap handler
  5. Message-ID: <s442013.715318366@yorku.ca>
  6. Sender: news@newshub.ccs.yorku.ca (USENET News System)
  7. Organization: York University
  8. Date: Tue, 1 Sep 1992 03:32:46 GMT
  9. Lines: 17
  10.  
  11. I have a custom trap handler that I would like to test in Supervisor Mode 
  12. on my A3000. I am using Powervisor to step through the code but as soon as
  13. I move the address of the handler to tc_TrapData, the computer executes
  14. the code and stops at the RTE. In order to step through the trap handler
  15. I would like to put my User program in Supervisor mode so I have access to
  16. the usp and other privileged instructions. I'm also hoping this will allow
  17. me to step through the code.
  18.  
  19. Basically, I would like to set bit 13 of the SR from a user program so
  20. it will have Supervisor access to the instructions.
  21.  
  22. Also, are there any other debugging tools that I can use on 680x0 code?
  23. I use Powervisor and Monitor 1.54.
  24.  
  25.  
  26. Ray.
  27.  
  28.