home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / os / msdos / programm / 8808 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  8.6 KB

  1. Xref: sparky comp.os.msdos.programmer:8808 news.answers:2624
  2. Newsgroups: comp.os.msdos.programmer,news.answers
  3. Path: sparky!uunet!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ncoast!brown
  4. From: brown@NCoast.ORG (Stan Brown)
  5. Subject: comp.os.msdos.programmer FAQ part 1 of 4
  6. Expires: Sat, 10 Oct 1992 00:24:56 GMT
  7. Organization: Oak Road Systems, Cleveland Ohio USA
  8. Date: Wed, 26 Aug 1992 00:24:56 GMT
  9. Approved: news-answers-request@MIT.Edu
  10. Message-ID: <msdos-faq.920825.1@NCoast.ORG>
  11. Followup-To: comp.os.msdos.programmer
  12. References: none
  13. Supersedes: <1992Jul25.155707.6659@NCoast.ORG>
  14. Lines: 180
  15.  
  16. Archive-name: msdos-programmer-faq/part1
  17. Last-modified: 22 August 1992
  18.  
  19.  
  20. Welcome!
  21.  
  22. This is the monthly FAQ list (Frequently Asked Questions list) for the
  23. newsgroup comp.os.msdos.programmer.  It's intended to reduce the noise
  24. level in comp.os.msdos.programmer that results from the repetition of
  25. FAQs, correct answers, wrong answers, corrections to the wrong answers,
  26. corrections to the corrections, debate, etc.
  27.  
  28. Because it's quite long, I've broken this list into four parts, of which
  29. you're now reading part 1.  (If you have last month's version of this
  30. FAQ list, you may want to look at the diffs rather than reread three
  31. long articles.  Look for "comp.os.msdos.programmer FAQ diff" in the
  32. Subject lines.)  I've posted the four parts of this article, and the
  33. four parts of diffs, as single threads so that most newsreaders will
  34. let you extract either of them in one operation.
  35.  
  36. This list should serve as a repository of the canonical "best" answers.
  37. So if you know a better answer or even a slight change that improves an
  38. answer, please tell me!  (Use email, please.  Traffic in this group is
  39. high, and I may miss a relevant posted article.)  If the posting date is
  40. more than six weeks in the past, see instructions in the last part of
  41. this list for how to get an updated copy.
  42.  
  43.                       Stan Brown, Oak Road Systems, Cleveland, Ohio, USA
  44.                                                         brown@ncoast.org
  45.  
  46. Search tips
  47. ===========
  48.     To search for specific topics:  See the list of questions in the
  49. Contents section (immediately below) to find which article (part 2, 3,
  50. or 4) list you need.  In that part, then search for that question
  51. number.  For example, while you're reading part 2 of this list in trn,
  52. the command "gQ203" goes to Q203.
  53.     To skip one topic and go to the next:  Search for "Q" starting in
  54. column 1.  In trn and similar newsreaders, the command "g^Q" does that.
  55.     If your newsreader doesn't support searches, you can extract these
  56. articles to a file and use your favorite editor's search commands.
  57.  
  58.  
  59. Contents--part 2 of 4
  60. =====================
  61. section 1. General questions
  62.     101. Why won't my code work?
  63.     102. What is this newsgroup about?
  64.     103. What's the difference from comp.sys.ibm.pc.programmer?
  65.     104. What other newsgroups should I know about?
  66. section 2. Compile and link
  67.     201. What the heck is "DGROUP > 64K"?
  68.     202. How do I fix "automatic data segment exceeds 64K" or "stack
  69.          plus data exceed 64K"?
  70.     203. Will Borland C code and Microsoft C code link together?
  71.     204. Why did my program bomb at run time with "floating point
  72.          formats not linked"?
  73.     205. Why did my program bomb with "floating point not loaded"?
  74.     206. How can I change the stack size in Borland's C compilers?
  75.     207. What's the difference between .COM and .EXE formats?
  76. section 3. Keyboard
  77.     301. How can I read a character without echoing it to the screen,
  78.          and without waiting for the user to press the Enter key?
  79.     302. How can I find out whether a character has been typed, without
  80.          waiting for one?
  81.     303. How can I disable Ctrl-C/Ctrl-Break and/or Ctrl-Alt-Del?
  82.     304. How can I disable the print screen function?
  83.     305. How can my program turn NumLock (CapsLock, ScrollLock) on/off?
  84.     306. How can I speed up the keyboard's auto-repeat?
  85.     307. What is the SysRq key for?
  86.     308. How can my program tell what kind of keyboard is on the system?
  87.     309. How can I tell if input or output has been redirected?
  88.  
  89.  
  90. Contents--part 3 of 4
  91. =====================
  92. section 4. Disks and files
  93.     401. What drive was the PC booted from?
  94.     402. Which real and virtual disk drives are valid?
  95.     403. How can I make my single floppy drive both a: and b:?
  96.     404. Why won't my C program open a file with a path?
  97.     405. How can I redirect printer output to a file?
  98.     406. What's the format of an .EXE header?
  99.     407. How can my program open more files than DOS's limit of 20?
  100. section 5. Serial ports (COM ports)
  101.     501. How do I set my machine up to use COM3 and COM4?
  102.     502. How do I find the I/O address of a COM port?
  103.     503. But aren't the COM ports always at I/O addresses 3F8, 2F8, 3E8,
  104.          and 2E8?
  105.     504. How do I configure a COM port and use it to transmit data?
  106. section 6. Other hardware questions and problems
  107.     601. Which 80x86 CPU is running my program?
  108.     602. How can a C program send control codes to my printer?
  109.     603. How can I redirect printer output to a file?
  110.     604. Which video adapter is installed?
  111.     605. How do I switch to 43- or 50-line mode?
  112.     606. How can I find the Microsoft mouse position and button status?
  113.     607. How can I access a specific address in the PC's memory?
  114.     608. How can I read or write my PC's CMOS memory?
  115. section 7. Other software questions and problems
  116.     701. How can a program reboot my PC?
  117.     702. How can I time events with finer resolution than the system
  118.          clock's 55 ms (about 18 ticks a second)?
  119.     703. How can I find the error level of the previous program?
  120.     704. How can a program set DOS environment variables?
  121.     705. How can I change the switch character to - from /?
  122.     706. Why does my interrupt function behave strangely?
  123.     707. How can I write a TSR (terminate-stay-resident) utility?
  124.     708. How can I write a device driver?
  125.     709. What can I use to manage versions of software?
  126.  
  127.  
  128. Contents--part 4 of 4
  129. =====================
  130. section A. Downloading
  131.     A01. What is garbo?  What is wustl?
  132.     A02. What are Simtel and "mirror sites"?  What good are they?
  133.     A03. Where do I find program <mumble>?
  134.     A04. How can I check Simtel or garbo before I post a request for a
  135.          program?
  136.     A05. How do I download and decode a program I found?
  137.     A06. Where is UUDECODE?
  138.     A07. Why do I get errors when extracting from a ZIP file I
  139.          downloaded?
  140. section B. Vendors and products
  141.     B01. How can I contact Borland?
  142.     B02. How can I contact Microsoft?
  143.     B03. What's the current version of PKZIP?
  144.     B04. What's in Microsoft C/C++ 7.0?
  145. section C. More information
  146.     C01. Are there any good on-line references for PC hardware
  147.          components?
  148.     C02. Are there any good on-line references for PC interrupts?
  149.     C03. What and where is "Ralf Brown's interrupt list"?
  150.     C04. Where can I find lex, yacc, and language grammars?
  151.     C05. What's the best book to learn programming?
  152.     C06. Where are FAQ lists archived?
  153.     C07. Where can I get the latest copy of this FAQ list?
  154.  
  155.  
  156. Legalistic stuff
  157. ================
  158. This article is not in the public domain, but it may be redistributed so
  159. long as this notice, and the information on obtaining the latest copy of
  160. this list, are retained.  The code fragments may be used freely; credit
  161. would be appreciated but is not required.
  162.  
  163.             Copyright (C) 1992  Stan Brown, Oak Road Systems
  164.  
  165. THERE IS NO WARRANTY ON THE CODE.  I have tested all the code included
  166. below, but your machine may not work the same as mine, and my testing
  167. may not be perfect.
  168.  
  169. The mention of particular books or programs must not be construed to
  170. reflect unfavorably on any that are not mentioned.
  171.  
  172.  
  173. Acknowledgements
  174. ================
  175. Many postings in comp.os.msdos.programmer sparked ideas or provided
  176. information for the first version of this list.  Though I am responsible
  177. for any errors, thanks are due to the following for posted articles or
  178. private email that I used in subsequent editions:  Mark Aitchison,
  179. Sanjay Aiyagari, George Almasi, Aaron Auseth, Preston Bannister, Denis
  180. Beauregard, Mike Black, Glynn Brooks, Paul Brooks, Ralf Brown, Shaun
  181. Burnett, Raymond Chen, Alan Drew, Roland Eriksson, Markus Fischer,
  182. George Forsman, B.Haible, Klaus Hartnegg, Kris Heidenstrom, Joel
  183. Hoffman, Michael Holin, Everett Kaser, Reinhard Kirchner, Dave Kirsch,
  184. Sidney Markowitz, Jim Marks, Dimitri Matzarakis, Ken McKee, Tom Milner,
  185. Steve Murphy, Mert Nickerson, David Nugent, Keith Petersen, Karl
  186. Riedling, Arthur Rubin, Gerald Ruderman, Timo Salmi, Tapio Sand, Ajay
  187. Shah, Tom Swingle, Ya-Gui Wei, Joe Wells, Gregory Youngblood,
  188. jenk@microsoft.com, khill@vax1.umkc.edu
  189.  
  190.  
  191. (continued in part 2)
  192.  
  193. -- 
  194.  
  195. Stan Brown, Oak Road Systems                      brown@Ncoast.ORG
  196.