How do I make a program run automagically at startup?
There are several ways: • You can edit the base source code, setting the first thread (function FirstThread) to be your code, and link the code into the base image _fredEb63.bin. This is useful if you are rather constrained in memory footprint and are trying to eliminate all unnecessary code, such as the loader. • You can compile a program into a binary named INIT.EXE, and put it in the fs file system. At boot time, MMLite will load and execute that file. • You can use the TZK method : in this case, the INIT.EXE program is a simple shell, TZK.EXE (renamed INIT.EXE), which searches for a file called INIT.TZK in the fs namespace. INIT.TZK is a text file containing the name of the binary you wish to run.