This projects is a virtual machine that has 1 floppy disk drive, 1 hard drive, and about 500KB+ of RAM. It can execute Batch, Basic and even some SH files and use them as an operating system. If you don't have one to import then you can use the built in Console by pressing "C" when it asks you to import one. The bolt in console program is a bit like DOS but its commands are shortened to only 2 letters long. This project contains the following features : -Batch file executor -Basic file executor -SH file executor -Built in terminal -Built in DOS shell In the latest available build of this project it is capable of supporting the following formats : It can support the following file formats : -EXE (Dos 6 executable. only works when compiled from Batch) -BAT (Windows and MS-DOS Batch command files) -BAS (MS-Basic coded files) -SH (Mac console command files) Note : It still needs a menu as the one seen in the thumbnail to be able to chose more then the available options. So it will need an updated menu that will come pretty soon to be able to accept the file formats other than BAT as BAS. Using a program on my Windows 2000 computer called "Advanced bat to exe" I compiles Batch files to Exe files for MS-DOS and Windows and it can only support those types of Exe files so no graphical ones work. It is possible to add more ASCII characters to this project to be able to simulate primitive graphics. Here is an example of a batch file you can import into the project that will work as a DOS emulator : cls echo Starting MS-DOS... echo . echo MS-DOS recreation version 1.0 coded by @Mmesophie rem This is a test program rem the following code is stored here : if dir then echo DOSSHELL.C : TERMINAL.C : AUTOEXEC.BAT : RAMDRV.C : OSLOAD.C : APPLOAD.C if clear then cls if ram then echo No contents found. if com then echo No communication found if co then echo Unable to modify files in virtual hard drive. if re echo unable to modify files in virtual hard drive. if xc echo unable to modify files on hard drive. if exit stop if end then stop ;loop
After having imported your Batch or Basic file to use as your operating system you need to specify which extension was it and then you can type "Run" in the command prompt to execute the file. Thanks to for the DOS fonts. It contained the following files that are integrated into its virtual hard drive : terminal.c - Takes care of displaying files. dosshell.c - Lets the user chose a fonction in the imported file to open by typing its name batexe.c - Exe to bat converter exebas.c - Exe to bas converter console.c - Built in console program autoexec.bat - Automatic boot file convertchr.c - File that chose with converter to use appload.c - Application loader osload.c - Operating system loader ramdrv.c - ram driver/loader. Updates : 19 septembre 2024 : Fixed key bug 19 septembre 2024 : Added SH file support 19 septembre 2024 : Added 1 line print and echo commands ?? septembre 2024 : Added More error codes