Content deleted Content added
m Typo & format fixing, Typos fixed: lenght → length (2), using AWB |
|||
Line 8:
The [[laplink cable|null-printer cable]] connects five output pins of a parallel port to five input pins on the other port, and vice versa. Due to the lack of an internal timing in the parallel ports, synchronization is done via software handshaking: of the five input or output pins, four are used for data transfer and one is used for synchronization. The logical values at these pins can be read and written directly by the software via an io instruction.
Transmission of a byte is done by first breaking it into two [[nibble]]s of four bits each. Each nibble is then transmitted by first setting the four data lines according to the four nibble bits and then toggling the acknowledge line. This toggle indicates the receiving host that the nibble is ready to be read. Once the receiving host has read the nibble, it
As an example, the transfer of nibble <tt>0010</tt> is done as follows:
Line 14:
t->r lines r->s lines operation
00010 0xxxx
10010 0xxxx
10010 1xxxx
When the
Every IP packet is sent over the line by first encapsulating it into a plip packet, which is then sent using the above protocol. The encapsulated packet is as follows:
|