home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / mac / programm / 14279 < prev    next >
Encoding:
Internet Message Format  |  1992-08-20  |  1.7 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!lsr.taligent.com!user
  2. From: lsr@taligent.com (Larry Rosenstein)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: StripAddress
  5. Message-ID: <lsr-200892104834@lsr.taligent.com>
  6. Date: 20 Aug 92 18:05:30 GMT
  7. References: <1992Aug18.181714.12276@midway.uchicago.edu><Bt74v9.KGF@taligent.com> <1992Aug19.101953.10190@waikato.ac.nz> <NEERI.92Aug19104845@iis.ethz.ch> <1992Aug20.180918.10249@waikato.ac.nz>
  8. Sender: usenet@taligent.com (More Bytes Than You Can Read)
  9. Followup-To: comp.sys.mac.programmer
  10. Organization: Taligent, Inc.
  11. Lines: 27
  12.  
  13. In article <1992Aug20.180918.10249@waikato.ac.nz>, ldo@waikato.ac.nz
  14. (Lawrence D'Oliveiro, Waikato University) wrote:
  15. > I just had a quick look at the code for SwapMMUMode on my IIfx, and while it
  16.  
  17. If my PowerBook 140 is in 24-bit addressing then StripAddress always masks
  18. with MaskBC, and SwapMMUMode does something complicated.
  19.  
  20. In 32-bit addressing mode, however, StripAddress just does an RTS and
  21. SwapMMUMode does nothing but return 1.
  22.  
  23. > Anyway, StripAddress shouldn't alter its behaviour if you temporarily switch
  24. > from 24 to 32-bit mode.
  25.  
  26. Which is why SwapMMUMode doesn't change the the StripAddress trap address. 
  27. The StripAddress trap address should be determined at boot time based on
  28. whether the machine is booting into 24- or 32-bit addressing mode.
  29.  
  30. What's strange is that the Quadra 900 StripAddress tests the 24/32 flag,
  31. since the action of StripAddress shouldn't depend on the current MMU
  32. setting.  This works when you boot in 32-bit mode because SwapMMUMode is
  33. always a NOP.  But I wonder what happens when you boot in 24-bit mode. 
  34.  
  35. Larry Rosenstein
  36. Taligent, Inc.
  37.  
  38. lsr@taligent.com
  39.