VOGONS


First post, by Guest

User metadata

First of all... Hello to all people in the forums.

I have a problem with my mounted cd-drive. My mounting list is:

mount C G:\Emulatoren\PC\DOSBox\Games
mount D G:\Emulatoren\PC\DOSBox\Test
mount E H:\ -t cdrom -usecd 0 -ioctl

H: is my DVD-ROM. Dosbox shows, that "Drive E is mounted as CD-Rom", so everything should be okey. When I now type e: and try to list the contents of my inserted cd, by typing dir it does only show the following...

Directory of E:\
File *.* not found.

When I now type dir again, all the files are listed normal.

Tested this on different systems.

Hope I can help.

c ya
gdp2k

Reply 1 of 12, by gdp2000

User metadata
Rank Newbie
Rank
Newbie

Sorry, seems it was me, who wrote this post. 🙄 Sorry... was a cookie prob with firefox.

c ya
gdp2k

Reply 2 of 12, by Og

User metadata
Rank Member
Rank
Member

I'm having the same problem.

Reply 3 of 12, by Guest

User metadata

My problem's even worse.
Can't see files' list at all after such 'mount' operation.
After DIR command, I get everytime:

Directory of E:\
File *.* not found.

Reply 4 of 12, by Qbix

User metadata
Rank DOSBox Author
Rank
DOSBox Author

i can not confirm that bug.
so i have no idea.

Water flows down the stream
How to ask questions the smart way!

Reply 5 of 12, by gdp2000

User metadata
Rank Newbie
Rank
Newbie

@qbix: Is there any way to help in finding this bug? I mean some kind of system information or anything else?

Reply 6 of 12, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

The dta points to somewhere near 0x80:0 (because of the
mounts), and a DOS_AllocateMemory (without preceeding
exec, as dir is an internal command) falls into the same
region.
Is it possible to use seg=DOS_GetMemory(size);
in dos_mscdex.cpp at CMscdex::GetVolumeName instead of
the DOS_AllocateMemory(&seg,&size) ? Seems to work then.

Maybe the other occurences (like in GetCopyrightName)
could be changed, too, as i get strange results with
some games when using -ioctl (aitd1, for example), which
do not occur with DOS_GetMemory.

wd

Reply 7 of 12, by Guest

User metadata

I use gentoo linux with kernel 2.6.7
After
>mount -cd
I get:
CDROMs found: 2
0. /dev/cdrom
1. /dev/cdroms/cdrom1

Using my cdrom 0 - /dev/cdrom:

>mount d /dev/cdrom -t cdrom -usecd 0 -ioctl
MSCDEX installed.
Drive D is mounted as CDRom.

after

>d:
>dir
Directory of D:\
File *.* not found.

Have no directory listing at all everytime I call DIR command.

Reply 8 of 12, by Jiri

User metadata
Rank Member
Rank
Member
Anonymous wrote:
Dosbox shows, that "Drive E is mounted as CD-Rom", so everything should be okey. When I now type e: and try to list the contents […]
Show full quote

Dosbox shows, that "Drive E is mounted as CD-Rom", so everything should be okey. When I now type e: and try to list the contents of my inserted cd, by typing dir it does only show the following...
Directory of E:\
File *.* not found.
When I now type dir again, all the files are listed normal.

I can confirm that this happened several times also on my computer with Windows XP (but does not occur everytime I use DOSBox). I do not remember exact conditions, but I have CD-ROM mounted as: mount E E:\ -t cdrom -usecd 0 -ioctl

Reply 9 of 12, by MiniMax

User metadata
Rank Moderator
Rank
Moderator

Yep - with DOSBox 0.62 hosted on Windows XP+SP1, a real CD-ROM as the K-drive, and "mount G "K:\" -t cdrom -ioctl", I too get the "delayed" file listing.

DOSBox 60 seconds guide | How to ask questions
_________________
Lenovo M58p | Core 2 Quad Q8400 @ 2.66 GHz | Radeon R7 240 | LG HL-DT-ST DVDRAM GH40N | Fedora 32

Reply 10 of 12, by priestlyboy

User metadata
Rank Oldbie
Rank
Oldbie

Yeh, Windows XP SP1a. I noticed this but I never really took notice of it. I doesn't occur in 0.61. I have my autoexec in DOSBox.conf to automatically hook to my CDROM on loadup. And when I go to I: and then dir. It shows nothing but on the second dir it reads the drive. In DOSBox 0.61 these does not occur. 😜. (Also it is still occuring like this in the CVS)
I use "mount I: I:\ -t cdrom -ioctl"
Doing this either in or through DOSBox.conf I still get a consistent "second dir" problem.

Aha. I did find something else though. 😜. I played with it a little more as I was typing this up
If I do "mount I: I:\ -t cdrom" I get a consistent "first dir" view.

So there might be something wrong with the "-aspi" and "-ioctl" switches?

*Just to doublecheck the -ioctl switch problem does not occur in DOSBox 0.61.*

Ieremiou
----------
Helping Debug DOSBox.

Reply 11 of 12, by robertmo

User metadata
Rank l33t++
Rank
l33t++

yes, i have noticed that it happens:

In winxp always and only if you use -ioctl

In win98se always and only if you use -aspi (by the way, i don't know whether i have aspi-layer installed, how to check that?)

Reply 12 of 12, by wd

User metadata
Rank DOSBox Author
Rank
DOSBox Author

maybe you could test if the cvs works correctly now

thx