Updated Technical Note PT37: Using MPW for Non Macintosh 68000 Systems (markdown)

ksherlock 2013-07-29 09:49:29 -07:00
parent 2d803eae57
commit 0cc541938c

@ -244,7 +244,7 @@ In the case of C, this initialization is performed by a routine in the file `CRu
This is what `_RTInit` does:
1. Call _DataInit().
1. Call `_DataInit()`.
2. Save the return address back to whomever ran this program.
3. Check to see if launched by MPW. If not, then setup argv and argc to indicate the name of the program with no parameters.
4. If launched under MPW, initialize some things so that the run-time environment will integrate with MPW. 5. Calls the Memory Manager, so make sure that this part of the code is never executed. This is not likely to happen, as `_RTInit` checks and validates several memory locations before it gets this far.