Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hope this isn't too far off-topic, but maybe somebody who has actually
done something homebrew like this can give me some pointers. I'd like to connect two PC's with EPP ports so they could "talk" to each other (mono-directional at any instant but reversible -- probably by passing a "token" back and forth -- and preferably NOT using interrupts because I'll be doing most of the programming in a high-level language). This is a one-off job and I'm not looking for elegance or portability; I just want something to work reliably. Maximum cable length will be be less than 10 meters, so propagation time should be minimal. The programming, itself, doesn't bother me, but it's how to CONNECT the two parallel ports and how to implement half of the handshake. Each port has the following pins/functions available: DIRECTION: DESCRIPTION(#) Out: Write InOut: Data (8) In: Interrupt In: Wait Out: DataStrobe Out: Reset Out: AdrsStrobe In: Spare (3) Ground: (8) Some connections are fairly obvious: * 8 data lines to corresponding 8 data lines * 1 (or a few) ground line(s) to ground line(s) * DataStrobe outputs to the other's Interrupt inputs (but I'll DISable the Interrupts). Possible algorithm: Assume one PC is started as SeNDeR and the other as ReCeiVeR: Not sure how RCVR lets SNDR know it is ready to receive, but RCVR furiously polls the Interrupt input. SNDR writes the data to its port. which causes Write to go low which causes data to be dumped on the output data lines Not sure what signal from RCVR should be the SNDR's Wait signal. but when SNDR's Wait is low SNDR's DataStrobe is set high Something tells me this just isn't going to work! HELP! Please! -- --Myron A. Calhoun. Five boxes preserve our freedoms: soap, ballot, witness, jury, and cartridge NRA Life Member and Rifle, Pistol, & Home Firearm Safety Certified Instructor Certified Instructor for the Kansas Concealed-Carry Handgun license |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ICOM AT-150 tuner antenna ports | Equipment | |||
Adding serial ports to PC notebook | Scanner | |||
MFJ 1278 and usb ports instead of serial ports. | General | |||
How to connect external antenna to GE Super Radio III | Antenna |