Searching \ for 'Parallel Port host and periperhal code?' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/ios.htm?key=port
Search entire site for: 'Parallel Port host and periperhal code?'.

Truncated match.
PICList Thread
'Parallel Port host and periperhal code?'
1998\12\17@132941 by Harold Hallikainen

picon face
       I've just read thru Parallel Port Complete.  Nicely done!  Now,
it SEEMS to me that it should be possible to avoid reinventing the wheel.
Seems that there SHOULD be a generic parallel port VxD or driver we can
install in Windoze that would give us control of a parallel port and let
us twiddle bits on the port.  Does such a thing exist?
       Further, I've written my own code for the 16c74a for nibble mode
transfers and a modified SPP transfer to the PIC (I use the Parallel
Slave Port, latching data on the SPP strobe, then inverting one status
bit as a simple one wire handshake).  However, is there a library for the
PIC where someone has written various parallel port routines including,
perhaps, the advanced protocols?


Harold



Harold Hallikainen
spam_OUTharoldTakeThisOuTspamhallikainen.com
Hallikainen & Friends, Inc.
See the FCC Rules at http://hallikainen.com/FccRules and comments filed
in LPFM proceeding at http://hallikainen.com/lpfm

___________________________________________________________________
You don't need to buy Internet access to use free Internet e-mail.
Get completely free e-mail from Juno at http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

1998\12\17@141044 by kfisk

flavicon
face
>         I've just read thru Parallel Port Complete.  Nicely
> done!  Now,
> it SEEMS to me that it should be possible to avoid
> reinventing the wheel.
>  Seems that there SHOULD be a generic parallel port VxD or
> driver we can
> install in Windoze that would give us control of a parallel
> port and let
> us twiddle bits on the port.  Does such a thing exist?

Yes there are. A WEB search should find you some. I've used a shareware
product called TVicPort, but can't remember where I obtained it (got it some
1 1/2 ago). I've developed most of my port programs using Borland (now
Inprise) Builder, but I know you can also use M$ Visual C and I believe
Visual Basic although I'm not 100% sure on that one.

>         Further, I've written my own code for the 16c74a for
> nibble mode
> transfers and a modified SPP transfer to the PIC (I use the Parallel
> Slave Port, latching data on the SPP strobe, then inverting one status
> bit as a simple one wire handshake).  However, is there a
> library for the
> PIC where someone has written various parallel port routines
> including,
> perhaps, the advanced protocols?

Not that I know of, but until recently haven't developed with PIC parts in a
number of years.

{Quote hidden}

http://www.juno.com/getjuno.html
or call Juno at (800) 654-JUNO [654-5866]

1998\12\17@143922 by Ricardo Seixas

picon face
Hi Harold

>        I've just read thru Parallel Port Complete.  Nicely done!  Now,
>it SEEMS to me that it should be possible to avoid reinventing the wheel.
> Seems that there SHOULD be a generic parallel port VxD or driver we can
>install in Windoze that would give us control of a parallel port and let
>us twiddle bits on the port.  Does such a thing exist?

       A few years ago I've writed a DLL in Borland C that did exactly this.
       Then a VB or C program can take control of the Parallel port.
       Now there's a lot of drivers like this floating around on the net
from free to comercial.
       Jan Axelson's site http://www.lvr.com have some DLL's and examples
on how to interface in Delphi or VB.



Ricardo Seixas

1998\12\17@145604 by Dennis Merrill

flavicon
face
Although the correct way is to use a VxD, you can simply do in's and out's
from user mode in Windows9x.  You cannot, however, do this under WindowsNT.
Note that if the lpt port you are using is shared (i.e. there is a
printer/scanner/etc on the same port), you need to have a VxD to call VCOMM
contention services. This guarantees exclusivity.

                                                       - Dennis

At 01:28 PM 12/17/98 EST, you wrote:
{Quote hidden}

More... (looser matching)
- Last day of these posts
- In 1998 , 1999 only
- Today
- New search...