Direct parallel port access under windows XP for DOS applications

From: Ran (ran_tao_at_netvision.net.il)
Date: 12/07/03

  • Next message: Ed Dressel: "Re: Wise or Installshield"
    Date: 7 Dec 2003 11:40:00 -0800
    
    

    Hello,

    I will describe my problem, hoping that anyone can help with a
    solution.

    I am running an old DOS application. This application cannot be
    altered due to many reasons.

    This application uses an old HASP dongle. The hasp drivers for dos
    dongles does not work with this application. The only way I could make
    this application work, is by writing a code similar to UserPort, which
    changes the IO permission map for the calling process.

    My problem is that recently new display adapters drivers like ATI
    Radeon will not allow me change the TSS to enable direct port access
    for the 16Bit process. When disabling the display adapter driver and
    using the default windows XP driver, this problem is "solved", of
    course not having a display driver reduces performance but I can live
    with that.

    Second problem is that when using the UserPort with new HyperThreading
    motherboards, when the 16bit application tries to access the port, the
    computer restarts.

    I tried using direct-io, disabling the printer port and enabling
    378-37F for the EXE I am using, but with no success. It did not get
    the correct response from the dongle.

    I think it's because the EXE is using direct bios calls and a virtual
    device driver cannot capture the calls and handle them correctly.

    Does anyone have a solution to this problem? Any ideas?

    I would appreciate any help you can offer...

    Thanks for your time,

    Ran.


  • Next message: Ed Dressel: "Re: Wise or Installshield"

    Relevant Pages

    • Re: Maybe we should stop "Paging Beth Stone" already...
      ... | PIT because that's what DOS uses, and of course DOS uses it because it had ... Driver development is a story on its own, ... | xor dword ecx, ecx ... | mov dword edx, VGA_PEL_INDEX_READ ...
      (alt.lang.asm)
    • Re: Dos programming
      ... The driver code is what is important. ... there aren't many DOS .sys device drivers with source. ... physical floppy. ... devload doesn't allow _unloading_ a device driver. ...
      (comp.os.msdos.djgpp)
    • Re: Things you forget...
      ... I want to set up running Dos 5 or better (still need to get disk images ... You need a CD-ROM device driver. ... before 1995) the drivers were easy to install, ...
      (comp.sys.ibm.pc.classic)
    • Re: Things you forget...
      ... I want to set up running Dos 5 or better (still need to get disk images ... You need a CD-ROM device driver. ... before 1995) the drivers were easy to install, ...
      (comp.sys.ibm.pc.classic)
    • Re: NDIS 5.0 driver on Win98
      ... Driver works fine otherwise but as ... > when running without the DOS box active. ... A Windows Console process is also created as well to display ... >> VM scheduler context is the 'system VM' and not an arbitrary VM (like ...
      (microsoft.public.development.device.drivers)