Windows 95 can only be installed on a hard-disk image (.img), and then boot from it.
Once booted from an image, we loose the ability to access the sd card directly. So we could mount an additional image, prepared on pc, which includes the windows installation files and additional software. Or mount a windows setup CD image, but i prefer the floppy installation files due to it's size.
Required files:
- Blank unformatted hdd image ( attached to this post )
- Dos / win95 boot floppy (.img)
- Windows 95 installation files ( I've used the floppy installation, copied all contents to a single folder. )
- 'DiskExplorer' to open and edit .img files: Download
HERE
Use the attached blank images to setup a hdd.
In the included 'ReadMe.txt' you can find the '-size' values to use for each image.
- Make sure to adapt the IMGMOUNT command to the size you're using!
Open your hdd image with 'DiskExplorer', and select 'vmware plain disk'.
Copy the windows install files and other software into your hdd image and copy to your sd.
Also make sure to copy a boot floppy and your 'hdd.img' files.
Edit your 'dosbox.conf', and start dosbox:
Code:
[cpu]
core = auto
cputype = pentium_slow
cycles = 3000
cycleup = 100
cycledown = 100
This works for me, adjust the cycles during runtime to your liking. I usually end up around 5300 cycles.
Mount a disk image, and boot from it:
Code:
# Mount a boot (floppy) disk to A:
IMGMOUNT 0 "sdmc:/3ds/DOSBox/Image/Windows/_BOOT/BOOT95FD.img" -t floppy -fs none
# Mount harddisk image to C:
IMGMOUNT 2 "sdmc:/3ds/DOSBox/Image/Windows/Win95/hdd-128mb.img" -size 512,63,8,520 -t hdd -fs none
# Boot from floppy A: to format and prepare hdd image
BOOT -l A
Once booted from your boot floppy, format your hdd image and copy system files:
Now restart and mount the additional hdd image or cd, instead of the boot floppy:
Code:
# Mount harddisk image to C:
IMGMOUNT 2 "sdmc:/3ds/DOSBox/Image/Windows/Win95/hdd-128mb.img" -size 512,63,8,520 -t hdd -fs none
# Mount additional hardisk to D:
IMGMOUNT 3 "sdmc:/3ds/DOSBox/Image/Windows/_IMAGE/hdd-512mb.img" -size 512,63,32,520 -t hdd -fs none
# Or you could mount a setup CD to D:
IMGMOUNT D "sdmc:/3ds/DOSBox/Image/Windows/_CD/WIN95CD.cue" -t iso
# Boot from hdd C:
BOOT -l C
Once booted, navigate to your win95 setup files and install:
Code:
# Select the disk
d:
# Navigate to your windows setup directory
cd WIN95FD
# run windows setup (and skip scandisk if you want):
setup /is /IW
Now you should be able to restart and boot from your newly installed windows 95 hdd image:
Code:
IMGMOUNT 2 "sdmc:/3ds/DOSBox/Image/Windows/Win95/hdd-128mb.img" -size 512,63,8,520 -t hdd -fs none
BOOT -l C
You can also add these two commands to a 'dosbox.conf' file [autoexec] section.