5 ms·
Forgive the dumb question... it's been ages since I've done Amiga programming in C. What behaves differently? Is the lower K of memory mapped, such that null po
by simmonmt 2y ago
Forgive the dumb question... it's been ages since I've done Amiga programming in C. What behaves differently? Is the lower K of memory mapped, such that null pointer deferences cause excitement rather than simply crashing your program? Or is it something else?
- snvzz 2y agoI don't get it either, particularly as most advent challenges can be solved using just iso c and its standard library.
- arexxbifs 2y agoAmigaOS has no memory protection whatsoever. If your program crashes, so does the entire machine. And it will possibly bring your hard drive with it, too. Not unworkable, but not the most relaxed environment for fast’n’fun cowboy coding. You typically have to reboot a lot.
- galangalalgol 2y agoI thought the Amiga 1k had page protection, just not virtual memory?
- sagacity 2y agoNo, there's no MMU.
- badgersnake 2y agoWell, apparently if your CPU has one (030+) you can use something like Enforcer (http://www.sinz.org/Michael.Sinz/Enforcer/ http://www.sinz.org/Michael.Sinz/Enforcer/). I’ve yet to try it.
- snvzz 2y agoNo MMU. A1000 has... something. The WORM (write once read many), RAM used for the kickstart, which is latched as read-only after the kickstart has been loaded from floppy by the bootstrap ROM.