home *** CD-ROM | disk | FTP | other *** search
/ Il CD di internet / CD.iso / SOURCE / KERNEL-S / V1.2 / LINUX-1.2 / LINUX-1 / linux / drivers / net / README1.PLIP < prev    next >
LaTeX Document  |  1994-08-10  |  3.9 KB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: LaTeX Document (document/latex).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert LaTeX Document (document/latex) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file LaTeX document text default
99% file LaTeX document, ASCII text default
100% checkBytes Printable ASCII default
100% perlTextCheck Likely Text (Perl) default
100% siegfried fmt/281 LaTeX (Subdocument) default
100% detectItEasy Format: Plain text[LF] default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 5c 74 69 74 6c 65 7b 50 | 4c 49 50 3a 20 54 68 65 |\title{P|LIP: The|
|00000010| 20 50 61 72 61 6c 6c 65 | 6c 20 4c 69 6e 65 20 49 | Paralle|l Line I|
|00000020| 6e 74 65 72 6e 65 74 20 | 50 72 6f 74 6f 63 6f 6c |nternet |Protocol|
|00000030| 20 44 65 76 69 63 65 7d | 0a 0a 5c 61 75 74 68 6f | Device}|..\autho|
|00000040| 72 7b 20 44 6f 6e 61 6c | 64 20 42 65 63 6b 65 72 |r{ Donal|d Becker|
|00000050| 20 28 62 65 63 6b 65 72 | 40 73 75 70 65 72 2e 6f | (becker|@super.o|
|00000060| 72 67 29 7d 0a 5c 61 66 | 66 69 6c 69 61 74 69 6f |rg)}.\af|filiatio|
|00000070| 6e 7b 49 2e 44 2e 41 2e | 20 53 75 70 65 72 63 6f |n{I.D.A.| Superco|
|00000080| 6d 70 75 74 69 6e 67 20 | 52 65 73 65 61 72 63 68 |mputing |Research|
|00000090| 20 43 65 6e 74 65 72 2c | 20 42 6f 77 69 65 20 4d | Center,| Bowie M|
|000000a0| 44 20 32 30 37 31 35 7d | 0a 0a 25 25 20 41 74 20 |D 20715}|..%% At |
|000000b0| 73 6f 6d 65 20 70 6f 69 | 6e 74 20 54 2e 20 54 68 |some poi|nt T. Th|
|000000c0| 6f 72 6e 20 77 69 6c 6c | 20 70 72 6f 62 61 62 6c |orn will| probabl|
|000000d0| 79 20 63 6f 6e 74 72 69 | 62 75 74 65 20 74 65 78 |y contri|bute tex|
|000000e0| 74 2c 0a 25 25 20 5c 61 | 75 74 68 6f 72 7b 20 54 |t,.%% \a|uthor{ T|
|000000f0| 6f 6d 6d 79 20 54 68 6f | 72 6e 20 28 74 74 68 6f |ommy Tho|rn (ttho|
|00000100| 72 6e 40 64 61 69 6d 69 | 2e 61 61 75 2e 64 6b 29 |rn@daimi|.aau.dk)|
|00000110| 7d 0a 0a 5c 73 65 63 74 | 69 6f 6e 7b 50 4c 49 50 |}..\sect|ion{PLIP|
|00000120| 20 49 6e 74 72 6f 64 75 | 63 74 69 6f 6e 7d 0a 54 | Introdu|ction}.T|
|00000130| 68 69 73 20 64 6f 63 75 | 6d 65 6e 74 20 64 65 73 |his docu|ment des|
|00000140| 63 72 69 62 65 73 20 74 | 68 65 20 70 61 72 61 6c |cribes t|he paral|
|00000150| 6c 65 6c 20 70 6f 72 74 | 20 70 61 63 6b 65 74 20 |lel port| packet |
|00000160| 70 75 73 68 65 72 20 66 | 6f 72 20 4e 65 74 2f 4c |pusher f|or Net/L|
|00000170| 47 58 2e 0a 54 68 69 73 | 20 64 65 76 69 63 65 20 |GX..This| device |
|00000180| 69 6e 74 65 72 66 61 63 | 65 20 61 6c 6c 6f 77 73 |interfac|e allows|
|00000190| 20 61 20 70 6f 69 6e 74 | 2d 74 6f 2d 70 6f 69 6e | a point|-to-poin|
|000001a0| 74 20 63 6f 6e 6e 65 63 | 74 69 6f 6e 20 62 65 74 |t connec|tion bet|
|000001b0| 77 65 65 6e 20 74 77 6f | 0a 70 61 72 61 6c 6c 65 |ween two|.paralle|
|000001c0| 6c 20 70 6f 72 74 73 20 | 74 6f 20 61 70 70 65 61 |l ports |to appea|
|000001d0| 72 20 61 73 20 61 20 49 | 50 20 6e 65 74 77 6f 72 |r as a I|P networ|
|000001e0| 6b 20 69 6e 74 65 72 66 | 61 63 65 2e 0a 0a 5c 63 |k interf|ace...\c|
|000001f0| 68 61 70 74 65 72 7b 50 | 4c 49 50 20 68 61 72 64 |hapter{P|LIP hard|
|00000200| 77 61 72 65 20 69 6e 74 | 65 72 63 6f 6e 6e 65 63 |ware int|erconnec|
|00000210| 74 69 6f 6e 7d 0a 50 4c | 49 50 20 75 73 65 73 20 |tion}.PL|IP uses |
|00000220| 73 65 76 65 72 61 6c 20 | 64 69 66 66 65 72 65 6e |several |differen|
|00000230| 74 20 64 61 74 61 20 74 | 72 61 6e 73 66 65 72 20 |t data t|ransfer |
|00000240| 6d 65 74 68 6f 64 73 2e | 20 20 54 68 65 20 66 69 |methods.| The fi|
|00000250| 72 73 74 20 28 61 6e 64 | 20 74 68 65 0a 6f 6e 6c |rst (and| the.onl|
|00000260| 79 20 6f 6e 65 20 69 6d | 70 6c 65 6d 65 6e 74 65 |y one im|plemente|
|00000270| 64 20 69 6e 20 74 68 65 | 20 65 61 72 6c 79 20 76 |d in the| early v|
|00000280| 65 72 73 69 6f 6e 20 6f | 66 20 74 68 65 20 63 6f |ersion o|f the co|
|00000290| 64 65 29 20 75 73 65 73 | 20 61 20 73 74 61 6e 64 |de) uses| a stand|
|000002a0| 61 72 64 0a 70 72 69 6e | 74 65 72 20 22 6e 75 6c |ard.prin|ter "nul|
|000002b0| 6c 22 20 63 61 62 6c 65 | 20 74 6f 20 74 72 61 6e |l" cable| to tran|
|000002c0| 73 66 65 72 73 20 64 61 | 74 61 20 66 6f 75 72 20 |sfers da|ta four |
|000002d0| 62 69 74 73 20 61 74 20 | 61 20 74 69 6d 65 20 75 |bits at |a time u|
|000002e0| 73 69 6e 67 0a 64 61 74 | 61 20 62 69 74 20 6f 75 |sing.dat|a bit ou|
|000002f0| 74 70 75 74 73 20 63 6f | 6e 6e 65 63 74 65 64 20 |tputs co|nnected |
|00000300| 74 6f 20 73 74 61 74 75 | 73 20 62 69 74 20 69 6e |to statu|s bit in|
|00000310| 70 75 74 73 2e 0a 0a 54 | 68 65 20 73 65 63 6f 6e |puts...T|he secon|
|00000320| 64 20 64 61 74 61 20 74 | 72 61 6e 73 66 65 72 20 |d data t|ransfer |
|00000330| 6d 65 74 68 6f 64 20 72 | 65 6c 69 65 73 20 6f 6e |method r|elies on|
|00000340| 20 62 6f 74 68 20 6d 61 | 63 68 69 6e 65 73 20 68 | both ma|chines h|
|00000350| 61 76 69 6e 67 0a 62 69 | 2d 64 69 72 65 63 74 69 |aving.bi|-directi|
|00000360| 6f 6e 61 6c 20 70 61 72 | 61 6c 6c 65 6c 20 70 6f |onal par|allel po|
|00000370| 72 74 73 2c 20 72 61 74 | 68 65 72 20 74 68 61 6e |rts, rat|her than|
|00000380| 20 6f 75 74 70 75 74 2d | 6f 6e 6c 79 20 60 60 70 | output-|only ``p|
|00000390| 72 69 6e 74 65 72 27 27 | 0a 70 6f 72 74 73 2e 20 |rinter''|.ports. |
|000003a0| 20 54 68 69 73 20 61 6c | 6c 6f 77 73 20 62 79 74 | This al|lows byt|
|000003b0| 65 2d 77 69 64 65 20 74 | 72 61 6e 73 66 65 72 73 |e-wide t|ransfers|
|000003c0| 20 61 6e 64 20 61 76 6f | 69 64 73 20 72 65 63 6f | and avo|ids reco|
|000003d0| 6e 73 74 72 75 63 74 69 | 6e 67 0a 6e 69 62 62 6c |nstructi|ng.nibbl|
|000003e0| 65 73 20 69 6e 74 6f 20 | 62 79 74 65 73 2c 20 6c |es into |bytes, l|
|000003f0| 65 61 64 69 6e 67 20 74 | 6f 20 6d 75 63 68 20 66 |eading t|o much f|
|00000400| 61 73 74 65 72 20 74 72 | 61 6e 73 66 65 72 73 2e |aster tr|ansfers.|
|00000410| 0a 0a 5c 73 65 63 74 69 | 6f 6e 7b 50 61 72 61 6c |..\secti|on{Paral|
|00000420| 6c 65 6c 20 54 72 61 6e | 73 66 65 72 20 4d 6f 64 |lel Tran|sfer Mod|
|00000430| 65 20 30 20 43 61 62 6c | 65 7d 0a 54 68 65 20 63 |e 0 Cabl|e}.The c|
|00000440| 61 62 6c 65 20 66 6f 72 | 20 74 68 65 20 66 69 72 |able for| the fir|
|00000450| 73 74 20 74 72 61 6e 73 | 66 65 72 20 6d 6f 64 65 |st trans|fer mode|
|00000460| 20 69 73 20 61 20 73 74 | 61 6e 64 61 72 64 0a 70 | is a st|andard.p|
|00000470| 72 69 6e 74 65 72 20 22 | 6e 75 6c 6c 22 20 63 61 |rinter "|null" ca|
|00000480| 62 6c 65 20 77 68 69 63 | 68 20 74 72 61 6e 73 66 |ble whic|h transf|
|00000490| 65 72 73 20 64 61 74 61 | 20 66 6f 75 72 20 62 69 |ers data| four bi|
|000004a0| 74 73 20 61 74 20 61 20 | 74 69 6d 65 20 75 73 69 |ts at a |time usi|
|000004b0| 6e 67 0a 64 61 74 61 20 | 62 69 74 20 6f 75 74 70 |ng.data |bit outp|
|000004c0| 75 74 73 20 6f 66 20 74 | 68 65 20 66 69 72 73 74 |uts of t|he first|
|000004d0| 20 70 6f 72 74 20 28 6d | 61 63 68 69 6e 65 20 54 | port (m|achine T|
|000004e0| 29 20 63 6f 6e 6e 65 63 | 74 65 64 20 74 6f 20 74 |) connec|ted to t|
|000004f0| 68 65 0a 73 74 61 74 75 | 73 20 62 69 74 20 69 6e |he.statu|s bit in|
|00000500| 70 75 74 73 20 6f 66 20 | 74 68 65 20 73 65 63 6f |puts of |the seco|
|00000510| 6e 64 20 70 6f 72 74 20 | 28 6d 61 63 68 69 6e 65 |nd port |(machine|
|00000520| 20 52 29 2e 20 20 54 68 | 65 72 65 20 61 72 65 20 | R). Th|ere are |
|00000530| 66 69 76 65 0a 73 74 61 | 74 75 73 20 69 6e 70 75 |five.sta|tus inpu|
|00000540| 74 73 2c 20 61 6e 64 20 | 74 68 65 79 20 61 72 65 |ts, and |they are|
|00000550| 20 75 73 65 64 20 61 73 | 20 66 6f 75 72 20 64 61 | used as| four da|
|00000560| 74 61 20 69 6e 70 75 74 | 73 20 61 6e 64 20 61 20 |ta input|s and a |
|00000570| 63 6c 6f 63 6b 20 28 64 | 61 74 61 0a 73 74 72 6f |clock (d|ata.stro|
|00000580| 62 65 29 20 69 6e 70 75 | 74 2c 20 61 72 72 61 6e |be) inpu|t, arran|
|00000590| 67 65 64 20 73 6f 20 74 | 68 61 74 20 74 68 65 20 |ged so t|hat the |
|000005a0| 64 61 74 61 20 69 6e 70 | 75 74 20 62 69 74 73 20 |data inp|ut bits |
|000005b0| 61 70 70 65 61 72 20 61 | 73 20 63 6f 6e 74 69 67 |appear a|s contig|
|000005c0| 75 6f 75 73 0a 62 69 74 | 73 20 77 69 74 68 20 73 |uous.bit|s with s|
|000005d0| 74 61 6e 64 61 72 64 20 | 73 74 61 74 75 73 20 72 |tandard |status r|
|000005e0| 65 67 69 73 74 65 72 20 | 69 6d 70 6c 65 6d 65 6e |egister |implemen|
|000005f0| 74 61 74 69 6f 6e 2e 0a | 0a 41 20 63 61 62 6c 65 |tation..|.A cable|
|00000600| 20 74 68 61 74 20 69 6d | 70 6c 65 6d 65 6e 74 73 | that im|plements|
|00000610| 20 74 68 69 73 20 70 72 | 6f 74 6f 63 6f 6c 20 69 | this pr|otocol i|
|00000620| 73 20 61 76 61 69 6c 61 | 62 6c 65 20 63 6f 6d 6d |s availa|ble comm|
|00000630| 65 72 63 69 61 6c 6c 79 | 20 61 73 20 61 0a 22 4e |ercially| as a."N|
|00000640| 75 6c 6c 20 50 72 69 6e | 74 65 72 22 20 6f 72 20 |ull Prin|ter" or |
|00000650| 22 54 75 72 62 6f 20 4c | 61 70 6c 69 6e 6b 22 20 |"Turbo L|aplink" |
|00000660| 63 61 62 6c 65 2e 20 20 | 49 74 20 63 61 6e 20 62 |cable. |It can b|
|00000670| 65 20 63 6f 6e 73 74 72 | 75 63 74 65 64 20 77 69 |e constr|ucted wi|
|00000680| 74 68 0a 74 77 6f 20 44 | 42 2d 32 35 20 6d 61 6c |th.two D|B-25 mal|
|00000690| 65 20 63 6f 6e 6e 65 63 | 74 6f 72 73 20 73 79 6d |e connec|tors sym|
|000006a0| 6d 65 74 72 69 63 61 6c | 6c 79 20 63 6f 6e 6e 65 |metrical|ly conne|
|000006b0| 63 74 65 64 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |cted as |follows:|
|000006c0| 0a 0a 20 20 20 20 53 54 | 52 4f 42 45 20 6f 75 74 |.. ST|ROBE out|
|000006d0| 70 75 74 09 31 2a 0a 20 | 20 20 20 44 30 2d 3e 45 |put.1*. | D0->E|
|000006e0| 52 52 4f 52 09 32 20 2d | 20 31 35 09 09 31 35 20 |RROR.2 -| 15..15 |
|000006f0| 2d 20 32 0a 20 20 20 20 | 44 31 2d 3e 53 4c 43 54 |- 2. |D1->SLCT|
|00000700| 09 33 20 2d 20 31 33 09 | 09 31 33 20 2d 20 33 0a |.3 - 13.|.13 - 3.|
|00000710| 20 20 20 20 44 32 2d 3e | 50 41 50 4f 55 54 09 34 | D2->|PAPOUT.4|
|00000720| 20 2d 20 31 32 09 09 31 | 32 20 2d 20 34 0a 20 20 | - 12..1|2 - 4. |
|00000730| 20 20 44 33 2d 3e 41 43 | 4b 09 35 20 2d 20 31 30 | D3->AC|K.5 - 10|
|00000740| 09 09 31 30 20 2d 20 35 | 0a 20 20 20 20 44 34 2d |..10 - 5|. D4-|
|00000750| 3e 42 55 53 59 09 36 20 | 2d 20 31 31 09 09 31 31 |>BUSY.6 |- 11..11|
|00000760| 20 2d 20 36 0a 20 20 20 | 20 44 35 2c 44 36 2c 44 | - 6. | D5,D6,D|
|00000770| 37 20 61 72 65 20 20 20 | 37 2a 2c 20 38 2a 2c 20 |7 are |7*, 8*, |
|00000780| 39 2a 0a 20 20 20 20 41 | 55 54 4f 46 44 20 6f 75 |9*. A|UTOFD ou|
|00000790| 74 70 75 74 20 31 34 2a | 0a 20 20 20 20 49 4e 49 |tput 14*|. INI|
|000007a0| 54 20 20 20 6f 75 74 70 | 75 74 20 31 36 2a 0a 20 |T outp|ut 16*. |
|000007b0| 20 20 20 53 4c 43 54 49 | 4e 09 31 37 20 2d 20 31 | SLCTI|N.17 - 1|
|000007c0| 37 0a 20 20 20 20 65 78 | 74 72 61 20 67 72 6f 75 |7. ex|tra grou|
|000007d0| 6e 64 73 20 61 72 65 20 | 31 38 2a 2c 31 39 2a 2c |nds are |18*,19*,|
|000007e0| 32 30 2a 2c 32 31 2a 2c | 32 32 2a 2c 32 33 2a 2c |20*,21*,|22*,23*,|
|000007f0| 32 34 2a 0a 20 20 20 20 | 47 52 4f 55 4e 44 09 32 |24*. |GROUND.2|
|00000800| 35 20 2d 20 32 35 0a 2a | 20 44 6f 20 6e 6f 74 20 |5 - 25.*| Do not |
|00000810| 63 6f 6e 6e 65 63 74 20 | 74 68 65 73 65 20 70 69 |connect |these pi|
|00000820| 6e 73 20 6f 6e 20 65 69 | 74 68 65 72 20 65 6e 64 |ns on ei|ther end|
|00000830| 0a 0a 49 66 20 74 68 65 | 20 63 61 62 6c 65 20 79 |..If the| cable y|
|00000840| 6f 75 20 61 72 65 20 75 | 73 69 6e 67 20 68 61 73 |ou are u|sing has|
|00000850| 20 61 20 6d 65 74 61 6c | 6c 69 63 20 73 68 69 65 | a metal|lic shie|
|00000860| 6c 64 20 69 74 20 73 68 | 6f 75 6c 64 20 62 65 0a |ld it sh|ould be.|
|00000870| 63 6f 6e 6e 65 63 74 65 | 64 20 74 6f 20 74 68 65 |connecte|d to the|
|00000880| 20 6d 65 74 61 6c 6c 69 | 63 20 44 42 2d 32 35 20 | metalli|c DB-25 |
|00000890| 73 68 65 6c 6c 20 61 74 | 20 6f 6e 65 20 65 6e 64 |shell at| one end|
|000008a0| 20 6f 6e 6c 79 2e 0a 0a | 5c 73 65 63 74 69 6f 6e | only...|\section|
|000008b0| 7b 50 61 72 61 6c 6c 65 | 6c 20 54 72 61 6e 73 66 |{Paralle|l Transf|
|000008c0| 65 72 20 4d 6f 64 65 20 | 31 7d 0a 54 68 65 20 73 |er Mode |1}.The s|
|000008d0| 65 63 6f 6e 64 20 64 61 | 74 61 20 74 72 61 6e 73 |econd da|ta trans|
|000008e0| 66 65 72 20 6d 65 74 68 | 6f 64 20 72 65 6c 69 65 |fer meth|od relie|
|000008f0| 73 20 6f 6e 20 62 6f 74 | 68 20 6d 61 63 68 69 6e |s on bot|h machin|
|00000900| 65 73 20 68 61 76 69 6e | 67 0a 62 69 2d 64 69 72 |es havin|g.bi-dir|
|00000910| 65 63 74 69 6f 6e 61 6c | 20 70 61 72 61 6c 6c 65 |ectional| paralle|
|00000920| 6c 20 70 6f 72 74 73 2c | 20 72 61 74 68 65 72 20 |l ports,| rather |
|00000930| 74 68 61 6e 20 6f 75 74 | 70 75 74 2d 6f 6e 6c 79 |than out|put-only|
|00000940| 20 60 60 70 72 69 6e 74 | 65 72 27 27 0a 70 6f 72 | ``print|er''.por|
|00000950| 74 73 2e 20 20 54 68 69 | 73 20 61 6c 6c 6f 77 73 |ts. Thi|s allows|
|00000960| 20 62 79 74 65 2d 77 69 | 64 65 20 74 72 61 6e 73 | byte-wi|de trans|
|00000970| 66 65 72 73 2c 20 61 6e | 64 20 61 76 6f 69 64 73 |fers, an|d avoids|
|00000980| 20 72 65 63 6f 6e 73 74 | 72 75 63 74 69 6e 67 0a | reconst|ructing.|
|00000990| 6e 69 62 62 6c 65 73 20 | 69 6e 74 6f 20 62 79 74 |nibbles |into byt|
|000009a0| 65 73 2e 20 20 54 68 69 | 73 20 63 61 62 6c 65 20 |es. Thi|s cable |
|000009b0| 73 68 6f 75 6c 64 20 6e | 6f 74 20 62 65 20 75 73 |should n|ot be us|
|000009c0| 65 64 20 6f 6e 20 75 6e | 69 64 69 72 65 63 74 69 |ed on un|idirecti|
|000009d0| 6f 6e 61 6c 0a 60 60 70 | 72 69 6e 74 65 72 27 27 |onal.``p|rinter''|
|000009e0| 20 28 61 73 20 6f 70 70 | 6f 73 65 64 20 74 6f 20 | (as opp|osed to |
|000009f0| 60 60 70 61 72 61 6c 6c | 65 6c 27 27 29 20 70 6f |``parall|el'') po|
|00000a00| 72 74 73 20 6f 72 20 77 | 68 65 6e 20 74 68 65 20 |rts or w|hen the |
|00000a10| 6d 61 63 68 69 6e 65 0a | 69 73 6e 27 74 20 63 6f |machine.|isn't co|
|00000a20| 6e 66 69 67 75 72 65 64 | 20 66 6f 72 20 50 4c 49 |nfigured| for PLI|
|00000a30| 50 2c 20 61 73 20 69 74 | 20 77 69 6c 6c 20 72 65 |P, as it| will re|
|00000a40| 73 75 6c 74 20 69 6e 20 | 6f 75 74 70 75 74 20 64 |sult in |output d|
|00000a50| 72 69 76 65 72 0a 63 6f | 6e 66 6c 69 63 74 73 20 |river.co|nflicts |
|00000a60| 61 6e 64 20 74 68 65 20 | 28 75 6e 6c 69 6b 65 6c |and the |(unlikel|
|00000a70| 79 29 20 70 6f 73 73 69 | 62 69 6c 69 74 79 20 6f |y) possi|bility o|
|00000a80| 66 20 64 61 6d 61 67 65 | 2e 0a 0a 54 68 65 20 63 |f damage|...The c|
|00000a90| 61 62 6c 65 20 66 6f 72 | 20 74 68 69 73 20 74 72 |able for| this tr|
|00000aa0| 61 6e 73 66 65 72 20 6d | 6f 64 65 20 73 68 6f 75 |ansfer m|ode shou|
|00000ab0| 6c 64 20 62 65 20 63 6f | 6e 73 74 72 75 63 74 65 |ld be co|nstructe|
|00000ac0| 64 20 61 73 20 66 6f 6c | 6c 6f 77 73 3a 0a 0a 20 |d as fol|lows:.. |
|00000ad0| 20 20 20 53 54 52 4f 42 | 45 2d 3e 42 55 53 59 20 | STROB|E->BUSY |
|00000ae0| 31 20 2d 20 31 31 0a 20 | 20 20 20 44 30 2d 3e 44 |1 - 11. | D0->D|
|00000af0| 30 09 32 20 2d 20 32 0a | 20 20 20 20 44 31 2d 3e |0.2 - 2.| D1->|
|00000b00| 44 31 09 33 20 2d 20 33 | 0a 20 20 20 20 44 32 2d |D1.3 - 3|. D2-|
|00000b10| 3e 44 32 09 34 20 2d 20 | 34 0a 20 20 20 20 44 33 |>D2.4 - |4. D3|
|00000b20| 2d 3e 44 33 09 35 20 2d | 20 35 0a 20 20 20 20 44 |->D3.5 -| 5. D|
|00000b30| 34 2d 3e 44 34 09 36 20 | 2d 20 36 0a 20 20 20 20 |4->D4.6 |- 6. |
|00000b40| 44 35 2d 3e 44 35 09 37 | 20 2d 20 37 0a 20 20 20 |D5->D5.7| - 7. |
|00000b50| 20 44 36 2d 3e 44 36 09 | 38 20 2d 20 38 0a 20 20 | D6->D6.|8 - 8. |
|00000b60| 20 20 44 37 2d 3e 44 37 | 09 39 20 2d 20 39 0a 20 | D7->D7|.9 - 9. |
|00000b70| 20 20 20 49 4e 49 54 20 | 2d 3e 20 41 43 4b 20 20 | INIT |-> ACK |
|00000b80| 31 36 20 2d 20 31 30 0a | 20 20 20 20 41 55 54 4f |16 - 10.| AUTO|
|00000b90| 46 44 2d 3e 50 41 50 4f | 55 54 20 31 34 20 2d 20 |FD->PAPO|UT 14 - |
|00000ba0| 31 32 0a 20 20 20 20 53 | 4c 43 54 2d 3e 53 4c 43 |12. S|LCT->SLC|
|00000bb0| 54 49 4e 20 31 33 20 2d | 20 31 37 0a 20 20 20 20 |TIN 13 -| 17. |
|00000bc0| 47 4e 44 2d 3e 45 52 52 | 4f 52 09 31 38 20 2d 20 |GND->ERR|OR.18 - |
|00000bd0| 31 35 0a 20 20 20 20 65 | 78 74 72 61 20 67 72 6f |15. e|xtra gro|
|00000be0| 75 6e 64 73 20 61 72 65 | 20 31 39 2a 2c 32 30 2a |unds are| 19*,20*|
|00000bf0| 2c 32 31 2a 2c 32 32 2a | 2c 32 33 2a 2c 32 34 2a |,21*,22*|,23*,24*|
|00000c00| 0a 20 20 20 20 47 52 4f | 55 4e 44 09 32 35 20 2d |. GRO|UND.25 -|
|00000c10| 20 32 35 0a 2a 20 44 6f | 20 6e 6f 74 20 63 6f 6e | 25.* Do| not con|
|00000c20| 6e 65 63 74 20 74 68 65 | 73 65 20 70 69 6e 73 20 |nect the|se pins |
|00000c30| 6f 6e 20 65 69 74 68 65 | 72 20 65 6e 64 0a 0a 4f |on eithe|r end..O|
|00000c40| 6e 63 65 20 61 67 61 69 | 6e 2c 20 69 66 20 74 68 |nce agai|n, if th|
|00000c50| 65 20 63 61 62 6c 65 20 | 79 6f 75 20 61 72 65 20 |e cable |you are |
|00000c60| 75 73 69 6e 67 20 68 61 | 73 20 61 20 6d 65 74 61 |using ha|s a meta|
|00000c70| 6c 6c 69 63 20 73 68 69 | 65 6c 64 20 69 74 20 73 |llic shi|eld it s|
|00000c80| 68 6f 75 6c 64 0a 62 65 | 20 63 6f 6e 6e 65 63 74 |hould.be| connect|
|00000c90| 65 64 20 74 6f 20 74 68 | 65 20 6d 65 74 61 6c 6c |ed to th|e metall|
|00000ca0| 69 63 20 44 42 2d 32 35 | 20 73 68 65 6c 6c 20 61 |ic DB-25| shell a|
|00000cb0| 74 20 6f 6e 65 20 65 6e | 64 20 6f 6e 6c 79 2e 0a |t one en|d only..|
|00000cc0| 0a 5c 73 65 63 74 69 6f | 6e 7b 50 4c 49 50 20 4d |.\sectio|n{PLIP M|
|00000cd0| 6f 64 65 20 30 20 74 72 | 61 6e 73 66 65 72 20 70 |ode 0 tr|ansfer p|
|00000ce0| 72 6f 74 6f 63 6f 6c 7d | 0a 54 68 65 20 50 4c 49 |rotocol}|.The PLI|
|00000cf0| 50 20 64 72 69 76 65 72 | 20 69 73 20 63 6f 6d 70 |P driver| is comp|
|00000d00| 61 74 69 62 6c 65 20 77 | 69 74 68 20 74 68 65 20 |atible w|ith the |
|00000d10| 22 43 72 79 6e 77 72 22 | 20 70 61 72 61 6c 6c 65 |"Crynwr"| paralle|
|00000d20| 6c 20 70 6f 72 74 20 74 | 72 61 6e 73 66 65 72 0a |l port t|ransfer.|
|00000d30| 73 74 61 6e 64 61 72 64 | 20 69 6e 20 4d 6f 64 65 |standard| in Mode|
|00000d40| 20 30 2e 20 20 54 68 61 | 74 20 73 74 61 6e 64 61 | 0. Tha|t standa|
|00000d50| 72 64 20 73 70 65 63 69 | 66 69 65 73 20 74 68 65 |rd speci|fies the|
|00000d60| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 70 72 6f 74 6f | followi|ng proto|
|00000d70| 63 6f 6c 3a 0a 0a 20 20 | 20 73 65 6e 64 20 68 65 |col:.. | send he|
|00000d80| 61 64 65 72 20 6e 69 62 | 62 6c 65 20 27 38 27 0a |ader nib|ble '8'.|
|00000d90| 20 20 20 63 6f 75 6e 74 | 2d 6c 6f 77 20 6f 63 74 | count|-low oct|
|00000da0| 65 74 0a 20 20 20 63 6f | 75 6e 74 2d 68 69 67 68 |et. co|unt-high|
|00000db0| 20 6f 63 74 65 74 0a 20 | 20 20 2e 2e 2e 20 64 61 | octet. | ... da|
|00000dc0| 74 61 20 6f 63 74 65 74 | 73 0a 20 20 20 63 68 65 |ta octet|s. che|
|00000dd0| 63 6b 73 75 6d 20 6f 63 | 74 65 74 0a 0a 45 61 63 |cksum oc|tet..Eac|
|00000de0| 68 20 6f 63 74 65 74 20 | 69 73 20 73 65 6e 74 20 |h octet |is sent |
|00000df0| 61 73 0a 09 3c 77 61 69 | 74 20 66 6f 72 20 72 78 |as..<wai|t for rx|
|00000e00| 2e 20 27 31 27 3e 09 3c | 73 65 6e 64 20 30 78 31 |. '1'>.<|send 0x1|
|00000e10| 30 2b 28 6f 63 74 65 74 | 26 30 78 30 46 29 3e 0a |0+(octet|&0x0F)>.|
|00000e20| 09 3c 77 61 69 74 20 66 | 6f 72 20 72 78 2e 20 27 |.<wait f|or rx. '|
|00000e30| 30 27 3e 09 3c 73 65 6e | 64 20 30 78 30 30 2b 28 |0'>.<sen|d 0x00+(|
|00000e40| 28 6f 63 74 65 74 3e 3e | 34 29 26 30 78 30 46 29 |(octet>>|4)&0x0F)|
|00000e50| 3e 0a 0a 54 6f 20 73 74 | 61 72 74 20 61 20 74 72 |>..To st|art a tr|
|00000e60| 61 6e 73 66 65 72 20 74 | 68 65 20 74 72 61 6e 73 |ansfer t|he trans|
|00000e70| 6d 69 74 74 69 6e 67 20 | 6d 61 63 68 69 6e 65 20 |mitting |machine |
|00000e80| 6f 75 74 70 75 74 73 20 | 61 20 6e 69 62 62 6c 65 |outputs |a nibble|
|00000e90| 20 30 78 30 38 2e 0a 54 | 68 65 20 72 61 69 73 65 | 0x08..T|he raise|
|00000ea0| 73 20 74 68 65 20 41 43 | 4b 20 6c 69 6e 65 2c 20 |s the AC|K line, |
|00000eb0| 74 72 69 67 67 65 72 69 | 6e 67 20 61 6e 20 69 6e |triggeri|ng an in|
|00000ec0| 74 65 72 72 75 70 74 20 | 69 6e 20 74 68 65 20 72 |terrupt |in the r|
|00000ed0| 65 63 65 69 76 69 6e 67 | 0a 6d 61 63 68 69 6e 65 |eceiving|.machine|
|00000ee0| 2e 20 20 54 68 65 20 72 | 65 63 65 69 76 69 6e 67 |. The r|eceiving|
|00000ef0| 20 6d 61 63 68 69 6e 65 | 20 64 69 73 61 62 6c 65 | machine| disable|
|00000f00| 73 0a 0a 52 65 73 74 61 | 74 65 64 3a 0a 0a 28 4f |s..Resta|ted:..(O|
|00000f10| 55 54 20 69 73 20 62 69 | 74 20 30 2d 34 2c 20 4f |UT is bi|t 0-4, O|
|00000f20| 55 54 2e 6a 20 69 73 20 | 62 69 74 20 6a 20 66 72 |UT.j is |bit j fr|
|00000f30| 6f 6d 20 4f 55 54 2e 20 | 49 4e 20 6c 69 6b 65 77 |om OUT. |IN likew|
|00000f40| 69 73 65 29 0a 53 65 6e | 64 5f 42 79 74 65 3a 0a |ise).Sen|d_Byte:.|
|00000f50| 20 20 20 4f 55 54 20 3a | 3d 20 6c 6f 77 20 6e 69 | OUT :|= low ni|
|00000f60| 62 62 6c 65 2c 20 4f 55 | 54 2e 34 20 3a 3d 20 31 |bble, OU|T.4 := 1|
|00000f70| 0a 20 20 20 57 41 49 54 | 20 46 4f 52 20 49 4e 2e |. WAIT| FOR IN.|
|00000f80| 34 20 3d 20 31 0a 20 20 | 20 4f 55 54 20 3a 3d 20 |4 = 1. | OUT := |
|00000f90| 68 69 67 68 20 6e 69 62 | 62 6c 65 2c 20 4f 55 54 |high nib|ble, OUT|
|00000fa0| 2e 34 20 3a 3d 20 30 0a | 20 20 20 57 41 49 54 20 |.4 := 0.| WAIT |
|00000fb0| 46 4f 52 20 49 4e 2e 34 | 20 3d 20 30 0a 0a 0a |FOR IN.4| = 0... |
+--------+-------------------------+-------------------------+--------+--------+