Win2k Keyboard Port
-
In our EPos program (running on a Win98 computer), I am using the "_inp" and "_outp" functions to get the status of the Credit Card reader (attached to the Keyboard). The commands are: Keyboard Status Enquiry _inp(0x64); Enable Card Reader _outp(0x60, 0xd3); Disable Card Reader _outp(0x60, 0xd4); These commands always crash the Win2k machine, I guess it has something to do about reading/writting to an address. So is there a LEGAL (or EASY) way of reading/writting this data to the Keyboard port on a Win2k machine, or is the keyboard located at a different port ?. Any help would do - honest.
-
In our EPos program (running on a Win98 computer), I am using the "_inp" and "_outp" functions to get the status of the Credit Card reader (attached to the Keyboard). The commands are: Keyboard Status Enquiry _inp(0x64); Enable Card Reader _outp(0x60, 0xd3); Disable Card Reader _outp(0x60, 0xd4); These commands always crash the Win2k machine, I guess it has something to do about reading/writting to an address. So is there a LEGAL (or EASY) way of reading/writting this data to the Keyboard port on a Win2k machine, or is the keyboard located at a different port ?. Any help would do - honest.