Windows use of ports

This is the JP1 beginners forum. There's no such thing as a stupid question in here, so post away, but this forum is just for JP1 users and people considering JP1, non-JP1 users please use the appropriate forum above!

Moderator: Moderators

Post Reply
david_rovner
Posts: 2
Joined: Sat Sep 27, 2003 11:25 am

Windows use of ports

Post by david_rovner »

I know that windows runs in protected mode. Windows NT and its derivatives run in such a manner that user level 3 cannot directly access ports.
QUESTION: what windows platforms do you have to use to get IR to run correctly?
David R. Rovner
johnsfine
Site Admin
Posts: 4766
Joined: Sun Aug 10, 2003 5:00 pm
Location: Bedford, MA
Contact:

Post by johnsfine »

IR.EXE can be used on Windows NT and it derivatives, as well as on the Windows 95 derivatives.

The IR distribution includes the file gwiopm.sys which is a device driver which defeats the protection on the printer port. (It doesn't act like a normal device driver and do the protected I/O on behalf of the application. It defeats the protection so the application can do its own I/O).

IR.EXE recognises when gwiopm.sys is needed and automatically installs it (as part of running IR, not as part of installing IR). On a Windows 95 derivative you don't need gwiopm.sys installed. On a Windows NT derivative you need IR to be able to find gwiopm.sys and able to load it. That requires that you have admin privilege when you run IR and seems to also require that IR find gwiopm.sys in a local directory rather than on a file server.
david_rovner
Posts: 2
Joined: Sat Sep 27, 2003 11:25 am

Post by david_rovner »

Thanks for the info!
David R. Rovner
Post Reply