VOGONS


First post, by ArturoYee

User metadata
Rank Newbie
Rank
Newbie

I have an application that runs in DOSBox on a Mac (OS 10.3.9). The program have to run from the CD. During the initialization, it does recognize that it is running from a CD Rom.

I have a C:\ drive set up for its temp subdirectory - and *.tmp files are written to the temp folder.

The software works up to the point where it has to go back to the CD to get additional information, and I get the error message
ERROR - WRONG DISK IN DRIVE

Is myy conclusion is that the software does not recognize itself as a VOLUME correct?

Attached are two files - one from a PC (software works) and from DOSBox (wrong disk...).

So - is there another way to mount a CD ROM?

I used mount e /volumes/TestCD -t cdrom -ioctl
to mount the CD Rom.

Reply 1 of 11, by Kreshna Aryaguna Nurzaman

User metadata
Rank l33t
Rank
l33t

Wait:

ArturoYee wrote:

I have an application that runs in DOSBox on a Mac (OS 10.3.9).

and:

ArturoYee wrote:

I used mount e /volumes/TestCD -t cdrom -ioctl
to mount the CD Rom.

So, you're running DOSBox on a Mac, yet you're using ioctl switch. Frankly, I've never ran DOSBox on Mac before, but isn't ioctl for Win2K/XP only?

How about using -usecd instead of -ioctl? Have you tried it?

Never thought this thread would be that long, but now, for something different.....
Kreshna Aryaguna Nurzaman.

Reply 2 of 11, by ArturoYee

User metadata
Rank Newbie
Rank
Newbie

Yes - you are correct. -ioctl is for Windows.

Just found this thread - (known problem?) It sounds like exactly the same problem:
CD-ROM issues in OSX

I will give it a try anyway (cd was left at the office)-

Oh well, I was getting so close to getting this to work!

Reply 3 of 11, by Kreshna Aryaguna Nurzaman

User metadata
Rank l33t
Rank
l33t
Options […]
Show full quote

Options

-t (type)

specifies the type of the mount. Supported types are dir (default), floppy and cdrom.

-label (drivelabel)

sets the label of the drive. This is needed on some systems if the CD label isn't read correctly. It may be useful when a program can't find its CD-ROM.

-aspi

forces to use the aspi layer. Only valid if mounting a cdrom on Windows systems with an ASPI-Layer.

-ioctl

forces to use ioctl commands. Only valid if mounting a cdrom on Windows systems which support them (Win2000/XP/NT).

-usecd (number)

forces to use SDL cdrom support for drive number. This number can be found by running mount -cd. Valid on all systems.

-u (drive-letter)

unmounts the selected drive.

Well those are the options. Both ioctl and aspi are Windows-related options, so I guess you're left with usecd.

Never thought this thread would be that long, but now, for something different.....
Kreshna Aryaguna Nurzaman.

Reply 4 of 11, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

Have you checked that one:

-label (drivelabel)

sets the label of the drive. This is needed on some systems if the CD label isn't read correctly. It may be useful when a program can't find its CD-ROM.

My site: Ramblings on mostly tech stuff.

Reply 6 of 11, by ArturoYee

User metadata
Rank Newbie
Rank
Newbie

Tried -usecd 0 (mount -cd gave me the fake cdrom at 0)
and
-label TestCD

Going to learn the syntax for imgmount and try that next.

(see attached - my cdrom mount batch file)

Reply 7 of 11, by Kreshna Aryaguna Nurzaman

User metadata
Rank l33t
Rank
l33t
ArturoYee wrote:

Tried -usecd 0 (mount -cd gave me the fake cdrom at 0)
and
-label TestCD

So does it work?

Never thought this thread would be that long, but now, for something different.....
Kreshna Aryaguna Nurzaman.

Reply 8 of 11, by ArturoYee

User metadata
Rank Newbie
Rank
Newbie

No - it did not work.

Reply 9 of 11, by ArturoYee

User metadata
Rank Newbie
Rank
Newbie

Well, it was a bit of a problem in getting a good ISO. Apple disk utility created an image that could not be mounted - Burn 1.71u crashed when it worked on the .exe.

But I did get a good ISO from my XP machine (using CDBurnerXP Pro 3.0). Thats the good news.

Bad news - same problem.

This is using:
imgmount e /TestCD.iso -t iso

Attached is the message I get:

Reply 10 of 11, by Kippesoep

User metadata
Rank Oldbie
Rank
Oldbie

Why is there only one file on the disk? Are you sure it actually is the disk the program needs?

My site: Ramblings on mostly tech stuff.

Reply 11 of 11, by ArturoYee

User metadata
Rank Newbie
Rank
Newbie

There is more then one file on the cdrom.

I did a dir *.cfg to get the one file, and try to show that the volume label is not presented. There are 62 files on the CD - 464 megabytes of data.

Yes, it is the right disk, the exe did run, and it reads all the supporting files it needs to run. It is after it gets instructions from the user to extract additional information that it "discovers" that it is the wrong drive.

The error message is from the application.