[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Memory protection enabled by default?



On 3 January 2013 10:33, Alan Hourihane <alanh@fairlite.co.uk> wrote:
> On 01/03/13 09:12, J. F. Lemaire wrote:
>> I noticed that after deleting the file MINT.INI FreeMiNT tries to
>> initialize memory protection the next time it boots. Is this
>> intentional? There is so much stuff that can break with MP that I'm
>> not sure it is a wise decision to have this as default.

> I think having memory protection on by default is the sane thing to do.
>
> If something breaks when it's on, it's more than likely a bug which should
> be fixed.

Ideally, yes. But most applications that break with MP cannot be fixed
because their sources aren't available. Judging by the number of
advice that goes along the lines of "disable memory protection and
reboot" on the Atari forums because somebody's freshly installed MiNT
setup crashes all the time, I would really think this through again.

For example, even a quite decent program such as ResourceMaster has
one of its modules crash with MP when exporting the C header file. We
can't fix that.

Don't get me wrong: I used memory protection on my Falcon and I wish I
could use it on my FireBee. But I'm probably in the minority that only
uses clean (or almost clean) programs.

Cheers,
JFL
-- 
Jean-François Lemaire