One of the problems with DOS is that you have to exit the program you are working on to load DOS. Unless you use MEM.SAV you will lose your program and as everyone who has used MEM.SAV knows, the time taken to save and load memory by this method is extremely frustrating. Fortunately the most used functions of DOS are supported by Basic and MiniDos takes advantage of this. MiniDos can be added to your programs to give you instant access to DOS without losing programs or waiting for MEM.SAV.
The program can be used on its own but is numbered here for use as a subroutine. You can use it in two ways. The first is to LIST it to disk then ENTER it as you require it and type GOTO 30000 in direct mode. Alternatively, you can make it a permanent part of your programs by changing the END statement in the last fine to RETURN and then using a GOSUB at the appropriate point in your program.
MiniDos should make your programming a little more versatile and will be of great help in overcoming those two most frustrating situations, not having a formatted disk just as you want to save a program, and forgetting what filenames you have already used.