You could just detach from CLI and call intuition.library/CloseWorkBench.
Using area $100-$3FF to move some code is possible as well ; from there you can run a small loader for whatever game or demo that follows.
If the game does not use some libs you can perform RemLibrary() on them.
Anyway, it all depends on what you really want to achieve. Is this purely academic or is there some specific goal ?
Taking over the system might be a better solution for new games/demos needing lots of chipmem.
|