Amiga.org
Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: kas1e on December 01, 2005, 06:48:25 PM
-
I am interesting, what this option doing exactly ? In documentation for warp-os i found only this:
"Can be either 0 or 1. If it is set to 1, the memory-protection facilities of WarpOS are switched on, otherwise off. If low-memory situations occur it can help to switch off memory protection."
And nothink more .. Can someone give me some deep explain ?
-
Mem protection is there to stop your system crashing if a program crashes. In turn Mem protection uses a certain amount of memory itself. So leave it on if you can (1) and if you find that you keep running out of memmory, then turn it off (0).....seems clear enough. :-)
-
@kas1e
It's a debugging aid for programmers. Basically it makes WOS throw exception earlier on illegal accesses, so it in fact makes WOS apps die easier. It doesn't prevent WOS apps from nuking the system.
It doesn't make any difference with bug free applications (except some extra mem usage).
-
does memory protection make your system slower or is it just a myth?
-
@piru
In other words, env:powerpc/memprot do not give me any difference for crashing programms ?
@amigamance
do you mean real memory protection as on winxp/pc , or memprot for ppc ? for ppc this option do not give me any difference with speed.
-
In other words, env:powerpc/memprot do not give me any difference for crashing programms ?
It does make a difference. It causes more programs to crash.
With memory protection every forbidden memory access will cause an exception (crash).
Without memory protection illegal memory accesses are not trapped and do not crash. But they might cause other unpredictable troubles. For example graphics corruption on the Workbench or in other programs or random crashes of otherwise stable programs.
Bye,
Thomas
-
@kas1e
Yes, i asked mainly for memprot of ppc. Ok, got the answer :-)