home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / sys / atari / st / tech / 4700 < prev    next >
Encoding:
Text File  |  1992-09-08  |  2.1 KB  |  69 lines

  1. Newsgroups: comp.sys.atari.st.tech
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!doug.cae.wisc.edu!carter
  3. From: carter@cae.wisc.edu (Carter Gregory)
  4. Subject: Re: RS232 port, Rsconf() is that all i need?
  5. Organization: U of Wisconsin-Madison College of Engineering
  6. Date: 6 Sep 92 14:28:08 CDT
  7. Message-ID: <1992Sep6.142808.22862@doug.cae.wisc.edu>
  8. References: <Bu5FGz.M80@iat.holonet.net>
  9. Lines: 58
  10.  
  11. In article <Bu5FGz.M80@iat.holonet.net> wilsont@holonet.net (Timothy Wilson) writes:
  12. >as sugguested I bought some recent Atari Explorers, and read the articles
  13. >on serial port programming.
  14. >
  15. >Well, i typed in the first "very dumb terminal program"
  16. >and added this line: 
  17. >    Rsconf(4,0,8,0,-1,-1,-1);
  18. >
  19. >which should be 2400 baud no parity,no handshaking, 1 stop bit.
  20. >
  21. >however, my modem does not respond with an RD light up. 
  22. >I changed the Cauxout(c) to Bconout(1,c), that made the RD light up,
  23. >but also the CD as well!
  24. >
  25. >what am I missing?
  26. >
  27. >any help would be apreciated! (source code would be cool!)
  28. >
  29. >Compiled with Sozobon 1.33i, standard Dlibs.
  30. >I ran it from Gulam, and the desktop.
  31. >
  32. >BTW, gulam likes to echo the characters to the screen from a Cconin()   why?
  33. >
  34. >thanks!
  35. >
  36. >Timothy--
  37. >
  38.  
  39. Hello...yes, all HAIL.  Greg Carter is BACK...
  40.  
  41.     WELL, FIRST OF ALL, Rsconf() only has 6 parameters.
  42.  
  43. Try Rsconf(4,0,UCR,-1,-1,-1); 
  44.  
  45. The UCR is a bitmap that controls the various things your looking for
  46. in transmission format, suich as 8N1.  Unfortunately, since I don't carry
  47. said bitmap with me everywhere I go, I can't tell you what the individual
  48. bits do.
  49.  
  50. I will post my serial port goodies in a short while.
  51.  
  52. ------------------------------------------------------------------------
  53.  
  54. UUCP - HERMES PEOPLE ALERT!
  55.  
  56. Hey!
  57.  
  58.    Brave souls, I started up my HERMES mail software, and can't seem to
  59. get my environment set correctly.
  60.  
  61.    If anyone out there is running this thing, could you drop me a line so
  62. I can figure this out?  I am really BAD at reading German.  I have
  63. been trying to watch HOGANS HEROS re-runs every night but after a week
  64. and a fried brain, I still can't read the doc files.
  65.  
  66.    -Greg
  67.  
  68. ACICS, we are talking MAJOR software engineering here folks...
  69.