desertfish Posted August 1 Share Posted August 1 Dos Shell View File A "unix" like Dos Shell with a bunch of builtin commands to make day to day file operations (much) more convenient than via a Basic prompt. Requires R41. Tip: save this as AUTOBOOT.X16 to your sdcard and it will load every time you start the emulator. Short description of the commands and Source code (Prog8) available here https://github.com/irmen/cx16shell/ Submitter desertfish Submitted 08/01/22 Category Productivity Apps 2 Quote Link to comment Share on other sites More sharing options...
Stefan Posted August 2 Share Posted August 2 Great work, already a lot of convenient functions. Have you considered deciding an absolute path for a folder to store utility programs run by the shell? Quote Link to comment Share on other sites More sharing options...
desertfish Posted August 2 Author Share Posted August 2 I'd like to but there is no interface defined yet for such utility programs. Simply running them as a basic program is not feasible, I think (it would overwrite the shell itself, for one thing) and we couldn't find a way to "JSR" into a basic program such that on exit control flow returns to the caller. Quote Link to comment Share on other sites More sharing options...
Stefan Posted August 3 Share Posted August 3 On 8/2/2022 at 7:11 PM, desertfish said: I'd like to but there is no interface defined yet for such utility programs. Simply running them as a basic program is not feasible, I think (it would overwrite the shell itself, for one thing) and we couldn't find a way to "JSR" into a basic program such that on exit control flow returns to the caller. OK. I was thinking of utility programs designed to work with the shell. At the moment you have the command that starts the editor. It will work only if the program is stored in the current directory. In the future you may have other utilities that can be started from within the shell. I just thought it would easier to store these programs using an absolute path. Quote Link to comment Share on other sites More sharing options...
Super Administrators TomXP411 Posted August 3 Super Administrators Share Posted August 3 On 8/2/2022 at 9:41 PM, Stefan said: OK. I was thinking of utility programs designed to work with the shell. At the moment you have the command that starts the editor. It will work only if the program is stored in the current directory. In the future you may have other utilities that can be started from within the shell. I just thought it would easier to store these programs using an absolute path. The obvious problem is that different people will want to store their utilities in different places. The solution is probably to store the path in memory, either using a configuration file, or take the CP/M approach and patch the executable with the desired path. (That would be faster, although it would require a separate "patch" program that knows the address of each of the pre-configured filenames.) 1 Quote Link to comment Share on other sites More sharing options...
desertfish Posted August 4 Author Share Posted August 4 or just use a fixed convention such as "shell-cmds" and tell the user not to interfere Quote Link to comment Share on other sites More sharing options...
desertfish Posted Tuesday at 09:31 PM Author Share Posted Tuesday at 09:31 PM Just uploaded a new version with an experimental API for external commands loaded from disk, at $4000 in memory. See github page for details about the API Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.