> On Jan 2, 2020, at 2:51 PM, Sven Barth via fpc-pascal
> wrote:
>
> What exactly are you trying to accomplish on which platform with which
> version?
>
I'm making an iOS platform layer in the style of SDL which needs to use iOS's
main loop which never returns until the program stops exec
Ryan Joseph via fpc-pascal schrieb am
Do., 2. Jan. 2020, 18:11:
> I need to override the main program function and then call back the main
> program later. I know I can use -XM to set another function name besides
> "main" but then how do I call back the original function "main" later?
>
What ex
> I know I can use -XM to set another function name besides "main" but then
how do I call back the original function "main" later?
I quickly analyze the generated assembly when you don't pass -XM:
.globl main
.type main,@function
main:
.globl PASCALMAIN
.type PASCALMAIN,@fun
I need to override the main program function and then call back the main
program later. I know I can use -XM to set another function name besides "main"
but then how do I call back the original function "main" later?
Regards,
Ryan Joseph
___
f