VOGONS

Common searches


DOSBox with Win95 an BASIC CDROM Support

Topic actions

  • This topic is locked. You cannot reply or edit posts.

First post, by aRcAdEsTaTiOn

User metadata
Rank Newbie
Rank
Newbie

hi guys,
i have found a solution with the cdrom support with win95.
well, it's a basic IDE emulation under DOS, but it is a good way

DOSBox-X_SVN_REV_108_(with_BASIC_IDE_Emulation)

Add to your dosbox.conf:

[ide, primary]
enable=true

[ide, secondary]
enable=true

(and so on for 3rd and 4th controller if you like)
For ease of use I wrote the IDE emulation to tie into DOSBox's INT 13h and MSCDEX.EXE CD-ROM code and through the "imgmount" command. The way it's written now, if you use imgmount to attach hard drives or CD-ROM drives the command will automatically also attach it also to the IDE emulation as ATA and ATAPI device respectively. I added a "-ide" switch that allows you to specify exactly which IDE port to attach it to:

-ide 1m - Attach to primary IDE controller as master
-ide 1s - Attach to primary IDE controller as slave
-ide 2m - Attach to secondary IDE controller as master
-ide 2s - Attach to secondary IDE controller as slave
-ide auto - Attach to unused slot (default)
-ide none - Do not attach to IDE port

In my test environment, I boot to windows 95 like this:

[autoexec]
# floppy disk from DOSlib test code by ./make.sh and ./make.sh disk
imgmount 0 "/usr/src/dos/hw/ide/test.dsk" -t floppy -fs none
# C: drive for Win95
imgmount 2 "drive_c.hdd" -size 512,63,64,1023 -t hdd -fs none -ide 1m
# D: drive with Windows 95 install CD-ROM
imgmount 3 "win95-install-cdrom.iso" -t iso -fs iso -ide 2m
# Now start Win95
boot -l c

aRcAdEsTaTiOn