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

Re: [MiNT] Memory protection for the FireBee?

On Wed, Aug 26, 2015 at 9:50 PM, Vincent Rivière <vincent.riviere@freesbee.fr> wrote:
I saw in FreeMiNT sources something like "fake supervisor mode". >From what I understood, when that mode is enabled Super() does not really switch to supervisor mode. It does some black magic (privilege violation handler?) to get the program running, anyway. This can be acceptable if the program just executes a few instructions in supervisor mode, such as reading TOS variables. Maybe I'm completely mistaken, these are only old reminiscences in my mind.

Oh my god, you made me remember that actually this implementation is based on my proposal from 11 years ago! :) First I got the usual "dumb democoders, they no nothing about clean OS programming" rant but after Frank's proposal Draco really implemented it in full glory in July 2004. To my great shame, I've actually never used/tried this feature. So if it helps making memory protection on the FireBee reality then I can die peacefully, my existence in this world wasn't futile! ;-)

MiKRO / Mystic Bytes