joncampbell123 / dosbox-x

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

CD Rom appearance windows 98 #2766

Open michaeljhkim opened 3 years ago

michaeljhkim commented 3 years ago

So I installed windows 98 with an 8gb .img file, and a 32gb .img file. With the 8gb file, I was able to load cd rom images into windows with just "imagemount D cdrom.iso". But with the 32gb one, I had to include the extra " -ide 2m" to make it show up.

I used "windows 98 SE oem.iso", following the instructions on the website. For the 32gb one, I followed the second method, while 8gb one, I followed the first method.

joncampbell123 commented 3 years ago

Check the Control Panel, System, Device tree. If the primary IDE controller is marked with a yellow warning icon, Windows can't determine the IDE geometry vs formatted geometry. Also check the last tab where Windows indicates whether drive C: is in "compatibility mode" for the same reason.

"Compatibility mode" is the Windows 95/98/ME way of saying it can't determine how to talk to C: through the IDE controller, so it's calling down to INT 13h as a fallback.

Usually in that case, Windows has difficulty with ATAPI CD-ROM drives connected to the same IDE controller as the one that drive C: is attached to.

michaeljhkim commented 3 years ago

Check the Control Panel, System, Device tree. If the primary IDE controller is marked with a yellow warning icon, Windows can't determine the IDE geometry vs formatted geometry. Also check the last tab where Windows indicates whether drive C: is in "compatibility mode" for the same reason.

"Compatibility mode" is the Windows 95/98/ME way of saying it can't determine how to talk to C: through the IDE controller, so it's calling down to INT 13h as a fallback.

Usually in that case, Windows has difficulty with ATAPI CD-ROM drives connected to the same IDE controller as the one that drive C: is attached to.

So how do I fix this?

joncampbell123 commented 3 years ago

Attach the CD-ROM drive to secondary master (2m) as you already have done. If Windows can't figure out IDE vs INT 13h at startup, it will run drive C: in compatibility mode.

michaeljhkim commented 3 years ago

Attach the CD-ROM drive to secondary master (2m) as you already have done. If Windows can't figure out IDE vs INT 13h at startup, it will run drive C: in compatibility mode.

What do you mean by attach the cd room drive? You mean, running the command just by itself?

michaeljhkim commented 3 years ago

so if I understand correctly, I am to do the 2m command for the cd rom, and then check to see if it worked? If that's the case, there's still a yellow icon.

I did see you use this advice on someone before, and that's just the temporary fix that I've been using. Is there a way to fix the yellow icon?

joncampbell123 commented 3 years ago

Don't worry about Windows, just attach the CD-ROM drive to -ide 2m where Windows can find it. There are certain sizes and geometries that seem to prevent the Windows IDE driver from correlating drive C: with the IDE device and I'm not 100% certain how to fix that yet.

michaeljhkim commented 3 years ago

So basically, just do what I've been doing? Or is there something else I can do?