Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#127 mounting CD with Debug enabled

0.58
closed
5
2012-09-07
2003-04-09
Michael Bonfils
No

Hi,

I get the lastest sources of CVS and building a DosBox
with debugger enabled.

When I try to mount a CD-Rom under WinME with this
version, DosBox quits with no errors without an
advertissement.

With the sames sources but with debugger disabled,
mount -t cdrom works...

Thanks in advance,
Murlock

Discussion

  • Logged In: YES
    user_id=186606

    oops,

    My machine is a P4 - 1.8 Ghz - 512 Mo
    I use Visual C++ 6

     
  • Mirek Luza
    Mirek Luza
    2003-04-10

    Logged In: YES
    user_id=433572

    I am not sure that this is the same problem, but let's try the
    following:

    Try to install new ASPI drivers. I have Windows 98 SE and
    without installing new drivers it did something similar with the
    default drivers and the version I compiled using Visual C++ (it
    crashed during CD ROM mounting). I debugged sources and
    there were some weird things happening - call of one ASPI
    function deleted the content of one string variable which was
    not even used in the call (??!!??) and it later crashed in one
    string function where there was no string in the variable ...

    Weird things. I got rid of it reliably by installing ASPI drivers
    from Adaptec or ForceASPI.

    If you choose Adaptec ASPI, add the following to registry
    (this is copied from ForceASPI), otherwise your ATAPI drives
    (CD ROM :-) ) will not be visible:

    REGEDIT4

    [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Service
    s\VxD\APIX]

    "ExcludeMiniports"=""

    [HKEY_LOCAL_MACHINE\System\CurrentControlSet\Service
    s\VxD\ASPIENUM]

    "Start"=dword:00000000
    "StaticVxD"="ASPIENUM.VXD"

    Mirek

     
  • Logged In: YES
    user_id=186606

    I'll try the Adaptec ASPI later,
    I've tested Dosbox CVS at my work with a P4 1.4 Ghz W2K
    and... it doesn't works with ASPI:

    Sometimes, DosBox doesn't quit but prints that:
    Z:\>mount e e:\ -t cdrom -aspi
    MSCDEX: Failure Path not valid.
    Drive E mounted as CDRom.

    Luckily, with IOCTL, it works:
    Z:>mount f f:\ -t cdrom -ioctl
    MSCDEX installed.
    Drive F mounted as CDRom.

    Thanks

     
  • Mirek Luza
    Mirek Luza
    2003-04-11

    Logged In: YES
    user_id=433572

    Windows 2000/XP will not work with ASPI by default because
    there are not ASPI drivers (unlike W9x which contain some
    Aspi drivers)!
    If you want to use ASPI access in W2000/XP, you MUST
    install ASPI drivers (I checked it in Windows XP and it works).

    CD modes used by DOSBOX in W2000/XP:
    - default is SDL CD support (works, but not very good)
    - If you use -ioctl switch this will work probably the best
    without any additional requirements
    - if you use ASPI, you MUST install ASPI drivers (as I said
    theare are not any in W2000/XP)

    Mirek

     
  • Mirek Luza
    Mirek Luza
    2003-04-11

    Logged In: YES
    user_id=433572

    Just a comment to ASPI and W2000/XP: Adaptec ASPI
    drivers in W2000/XP also require some registry settings to be
    able to access ATAPI (see e.g. ForceASPI - the settings
    below are only for W9x!).

     
  • Peter Veenstra
    Peter Veenstra
    2003-09-15

    Logged In: YES
    user_id=535630

    Dear murlock

    Are you still having this problem ?
    Or can I close this bug report ?

    Peter

     
  • Logged In: YES
    user_id=186606

    Hi,

    I can't test anymore this because I've changed to 2000.
    If anyone else can try that ?

     
  • Peter Veenstra
    Peter Veenstra
    2004-01-13

    Logged In: YES
    user_id=535630

    initial problem fixed/or out of date. Had no other
    complaints about it.