LPT is working only few seconds

G

Guest

Guest
Archived from groups: microsoft.public.windowsxp.hardware (More info?)

My 16Bits App uses direct ASM IO acces on port 0x378. It's working fine
for W9x, et 2000 PRO.(it's for FisherTechnik robotics command program).
But on XP, it's working only 15 to 30 seconds. After, the LPT port is
no more driven by the program. I tried W9x backward compatility without
result. Not all the pin's are used by the fischer interface.
The schools that are using my program can not use Windows XP for robotics.
Thanks
 
Archived from groups: microsoft.public.windowsxp.hardware (More info?)

Probably a better answer will come from asking here instead.

microsoft.public.windowsxp.device_driver.dev


Eric V wrote:

> My 16Bits App uses direct ASM IO acces on port 0x378. It's working fine
> for W9x, et 2000 PRO.(it's for FisherTechnik robotics command program).
> But on XP, it's working only 15 to 30 seconds. After, the LPT port is
> no more driven by the program. I tried W9x backward compatility without
> result. Not all the pin's are used by the fischer interface.
> The schools that are using my program can not use Windows XP for robotics.
> Thanks
 
Archived from groups: microsoft.public.windowsxp.hardware (More info?)

Rewrite your 16-bit app to at least a 32-bit app - in case you haven't
heard, 64-bit apps are on the horizon in the dawn of a new age - and 64-bit
hardware can run 32-bit apps in emulation mode, but not sure if 16-bit
emulation is even available.
Also note, XP is more stringent about NOT letting any application access
hardware directly (the reason the NT OS's are more reliable and robust),
these OS's (NT) must go through the appropriate Win API to access hardware -
this is most likely where your problem lies and again you need to rewrite
your 16-bit app as a 32-bit app, using Win32 or .NET architecture.

--

Star Fleet Admiral Q @ your service

*************************************************

"Eric V" <news_ev@winosoft.com> wrote in message
news:O$H%231hHpEHA.3668@TK2MSFTNGP15.phx.gbl...
> My 16Bits App uses direct ASM IO acces on port 0x378. It's working fine
> for W9x, et 2000 PRO.(it's for FisherTechnik robotics command program).
> But on XP, it's working only 15 to 30 seconds. After, the LPT port is no
> more driven by the program. I tried W9x backward compatility without
> result. Not all the pin's are used by the fischer interface.
> The schools that are using my program can not use Windows XP for robotics.
> Thanks