EEC-Developers / eec

Enhanced E Compiler - AmigaE programming
Other
12 stars 3 forks source link

68K startup code crashes badly on version check fail #12

Closed Hypexed closed 2 years ago

Hypexed commented 3 years ago

At run time, in a 68K binary, it crashes badly on version check fail with a red guru. This is due to code not checking resources before calling OS routines in startup_amigaos.e.

The MOS and OS4 variants do the required resource check.

Excerpt of bad code:

   StackSwap(___stackswapstruct)
   FreeVec(stackmem)