#251 DOS devices with paths

SVN
closed
5
1 day ago
2006-01-16
andreastall
No

In DOS, it is valid to specify a paths when opening DOS
devices.

For example, using "C:\con" or "C:\file\con" instead of
"con" is allowed.

However, DOSBOX does not support paths in device name.

This breaks games like Vision 2 (can be downloaded
here:
http://www.filefront.com/?filepath=/Adventureserver/werbeadventures/werbung_v2.zip).

The bugfix is very easy and attached to this report.

Discussion

  • andreastall
    andreastall
    2006-01-16

    Diff file

     
    Attachments
  • Peter Veenstra
    Peter Veenstra
    2006-01-21

    Logged In: YES
    user_id=535630

    the patch is good, except for the fact that I think that
    c:\file\ should exist before c:\file\con can be used.

    I have plans to add support to check for leading directories
    when dealing with files.
    Will use your patch as a starting point and test that
    adventure you mentioned.

     
  • Peter Veenstra
    Peter Veenstra
    2008-05-03

    Logged In: YES
    user_id=535630
    Originator: NO

    This game now works in the CVS.
    It is a bit tricky to install as it uses XCOPY. but doing a manual copy and setup works fine.