home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / SETCOM40.ZIP / README.DOC < prev    next >
Text File  |  1990-10-28  |  3KB  |  94 lines

  1.  
  2.                      README.DOC for SETCOM40.SYS
  3.                           by John W. Cocula
  4.                            October 28, 1990
  5.  
  6. Description
  7. -----------
  8.  
  9. (Recently, I replaced an 8250 UART on my serial card with a 16550AFN
  10. chip.  Now the chip is not recognized on a warm boot, and COM01.SYS
  11. won't install for it.  I have to hardware reset to have the port
  12. recognized.  This is what I did about it.)
  13.  
  14. SETCOM40.SYS is an OS/2 device driver which serves a very specific
  15. purpose:  it sets the COM ownership words in the BIOS data area to
  16. either the defaults:
  17.  
  18.         COM1: Port 3F8
  19.         COM2: Port 2F8
  20.  
  21. or to parameters passed in on the device driver's "command line" in
  22. CONFIG.SYS.
  23.  
  24. The point of this driver is to override what the computer's BIOS
  25. discovers during its self-test during boot.  One reason to do this is
  26. so that a NS16550AFN UART chip can be recognized by the COM01.SYS
  27. device driver on machines with certain BIOSes (like my AMI BIOS).  You
  28. would install this driver *before* COM01.SYS (and serial mouse drivers)
  29. to set up the COM ownership words.
  30.  
  31. I named the driver SETCOM40.SYS since it performs basically the same
  32. thing that the OS/2 DOS box command SETCOM40 does, which fiddles with
  33. these values at 0040:0000 in the BIOS data area.
  34.  
  35. ***********************************************************************
  36. *** If you don't understand any of this, don't install this driver! ***
  37. ***********************************************************************
  38.  
  39. Otherwise, put this driver somewhere on your disk and put the
  40. following in CONFIG.SYS *before* your comm driver loads:
  41.  
  42. DEVICE=[drive]:[path]\SETCOM40.SYS [/COM1=addr of COM1] [/COM2=addr of COM2]
  43.  
  44. both [/COMn=addr of COMn] parameters are optional.  If either is missing,
  45. the defaults of 3F8 and 2F8 will be used for COM1 and COM2,
  46. respectively.  If present, they must be THREE HEX DIGITS each.  Using
  47. 000 indicates that the port is not available.  Also, currently all
  48. alpha characters must be in UPPERCASE.  This is laziness on my part.
  49.  
  50. Examples
  51. --------
  52.  
  53. You have one serial port, and for some reason your BIOS does not recognize
  54. it on a warm boot.  Put this in your CONFIG.SYS:
  55.  
  56.         DEVICE=C:\SETCOM40.SYS /COM1=3F8 /COM2=000
  57.  
  58. (Note that if you only have one serial port, you must specify /COM2=000
  59. or you will unintentionally fool COM01.SYS into thinking you have the
  60. hardware.)
  61.  
  62. You have two serial ports, and COM2 is not recognized on a warm boot:
  63.  
  64.         DEVICE=C:\SETCOM40.SYS /COM2=2F8
  65.  
  66. or just
  67.  
  68.         DEVICE=C:\SETCOM40.SYS
  69.  
  70. since the addresses are assumed.
  71.  
  72.  
  73. Details
  74. -------
  75.  
  76. This device driver does its thing at INIT time, but then serves no
  77. other purpose.  However, it does not uninstall, because OS/2 will pause
  78. for drivers that fail to install.  But fret not because it takes up
  79. very little memory, and its device has the unlikely name of "SETCOM$$".
  80.  
  81. Feel free to improve this driver in any way you see fit.  If you make
  82. changes and post them on a BBS, all that I ask is that you indicate
  83. clearly that what you are distributing is not what I originally
  84. distributed.
  85.  
  86. I release this work as "freeware", where I retain copyright and
  87. ownership, but ask for nothing in return.  It is provided AS IS,
  88. without warranty, either express in implied, including but not
  89. limited to fitness for a particular purpose.
  90.  
  91.         John W. Cocula
  92.         October 28, 1990
  93.  
  94.