I have been doing multi-segmented programming using PRC-TOOLS by explicitly assigning certain functions in certain segments. However, I just found that doing this kind of inter segment function calls will crash when global variables are absent.
Is there some other ways to call functions in another segment in non-sysAppLaunchCmdNormalLaunch?
Thanks.
Tony Cheung
Ron Nicholson wrote:
Tony Cheung schrieb:
I am worrying about I may not be able to squeeze all functions (for handling all non-sysAppLaunchCmdNormalLaunch) into this 32K segment. Is there any way to break this 32K barrier for handling those launch codes?
The segment can be up to 64k in size, as long as no jumps are over 32k (use jump island subroutines in the middle if necessary). You can also call code resources and armlets outside this first segment for almost unlimited code space, just no global variables.
Ron Nicholson
HotPaw Productions
<http://www.hotpaw.com/rhn/palm>
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
