home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / dcom / modems / 11084 < prev    next >
Encoding:
Text File  |  1992-07-23  |  1.9 KB  |  53 lines

  1. Newsgroups: comp.dcom.modems
  2. Path: sparky!uunet!rde!ksmith!keith
  3. From: keith@ksmith.uucp (Keith Smith)
  4. Subject: Serial Interfaces
  5. Organization: Keith's Computer, Hope Mills, NC
  6. Date: Fri, 24 Jul 92 03:53:42 GMT
  7. Message-ID: <1992Jul24.035342.20200@ksmith.uucp>
  8. In-Reply-To: <1992Jul23.011759.14499@ksmith.uucp>
  9. Lines: 42
  10.  
  11. In A Mail message to me Dave Dillon (craywr.cray.com!ddillon) wrote:
  12. ->In article <1992Jul23.011759.14499@ksmith.uucp> you write:
  13. ->    [....]
  14. ->>instructions, You get about 41 clock cycles worth of CPU instructions
  15. ->>per byte you desire to send:
  16. ->>
  17. ->>1.8432Mhz / 16 = 115K
  18. ->>
  19. ->>therefore 4.77 / 1.8432 * 16 = 41.4 cpu cycles / byte at 115K baud
  20.                                                     ^^^^
  21. per BIT, not byte
  22.  
  23. ->    [....]
  24. ->
  25. ->I believe that bits and bytes have gotten confused here.  "115K baud"
  26. ->is, more fussily, 115200 bits per second -- not bytes per second.
  27. ->
  28. ->Assuming that a byte is serialized as 8 data bits, 1 start bit and
  29. ->1 stop bit, the byte rate (and unbuffered interrupt rate) would be
  30. ->one-tenth of that you've calculated, or 11520 bytes per second.
  31. ->
  32. ->The overworked 8088 @ 4.77 MHz then has 414+ CPU cycles / byte.
  33. ->
  34. ->Alas, this error propagates through subsequent calculations, and
  35. ->detracts from an otherwise-interesting article.  But I certainly agree
  36. ->with your premise, if not the numbers!
  37. ->
  38.  
  39. Shit,  I apologize,  As I was doing this I was wondering how I had ever
  40. pushed 38.4K thru A 2 Mhz Z-80 .... :-b
  41.  
  42. It's posted, and I erred by a factor of 10 on the clock cycles.  This is
  43. STILL a killer burden on a CPU because even at * 10 You don't have time
  44. to get anything ELSE done between interrupts.
  45.  
  46. Also I shouldn't post after a bottle of Cabernet ...
  47.  
  48. Sorry if I confused anyone.
  49. -- 
  50. Keith Smith          uunet!ksmith!keith            5719 Archer Rd.
  51. Digital Designs      BBS 1-919-423-4216            Hope Mills, NC 28348-2201
  52. Somewhere in the Styx of North Carolina ...
  53.