home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / SETBAUD2.ZIP / setbaud.doc next >
Text File  |  1991-09-20  |  6KB  |  150 lines

  1. SetBaud 1.0 1991-09-07                          (c) 1991 by Mikael Wahlgren
  2. ===========================================================================
  3. The COM0x.SYS drivers (COM01.SYS or COM02.SYS) do not support speeds higher
  4. than 19200 bauds.  That is IBM's conservative estimate on how high speeds
  5. you can use with serial communications.  With some high speed modems, 19200
  6. bauds isn't enough to take advantage of the maximum throughput in the modems.
  7. In some other (more rare) situations, you may want to set the baudrate to
  8. something exotic, even if it isn't necessary high speeds you want to use.
  9.  
  10. Even if the COM0x.SYS drivers would support higher baudrates than 19200,
  11. there is still one problem to solve.  Many communication programs for OS/2
  12. won't allow you to select any baudrates higher than 19200.
  13.  
  14. This program allows you to set the baudrate to ANYTHING between 0 and 115200
  15. bauds (in some cases with a small approximation).  To do this, you start
  16. your communication program and initialize the communication.  Then you start
  17. SetBaud, selects the appropriate COM-port and baudrate, and click on the
  18. "SET" button.  SetBaud now sets the speed to the selected baudrate, which
  19. will be valid, until your application program change speed again.
  20.  
  21. You should note, that the high speeds that SetBaud allows you to select,
  22. will need a lot of power in your computer, and therefore very high baud-
  23. rates are only recommended if you have a 16550 UART with extended hardware
  24. buffering, which will minimize the load.
  25.  
  26. The program need IO-privelige to operate.  You set IO-privelige for the
  27. program by altering your CONFIG.SYS file.  Replace the line "IOPL=NO" to
  28. "IOPL=YES" or, if the "IOPL=NO" line is missing, add the line "IOPL=YES"
  29. to your CONFIG.SYS file.  Instead of the "IOPL=YES" line, you may use
  30. "IOPL=SETBAUD", which will give IO-privelige to the SetBaud program
  31. only.
  32.  
  33. This program is tested and seems to work with OS/2 1.3 and OS/2 2.0 (beta
  34. drop 149).  It should work as well with all previous versions of OS/2
  35. (except OS/2 1.0 which doesn't have Presentation Manager), but this is
  36. not tested.
  37.  
  38. It is possible to run SetBaud directly from the prompt, without using the
  39. Presentation Manager interface.  In this case you should use the following
  40. syntax:
  41.  
  42. SetBaud <Device> <Speed> [Delay]
  43.  
  44. <Device>   Communication device to change
  45. <Speed>    Speed to be set
  46. [Delay]    Delay (in seconds) before which the settings are done (optional)
  47.  
  48. This could be of use to automate the process.  Assume you want to use 57600
  49. bauds with your favourite communication program (called XX-COMM).  You could
  50. start the program with the following commands:
  51.  
  52. SetBaud COM1 57600 5
  53. XX-COMM
  54.  
  55. This assumes that the XX-COMM program has initialized the port within five
  56. seconds.  It is important that the XX-COMM program initializes the port
  57. BEFORE SetBaud alters the settings.
  58.  
  59.  
  60. Licensing information
  61. =====================
  62. This program is written by me Mikael Wahlgren.  It is free for you to
  63. use the program without any charge at all, as long as you keep to some
  64. simple rules:
  65.  
  66. 1.  You don't reverse engineer (like debugging or disassembling) the
  67.     program.  It is illegal to alter or patch the program in any way,
  68.     except on my instructions.
  69.  
  70. 2.  You must not make profit from this program or use it regulary in
  71.     commercial business.  If you plan to use the program regulary in
  72.     within your company, you should contribute with a registration fee
  73.     of $50.  Use the included order form, and fax it back to me.
  74.  
  75. 3.  You run the program on your own risk.  I am not responsible for any
  76.     data loss or any other damage resulting from the use of this program
  77.     (this does NOT imply that there is anything wrong with the program,
  78.     but if it is used in the wrong places and/or at the wrong time, this
  79.     utility might not be as useful as you first hoped).
  80.  
  81. 4.  The program is tested and work with OS/2 1.3 and OS/2 2.0 (beta
  82.     drop 149).  There is no guarantee that the program will continue to
  83.     work in future versions (one should rather hope it didn't, as the
  84.     program can work because of limited preventive protection in OS/2).
  85.  
  86.  
  87.  
  88.  
  89. Order form
  90. ==========
  91.  
  92.                                      INVOICE
  93.        
  94.  
  95.        
  96.                                                      Date: ___________
  97.        
  98.        
  99.        
  100.        TO:                                           FROM:
  101.        
  102.        Name: ____________________________________    M Wahlgren Software Dev.
  103.                                                      Kransen 4E
  104.        Company: _________________________________    S-416 72  Gothenburg
  105.                                                      Sweden
  106.        Address: _________________________________
  107.        
  108.        City, State; _____________________________
  109.        
  110.        
  111.        
  112.        Diskette format                  5.25" disk ____    3.5" disk ____
  113.        
  114.        
  115.        
  116.        Specification                             Amount Price Sum
  117.        ========================================= ====== ===== ===========
  118.        
  119.        SetBaud high speed communication utility  ______   $50 $__________
  120.  
  121.                                Total                          $__________
  122.  
  123.  
  124.  
  125.  
  126.        If you pay with VISA or MastCard please complete the following form.
  127.  
  128.  
  129.        Cardholders name: ________________________________________
  130.  
  131.        Cardholders address: _____________________________________
  132.  
  133.        Card number: _____________________________________________
  134.  
  135.        Card validy until: _______________________________________
  136.  
  137.        Signature: _______________________________________________
  138.  
  139.  
  140.  
  141.  
  142.        Send a copy of this invoice to:
  143.        
  144.        M Wahlgren Software Dev.
  145.        Kransen 4E
  146.        S-416 72  Gothenburg
  147.        Sweden
  148.        
  149.        Fax: +46 31 196417
  150.