VOGONS


First post, by LoneLines

User metadata
Rank Member
Rank
Member

Hi,

I just recently finished installing DOS 6.22 on DOSBox and due to a lack of a guide from this point, am having a hard time on loading the CDROM device (assuming of course this is actually possible).
I'm using a generic OAKCDROM.SYS driver and MSCDEX.EXE was supplied with DOS 6.22.

I tried locating the CD after using both mount/imgmount, but the OAKCDROM.SYS driver fails in finding a CD drive...

I'm quite stumped...

If anyone managed to get a CDROM working this way, please let me know how you did it (or point me to some more reading material).

Thanks

LoneLines list of workarounds for various games in DOSBox:
http://ADogsBox.jellofishi.com

Reply 2 of 22, by ADDiCT

User metadata
Rank Oldbie
Rank
Oldbie

You don't need a CD-ROM driver in DOSBox. Use the imgmount/mount commands to mount either a image file or a directory as a virtual CD. See the README.TXT file in the DOSBox directory for instructions.

Reply 4 of 22, by LoneLines

User metadata
Rank Member
Rank
Member

Thanks for the reply, I guess it would explain why none of my tricks worked 😉

I guess I can try to use fakecd or something through the booted DOS, but currently this is too much of a hassle for the one game I wanted to test...

LoneLines list of workarounds for various games in DOSBox:
http://ADogsBox.jellofishi.com

Reply 8 of 22, by kruwi

User metadata
Rank Member
Rank
Member

!!! Hot !!! Hot !!! Hot !!!

If you are on Linux and have a legal windows 2000/xp version
you can try out Qemu with win 2000/xp as guest system, use the kernel-kqemu acceleration module and install vdm-sound in your virtual machine. Now that's fast ..., at least for the games that are comaptible with vdm-sound.

Visit the end of the internet: www.groskreutz.de

Reply 10 of 22, by FeedingDragon

User metadata
Rank Oldbie
Rank
Oldbie
wd wrote:

This is not possible as dosbox does not emulate atapi ports.

I know you aren't trying to go this route, but would it be possable to add basic ATAPI support in the future? As far as interface goes, I could see just a simple alteration to the MOUNT & IMGMOUNT command (would all have to be run before the BOOT command, if I remember how to boot to a HDD image correctly.) Instead of mounting to a drive letter (MOUNT C: ....) you would mount to a number from 1 to 4 (Mount 1 ...) or maybe more. Other than that, it would be pretty much the same. This would allow you to mount HDD images, ISO images, or physical CD-Rom devices to ATAPI ports. 1-4 would be Primary Master, Primary Slave, Secondary Master, & Secondary Slave (or maybe 0-3, whatever.)

I like the idea of setting up a HDD image and putting all the games & apps that don't require slowing things down drastically on that image. But I don't really like the idea that you lose CD-Rom access, or the ability to change images on the fly (without knowing exactly which images & in which order you want them in advance.) Plus, IIRC, the only images you can mount would be floppy images anyways. The problem with the last part is that I just cannot think of a way to do it without adding another window or interface. Or allowing commands to be typed into the console window. Plus, some of the OSes DOSBox is written for would have problems switching to/from this extra interface. No, better to have the mounts before boot just going to physical drives (floppy/CD-Rom,) or HDD image files.

Feeding Dragon

Reply 11 of 22, by DosFreak

User metadata
Rank l33t++
Rank
l33t++

iirc, there are CD emulation programs for MS-DOS where you can mount a CD image. I've never tried them personally.

I think eventually we may see ATAPI support in DosBox but it's nowhere near a priority. There's nothing stopping someone from creating a patch to add the feature though.

How To Ask Questions The Smart Way
Make your games work offline

Reply 12 of 22, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

You don't need to change any interfaces, think it would be enough to "just"
emulate the atapi ports and bind that to imgmount (you can already specify
drive numbers instead of letters, especially when partitioning raw harddisk
images).
I have no idea how sensitive the timing is for atapi commands/transfers,
this might create problems.

Reply 13 of 22, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Indeed, SHSUCDHD is really all you need, no? You can use that to mount an ISO image as a virtual CD-ROM from DOS 6.22.

http://www.geocities.com/jadoxa/shsucdx/

Reply 14 of 22, by Srecko

User metadata
Rank Member
Rank
Member

Maybe it's easier (than adding ATAPI interfaces) to produce a special DOS executable which will install mscdex interrupt handlers to point to dosbox mscdex callbacks in similar manner to usal dosbox behavior ( and also be a frontend app which will use callbacks provided to do image mounting).

Reply 18 of 22, by Jorpho

User metadata
Rank l33t++
Rank
l33t++

Doesn't DOSBox generally run everything just fine on its own? I would think that anything that would require DOS 6.22 would also require the more sophisticated emulation of VMWare or QEMU or whatever as well.

Reply 19 of 22, by Srecko

User metadata
Rank Member
Rank
Member

(disclaimer: I probably don't know what I'm talking about in this post 😊)
I was thinking not about mounting host fs directory as a cdrom, but for reading image data which can be copied to block device buffer by dosbox. It could be also simpler to do that just by replacing cdrom driver (one loaded in config.sys) with a stub one. OTOH it could end up being not much easier as implementing atapi ports (but, I started looking at Bochs IDE code once but was discouraged by it's size 😖 )