joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.69k stars 381 forks source link

windows 95: floppy swapping with imgmount #317

Open legluondunet opened 6 years ago

legluondunet commented 6 years ago

Hello, on windows 95, I can not swap between floppy, Ctrl+F4 does nothing. I had this lines in my dosbox-x.conf:

[fdc, primary] enable=true

imgmount 0 "floppy1.img" "floppy2.img" -t floppy -fs none

Only the second img is mounted.

Thank you for your help.

joncampbell123 commented 6 years ago

Unfortunately floppy swapping is only supported when you use the "boot" command to boot from floppy. This limitation was inherited from the main DOSBox source code. It should be lifted though, I agree.

AlexMax commented 6 years ago

Apparently, this feature was added to DOSBox SVN in r3808. Would grabbing this feature from upstream be feasible?

Kungergely commented 5 years ago

Indeed I can confirm that this is still a problem, because this feature has still not been implemented in dosbox-x. And it pretty much makes installing anything on Dosbox-x impossible (because most of the stuff back then has been shipped on multiple floppies). Not only Windows 95, but even Windows 3.1 hell even Geoworks. And since this feature has been present in SVN version of Dosbox sice r3808 (it's also present in the most current r4180 build), I doubt that merging this with Dosbox-x would be a problem at all.

joncampbell123 commented 5 years ago

@Kungergely Then I'll see if I can make it work, though that's not imgmount's default behavior.

In the meantime, you can install Windows 3.1 down to Windows 2.0 by copying each disk to a subdirectory, and then installing from the hard disk.

When it asks for the floppy, give it the full path of that disk on the hard drive.

Windows 1.0 is the only version I know of that must install from floppy.

joncampbell123 commented 5 years ago

Hold on, I just noticed your complaint is that CTRL+F4 does not swap floppies.

DOSBox-X has it's own keyboard mapper setup. Hit F12+m to view the mapper and see the assignments. F12+ctrl+D (or on Linux, F12+ctrl+shift+D). The F12 key is the "host key" because all the scattered mapper shortcuts could easily conflict with DOS games or Windows applications.