Page 1 of 1

memory protection

Posted: Thu Jul 28, 2005 11:00 pm
by rayne
Hello!

I'm desparetly wondering how can I disallow programs to access memory that are outside of their space. Actually, how to implement a virual memory system... My target CPU is a motorola 68020 or 68000.

Thanks in advance.

Re: memory protection

Posted: Thu Jul 28, 2005 11:00 pm
by ComputerPsi
I suggest your first step would be to get into Protected Mode. There, you can set limitations for where programs can go, and where they can't. To step up everything is a bit hard though. It would be best to look up some tutorials about getting into Protected Mode.

Re: memory protection

Posted: Fri Aug 05, 2005 11:00 pm
by carbonBased
Protected mode is an intel-ism, 68k processors are motorola.

ComputerPSI, a division of my job works with Motorola proc's... I'll see what I can find out about memory protection.

Cheers,
Jeff