Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

controlling GPIOs from DOS (Announce)

posted by bretjohn Homepage E-mail, Rio Rancho, NM, 05.12.2013, 03:18

Regular parallel ports can easily exceed 1 Mbps, so it doesn't sound like speed is your issue -- you don't need an "improved" parallel port in that sense. It sounds like your main concern is the interface, not the speed.

Does it need to be an I/O interface, or would the regular INT 17h BIOS interface for the parallel port work for you? Of course the INT 17h interface only allows for a byte at a time to be transferred instead of a dword, but you could easily create a function/procedure to handle that automatically (the "simple" interface you're looking for could be a function call, could it not?).

In my USBPRINT program, I've added some INT 17h extensions to allow for the transfer of entire blocks of data (not just a byte or even a dword at a time), and also to allow for data to be received from the device instead of just being sent. The data in the reverse direction (from the device to the computer) must be sent in nibble mode (IEEE 1284 specification), so isn't as fast as the forward direction, but it does work. The main purpose of USBPRINT is to be a driver for USB printers and USB-to-parallel converter cables, but also adds some enhancements to regular parallel ports. It may be able to help you with your quest.

 

Complete thread:

Back to the forum
Board view  Mix view
22632 Postings in 2109 Threads, 402 registered users, 404 users online (0 registered, 404 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum