[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Trans.: Re: Questions about 68040
>> When you encounter a bus fault for reading of 0x5a0, tweak PMMU to
>> allow for reading (and reading only) of 0x0-0x1000 (or 0x0-0x2000, I
>> don't which page size MiNT uses), modify SR on stack to set TRACE
>> mode, and install tour own trace handler. Then ReTurn from Exception.
There may be some problem with it, though. Namely, the first portion of the
memory (2k or something) is protected from being accessed in user mode, but
AFAIK, the protection is not done by MMU, but rather by the ST hardware. If
so, modification of the MMU configuration won't help, the error will occur
anyways.
Am I right with this?
--
CVV
Konrad M.Kokoszkiewicz, http://draco.atari.org
** Ea natura multitudinis est,
** aut seruit humiliter, aut superbe dominatur.
** Taka to juz natura pospólstwa, albo sluzalczo sie plaszczy,
** albo bezczelnie sie panoszy. (Liwiusz XXIV, 25).