home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 7607 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.8 KB

  1. Path: u-psud.fr!usenet
  2. From: vogt@alice.obspm.fr (Etienne Vogt)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: Strange guru B800 8035 || ideas about a mmu.device
  5. Date: 19 Apr 1996 11:18:29 GMT
  6. Organization: Observatoire de Paris-Meudon
  7. Message-ID: <4l7sq5$fhm@upsn6.u-psud.fr>
  8. References: <19960418.79A1918.9A43@alice.obspm.fr> <31766531.7AF7@info.unicaen.fr>
  9. NNTP-Posting-Host: mesioe.obspm.fr
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=iso-8859-1
  12. Content-Transfer-Encoding: 8bit
  13. X-NewsSoftware: GRn 2.1 Feb 19, 1994
  14.  
  15.  
  16. In article <31766531.7AF7@info.unicaen.fr> Samuel Devulder <devulder@info.unicaen.fr> writes:
  17. > Well, there is a trap called in that case and an official guru number
  18. > for it... my opinion is that is rather a bug in VMM or in gcc.
  19.  
  20. Task level trap handlers are not called when an exception occurs in supervisor
  21. mode, the system exception handler goes directly to the guru.
  22. The 'official guru number' (8000 0002) you refer to is not specifically for 
  23. pagefaults (AmigaOS does not support virtual memory), it is for all types
  24. of Bus/Access errors. In fact, I never saw a 8000 0002 guru !
  25. VMM takes over the Bus/Access error 680x0 exception vector, so it is likely
  26. for me that it will use some specific guru number when it detects a pagefault
  27. in supervisor mode.
  28.  
  29. > Yes, in my case ixemul has no swap-code. So that is not the source
  30. > of the trouble.
  31.  
  32. Any other thing that contains supervisor code may cause a crash if it is
  33. allowed to be swapped out. And this can be a lot of things : for example
  34. the Aztec C compiler startup code contains supervisor code to init the FPU !
  35. Basically anything that calls Supervisor() or that uses interrupt handlers
  36. is unsafe.
  37.  
  38. -- 
  39.         Etienne Vogt (Etienne.Vogt@obspm.fr)
  40.         Graduate student at Meudon Observatory, France.
  41.         Amiga programmer
  42.