WTKBPP - Waveterm Keyboard via Parallel Port
============================================

This program, together with a special cable (see below), allows to use the
PC keyboard as a Waveterm ASCII keyboard.

Usage:

  wtkbpp

Works under any PC/MS-DOS Variant >= V3.3, DR-DOS, FreeDOS, ...
Works under Windows 3.x, 95, 98, ME.
Doesn't work under NT or Win2K, sorry.

To compensate for that, it even runs when the cable is daisy-chained to a
Parallel Port ZIP drive :-)

wtkbpp uses the first available parallel port for communications.
If you don't like it, source code's included... it's so simple, anybody can change it.
To use LPT2:, change the line
  unsigned short nBasePort = *((unsigned short far *)0x408);
to
  unsigned short nBasePort = *((unsigned short far *)0x40A);
For LPT3:, use 
  unsigned short nBasePort = *((unsigned short far *)0x40C);

Recompile and that's it.

Adapter Cable
=============

The cable should have the following layout:

Waveterm ASCII                PC Parallel
             Pin              Pin
+5v           1
Data 7        2 -------------- 9
Data 5        3 -------------- 7
Data 3        4 -------------- 5
Data 1        5 -------------- 3
NC            6
Ground        7 -------------- 18-25
Data 6        8 -------------- 8
Data 4        9 -------------- 6
Data 2       10 -------------- 4
Data 0       11 -------------- 2
Strobe       12 -------------- 1
+12v         13
NC           14


That's all it takes.

I used a cheap printer cable and unsoldered the Centronics side -
recommendable, since they normally have pins 18-25 interconnected
on the Parallel Port side, which means less soldering work.

Legal disclaimer:
=================
This worked for me; I can of course NOT guarantee for YOUR work,
so if something's damaged in your PC or Waveterm as a consequence of
attaching a homemade adapter after this design, I definitely cannot
be held liable for that.

Apart from that - it's simple. Give it a try!