I use BOOT quite a bit, and would prefer to stay within the environment without returning back to XB2.7s' main screen upon exiting a program. Now Gazoo's new SETCLOCK program does this as does BA-Writer, but there are other programs I use quite often, like DM2K in the 2.7s cartridge.
In the case of DM2K I use the cartridge version because it loads FAST and I save on disk space. Inside BOOT I have an entry "X DSK1.DM", which is a simple one line program: 10 RUN "DM2K".
The problem is, once I exit DM2K, I'm back at the cartridges menu screen, so I was wondering, could a loader type assembly program be written that automatically returns to BOOT upon exiting DM2K or any other program?
I figure the program would have to be slightly modified for each program it's used with, but I have no clue if there would be a safe place in memory to store it or how it could be called for a proper exit, but if possible, it would be cool for sure.
I'm not always clear in explaining what I mean, so I've used the example below to help convey my thoughts:
1) LOAD loader program (from BOOT)
2) loader program EXECUTES "DM2K"
3) upon exit from DM2K, executes next instruction in it's program, in this case reloading BOOT
I dunno, programming wizards, is this possible?