nbarkhina / DosWasmX

Build your own DOS/Windows machine in the browser
https://www.neilb.net/doswasmx/
MIT License
28 stars 3 forks source link

Drive A unmounted on CTRL+ALT+DEL #8

Open ShanuJackal opened 4 months ago

ShanuJackal commented 4 months ago

When I restart the DOS prompt with CTRL+ALT+DEL, it forgets that A: exists and unmounts the drive. I am unable to remount it, because apparently it doesn't exist.

Additional comment: when loading a new instance with just a floppy, it seems to forget that C: exists.

nbarkhina commented 4 months ago

@ShanuJackal thanks for letting me know, I will take a look

nbarkhina commented 4 months ago

Yes there is currently an issue where the A drive does not persist after restart. However you should still be able to remount it after. Run the following commands:

mount e .
e:
dir
imgmount a DISK01.IMG

The dir command is to display the file names. You should see your disk file there as an example lets say its called DISK01.IMG. This should now bring you back to the A drive with the disk mounted. In terms of the message that says "C Drive does not exist" you can ignore this and just run c: you will see the C drive is still there.

ShanuJackal commented 4 months ago

Well, I have another problem. I'm trying to install MS-DOS 6.22, but it's telling me I have to restart to begin setup. Which would lead me having to remount drive A. You see the loop I'm stuck in. What do I do? (try it yourself, i got the disk files from WinWorld https://winworldpc.com/download/c38fc38d-68c2-bbe2-80a6-4b11c3a4c2acc )

nbarkhina commented 4 months ago

MS-DOS has a few special considerations. I was able to install it by doing the following:

  1. Before starting the emulator clear whatever existing hard drive you have and set the default HD size to 100mb.
  2. Mount the first setup disk
  3. Type boot a:
  4. The installation will start (keep all the defaults)
  5. When it asks you to load the second disk you can do this from the Advanced Menu in the emulator and click on Change Floppy.
  6. After the installation is complete it will send you back to the command prompt. Now type boot c: this will now start MS DOS from the c: drive since it is installed.
  7. This would be a good time to click the "Save Drive" button in the emulator.
  8. Now whenever you start the emulator again it should just boot into MS DOS by default

The DosBox-X wiki has some additional info about it here https://dosbox-x.com/wiki/Guide%3AInstalling-MS%E2%80%90DOS-6

If you need mouse support as well you will need to install the CuteMouse Driver 2.1 which they describe here https://dosbox-x.com/wiki/Guide%3AMouse-support-in-DOSBox%E2%80%90X

ShanuJackal commented 4 months ago

Oop just one more thing

There's no option available to eject a floppy, MS-DOS installation requires ejecting setup disk at the end of install

nbarkhina commented 4 months ago

You can ignore that message and just continue.