home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4754 < prev    next >
Encoding:
Internet Message Format  |  1992-09-12  |  2.1 KB

  1. Path: sparky!uunet!sun-barr!olivea!spool.mu.edu!wupost!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!news.sei.cmu.edu!drycas.club.cc.cmu.edu!cantaloupe.srv.cs.cmu.edu!crabapple.srv.cs.cmu.edu!andrew.cmu.edu!sm86+
  2. From: sm86+@andrew.cmu.edu (Stefan Monnier)
  3. Newsgroups: comp.sys.atari.st.tech
  4. Subject: Re: The ST parallel (printer) port
  5. Message-ID: <wegazVm00awJ43noQT@andrew.cmu.edu>
  6. Date: 12 Sep 92 22:32:01 GMT
  7. References: <BuGEEz.F0@world.std.com>
  8. Organization: Junior, Math/Computer Science, Carnegie Mellon, Pittsburgh, PA
  9. Lines: 41
  10. In-Reply-To: <BuGEEz.F0@world.std.com>
  11.  
  12. Excerpts from netnews.comp.sys.atari.st.tech: 12-Sep-92 The ST parallel
  13. (printer) port michael g moncur@world.s (636)
  14.  
  15. > send and receive data through the parallel port.  Can anyone confirm that
  16. > the parallel port can be used as input?  Someone once told me that the 
  17. > PC's parallel port can do both input and output (which I know is true) but
  18. > the ST can't...  And Abacus has been known to stretch the truth
  19. > occasionally.  thoughts?
  20.  
  21. >   (I'm building an EPROM programmer that will be controlled by an ST
  22. > via the parallel port, and a "read" option would be nice...)
  23. >  
  24. >   Also, what would I use to read the printer port?  An example in C would
  25. > be greatly appreciated.
  26. >  
  27. >   Michael Moncur 
  28. >   mgm@world.std.com (preferred) 
  29. >   sysop@only_bbs.via.mind.org (alternate)
  30.  
  31.  
  32. The parallel port is controlled by the Yamaha 'sound processor'
  33. (well, only the data pins). And this YSP permits use in both
  34. directions. I believe that on normal STs, the port isn't buffered
  35. so that you can use it as input !
  36.  
  37. But you haven't much BIOS support: you have to write in YSP's 
  38. registers (there may be an XBIOS call for that) directly !
  39. (doc on YSP registers shouldn't hard to find in atari books)
  40.  
  41. Anyway, you also can get data input through the only input
  42. pin of the atari-parallel-port: busy (I think almost all
  43. EPROMMERS that a conected through centronics use this
  44. 'trick')
  45.  
  46.     Stefan Monnier
  47.  
  48.  
  49.  
  50. -----------------------------------------------------
  51. -- On the average, people seem to be acting normal --
  52. -----------------------------------------------------
  53.