* hardware
  Warning: Be very careful in making the cable and be sure to connect
  with the computers turned off!
  Don't forget about the diods, they are required too.
  If you make a mistake, your CIA in the C64 will surely die.

  C64 user port 	    Red o---+---+---------+-------------+----+
  ------------- 		    |	| 4148	  |		|    | 4148
  IC: 7406N  +-----o GND vvv	   ,+,__+__	 ,+,	       ,+, __+__
	   '-+- 		   | | / \	 | |	       | |  / \
	    \ /  4148		1k | |,-+-,   1k | |	    1k | | ,-+-,
	   --+--		   '+'	|	 '+'	       '+'   |
	     |			    +---+	  |		+----+
  Yellow o---+----------------------+-oIC#6,L	  |		|
  Grey	 o----------------------------------------+-o IC#2	|
  Green  o---+--------------------------------------------------+-oIC#4,K
	     |
	   --+--       Red o-----o IC#14,IC#13,IC#11,IC#9,2
	    / \ 4148	 J o-----o IC#5
	    -+- 	 H o-----o IC#3
	     |		 F o-----o IC#1
  GNDo-------o GND


C64 USER PORT          1 2 3 4 5 6 7 8 9 X Y Z
                       A B C D E F H J K L M N

			     Red o---+------------+-------------+-------+
  PC printer port (LPT1)	     |		  |		|	|
  ----------------------	    ,+, 	 ,+,		|	|
  IC: 7406N			 1k | |       1k | |	       ,+,	|
				    | | 	 | |	       | |	|
				    '+' 	 '+'	    1k | |	|
				     |		  |	       '+'	|
Gray o-------------------------------+-oIC#8,P#13 |		|	|
Green o-------------------------------------------+-oIC#10,P#12 |	|
Yellow o--------------------------------------------------------+-oIC#12|P#11
								  ____	|
				P#6o----oIC#3		  P#15 o-|____|-+
				P#5o----oIC#1			   1k	|
				P#4o----oIC#9			  ____	|
				P#3o----oIC#11		  P#10 o-|____|-+
	 o P#GND,P#20		P#2o----oIC#13			   1k	|
	 |							  ____	|
GND o----+---o IC#7					  IC#5 o-|____|-+
								   1k	|
							  IC#14o--------+

P means the printer ports' pins, IC means the 7406 IC's pins.

The cable must be connected to LPT1 on PC.
Note: It hasn't been tested, but I think these ICs are only needed if you have a
      long cable, otherwise it can work with the single cable & diods.

* files included:
  C64: PCLINK.PRG
       KERNAL.PRG                resident kernal
       PINGSERV.PRG
 (original binaries)
 or    PCLINK (PCLINK.C64)	 transfer program
       PING SERVER (PINGSERV.C64) cabletest server
 (C64FS files)

  PC:  SERVER.EXE executable of C64FS server
       PING.EXE   cable & transfer testprogram
       INITLPT.EXE initialization of port, must be run before SERVER.
