memory protection

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
rayne
Posts: 1
Joined: Thu Jul 28, 2005 11:00 pm

memory protection

Post 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.
ComputerPsi
Member
Member
Posts: 83
Joined: Fri Oct 22, 2004 11:00 pm

Re: memory protection

Post 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.
Anything is possible if you put your mind to it.
ComputerPsi
User avatar
carbonBased
Member
Member
Posts: 382
Joined: Sat Nov 20, 2004 12:00 am
Location: Wellesley, Ontario, Canada
Contact:

Re: memory protection

Post 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
Post Reply