home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!ames!data.nas.nasa.gov!taligent!lsr.taligent.com!user
- From: lsr@taligent.com (Larry Rosenstein)
- Newsgroups: comp.sys.mac.programmer
- Subject: Re: StripAddress
- Message-ID: <lsr-200892104834@lsr.taligent.com>
- Date: 20 Aug 92 18:05:30 GMT
- 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>
- Sender: usenet@taligent.com (More Bytes Than You Can Read)
- Followup-To: comp.sys.mac.programmer
- Organization: Taligent, Inc.
- Lines: 27
-
- In article <1992Aug20.180918.10249@waikato.ac.nz>, ldo@waikato.ac.nz
- (Lawrence D'Oliveiro, Waikato University) wrote:
- >
- > I just had a quick look at the code for SwapMMUMode on my IIfx, and while it
-
- If my PowerBook 140 is in 24-bit addressing then StripAddress always masks
- with MaskBC, and SwapMMUMode does something complicated.
-
- In 32-bit addressing mode, however, StripAddress just does an RTS and
- SwapMMUMode does nothing but return 1.
-
- > Anyway, StripAddress shouldn't alter its behaviour if you temporarily switch
- > from 24 to 32-bit mode.
-
- Which is why SwapMMUMode doesn't change the the StripAddress trap address.
- The StripAddress trap address should be determined at boot time based on
- whether the machine is booting into 24- or 32-bit addressing mode.
-
- What's strange is that the Quadra 900 StripAddress tests the 24/32 flag,
- since the action of StripAddress shouldn't depend on the current MMU
- setting. This works when you boot in 32-bit mode because SwapMMUMode is
- always a NOP. But I wonder what happens when you boot in 24-bit mode.
-
- Larry Rosenstein
- Taligent, Inc.
-
- lsr@taligent.com
-