CompuServe Thread

#C Portability HeLp!~~

2 messages in this thread
#70062From: M2S/Phil CampOct 17, 1989 8:04 AM
There is an easy way. At program startup, you can check how much stack you have. If it is not enough, then simply AllocMem() the stack you need, and point A7 to the end of the allocated memory block. At program termination, point A7 to the original location and free the memory you allocated.
#70143From: Don Curtis/SYSOPOct 18, 1989 12:07 AM
Humm…yes, that would work…now to implement it in C with no assembly code….and no exit() calls.