Menu

Running DOS/4GW programs under vDos

General
2017-03-26
2017-03-26
  • Luc Rooijakkers

    Luc Rooijakkers - 2017-03-26

    I have a number of binaries (mostly command-line tools) using the DOS/4GW Protected Mode Run-time.
    From topics elsewhere in this forum I gather that this could work under vDos (or am I wrong?).

    When I run one of these in vDos it runs for a while, and then ends with:

    Error [35]: Unexpected Interrupt=0052 in DOS4GW.EXE at 4404:0080
    code=0020 ss=0090 ds=0000 es=0000
    ax=4C01 bx=0000 cx=000F dx=0001 sp=4D84 bp=5EEC si=4F91 di=4F84

    If I run the DOS4GW executable directly (no parameters) I get a vDos exception:


    IRET: Illegal descriptor type 0

    I can display the version number with "DOS4GW ?":

    C:>dos4gw ?
    DOS/4GW Protected Mode Run-time Version 1.95
    Copyright (c) Rational Systems, Inc. 1990-1993
    DOS/4GW fatal error (1007): can't find file ?.EXE to load

    Any idea what's causing these problems?

     
    • Jos Schaars

      Jos Schaars - 2017-03-26

      Not really, DOS extenders are complex and nasty things for an emulator.
      Interrupt 52 shouldn’t be generated in vDos, could have to do with your program accessing a drive at the hardware level. A no-go in Windows 64-bit.

      One (I) would expect DOS command-line tools not to need a DOS extender. Surely there will be native Windows alternatives?

      Jos

       
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.