@riza: OK thanks. That's already quite good. So we can run a binary forever.
Another question about
doFunc5 (Program handler): can you tell me the difference between run() and init()? Because in your binaries the run()-handler is always set to rets. What if I set run()-pointer to some code? When will it be executed by handler?
Is there already a possibility to start a binary with C166 code (not with card explorer)? I'd like to have a shortcut for some binaries - like midlet shortcut or running midlets through entrypoints. With direct starting from assembler it would be possible.