@Minuous
Quote:
Minuous wrote:
@Hans
For example a "100% system-legal" app could still have a NULL pointer error that could work on OS3.9 most of the time (and crash the whole system the rest of the time); OS 4.0 would catch this and bring up the grim reaper.
No version of the NDK advocates this (writing to $0, etc.).
Correct. However, reading from $0 isn't legal either, but OS3.x doesn't enforce that; and it probably won't crash the machine when it happens either, that'll happen when someone writes using that pointer. OS3.x also doesn't protect code from being overwritten, or prevent unallocated memory blocks from being read/written. None of these are officially allowed, but with OS 3.x, it's possible. Amiga OS 4.0 will catch these errors and stop the application before it does any damage.
Whilst it may be annoying for someone who just wants old apps to work, it makes the overall system more stable; and it helps developers like me find and eliminate bugs.
Hans