Dos Shell
Posted: Wed Jan 18, 2023 10:48 pm
This is a "unix" inspired Dos Shell with a bunch of builtin commands to make day to day file operations (much) more convenient than via a regular Basic prompt.
Tip: save this as AUTOBOOT.X16 to your sdcard and it will load every time you start the machine.
A short description of the commands and the source code (Prog8) is available on github
There is some preliminary support for running separate external shell commands (or 'plugins' if you like), details on how to write those are on github as well. Finally, the pwd command can print a wrong result on official kernal roms, because it tries to use a new feature to obtain the current directory that has not yet been added into the offical rom at the time this post was created.
Tip: save this as AUTOBOOT.X16 to your sdcard and it will load every time you start the machine.
A short description of the commands and the source code (Prog8) is available on github
There is some preliminary support for running separate external shell commands (or 'plugins' if you like), details on how to write those are on github as well. Finally, the pwd command can print a wrong result on official kernal roms, because it tries to use a new feature to obtain the current directory that has not yet been added into the offical rom at the time this post was created.
Try It Now!Note: it looks like the shell's file functions act a bit unreliably in the web-emulator. Sometimes you get errors, sometimes not. On the real downloadable emulators, it works fine.