home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dcom / modems / 11112 < prev    next >
Encoding:
Internet Message Format  |  1992-07-25  |  3.6 KB

  1. Path: sparky!uunet!mcsun!uknet!icdoc!cc.ic.ac.uk!carrion.cc.ic.ac.uk!vulture
  2. From: vulture@carrion.cc.ic.ac.uk (Thomas Sippel - Dau)
  3. Newsgroups: comp.dcom.modems
  4. Subject: Re:  Serial and Parallel interface ??????
  5. Message-ID: <1992Jul24.184318.18883@cc.ic.ac.uk>
  6. Date: 24 Jul 92 17:43:18 GMT
  7. References: <zgam_3l.wolfgang@netcom.com> <clemon.08gc@lemsys.UUCP> <1992Jul21.205557.29123@cc.ic.ac.uk> <1992Jul23.011759.14499@ksmith.uucp>
  8. Reply-To: cmaae47@cc.ic.ac.uk
  9. Organization: Imperial College of Science, Technology and Medicine
  10. Lines: 55
  11. Nntp-Posting-Host: cscgc
  12.  
  13. In article <1992Jul23.011759.14499@ksmith.uucp>, keith@ksmith.uucp (Keith Smith) writes:
  14. ..... lots of good stuff about cycles available for a reading data from a
  15.        serial port. Recommended reading. But I won't repeat it here.
  16.  
  17. Keith,
  18.  
  19. Intuitively I always knew that the 80xxx series of processors was a bad 
  20. product, now you give me another nail for the coffin. I can still remeber
  21. reading in L.A. Leventhal on the 6502 how to write a serial driver that uses
  22. the V register to shift the bit in from the serial line, no need to pay
  23. for those expensiv uarts ...
  24.  
  25. Yes, I know, you can only do so much with a processor at a given speed, and 
  26. when there are 11500 interrupts per second to serve, most will grind to a halt.
  27. "Modern" "Risc" chips are rather more affected by this if they use a stupid
  28. "save all registers just in case" interrupt handler, since they have so many
  29. registers.
  30.  
  31. But even when the throughput is limited, there is no excuse for dropping 
  32. bytes as long as the processor has ways to control the total throughput.
  33. On the mint condition 1981 PC with an 8088 this may mean doing either a
  34. (floppy-) disk or a serial port transfer, and in particular telling the modem
  35. to shut up for some time. This does not help nominal throughput, it cannot do,
  36. as the CPU on the receiving end is the bottleneck.
  37.  
  38. However, not obeying flow control will be more expensive, because files or 
  39. packets have to be retransmitted. We did exactly that here to get early 
  40. Kermits in binary form: read from the serial port, write to disk, if bytes 
  41. are lost ask for retransmission. Wasteful, but its get you going.
  42.  
  43. But the point is that NO manufacturer I know of has sold machines that 
  44. dropped bytes in transfers to and from floppy disks, I someone did they 
  45. certainly did not sell many of those. Serial (or parallel) ports should 
  46. have the same reliablility, and manufacturers should give people *exact*
  47. ideas what their machines can and cannot do. There is only one way to 
  48. achieve this: keep pestering them about it.
  49.  
  50. Finally, a parallel port has got some big advantages. At low speeds, you can
  51. control a LED bar or a robot, at high speeds there is the fact that each byte
  52. is handed off and acknowledged. This is also done in (asynchronous) SCSI.
  53.  
  54. The problem with SCSI is that there is a fairly rigid protocol, and that
  55. people who have SCSI buses on their computers usually have disks drives
  56. hanging off them. They are therefore reluctant to put anything onto a SCSI
  57. bus before it is known to behave correctly. Once it is understood what a
  58. peripheral does, the software has been debugged and the throughput 
  59. requirements are known it can well go on to the SCSI bus if that is 
  60. appropriate. But it could go onto a parallel port much earlier than that.
  61.  
  62. Nice talking to you                            Thomas
  63. -- 
  64. *** This is the operative statement, all previous statements are inoperative.
  65. *   email: cmaae47 @ cc.ic.ac.uk (Thomas Sippel - Dau) (uk.ac.ic.cc on Janet)
  66. *   voice: +44 715 895 111 x4937 or 4934 (day), or +44 718 239 497 (fax)
  67. *   snail: Imperial College Center for Computing Services, Kensington SW7 2BX
  68.