home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16052 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.6 KB

  1. Path: sparky!uunet!comp.vuw.ac.nz!actrix!templar!jbickers
  2. From: jbickers@templar.actrix.gen.nz (John Bickers)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Serial port TXD
  5. Message-ID: <jbickers.0iox@templar.actrix.gen.nz>
  6. Date: 19 Nov 92 14:14:36 PST
  7. Organization: TAP
  8. Lines: 24
  9.  
  10.     Is it possible to read the state of the TXD pin on the serial
  11.     port? The (very useful) hardware manual shows that RXD can be
  12.     read easily, but only ever shows TXD as an output.
  13.  
  14.     I am thinking of writing some kind of datascope program that
  15.     monitors the RXD and TXD lines (which are wired up to a serial
  16.     cable running between two other devices), and to see both
  17.     directions at once I need to be able to read TXD somehow. The
  18.     other alternative, which given the cost of such things etc is a
  19.     bit undesirable, is to hook the RXD up to the normal serial port,
  20.     and the TXD to the RXD of a second serial port.
  21.  
  22.     Currently I've only got one Amiga, but I'd like to write this for
  23.     an A4000/A1200 class machine, mostly because I want to use a HIRES
  24.     display without losing CPU time. So if no hardware manual will be
  25.     published for these machines, will the RKMs cover how one goes
  26.     about writing this sort of application? Using serial.device seems
  27.     out of the question, because (a) it wants to do active things to
  28.     other signal lines, (b) it's slow if I want to be able to monitor
  29.     up to 57000, (c) it doesn't read TXD, and (d) it doesn't have
  30.     timing information for each byte.
  31. --
  32. *** John Bickers, TAP.                   jbickers@templar.actrix.gen.nz ***
  33. ***    "Radioactivity - It's in the air, for you and me" - Kraftwerk    ***
  34.