kjt_set_commander
Created by: phil, Last modification: Sun 27 of Nov, 2011 (12:37 UTC)
Name: kjt_set_commander
Action: Sets a "permanent" command string that is to be launched when progams exit
Input Registers: HL = location of command string (40 chars max)
Output Registers: None
Notes:
- The "commander program" will run on when a program exits back to FLOS unless that program specifically tells FLOS to launch some other program (with A=$FE on exit). In this case, the commander program will eventually launch when control is passed back to the FLOS CLI (IE: A <> $FE on exit)
- To remove the commander string, point HL at a null string (a zero btyte in memory) and call the routine.