home *** CD-ROM | disk | FTP | other *** search
/ Microsoft Programmer's Library 1.3 / Microsoft-Programers-Library-v1.3.iso / sampcode / msj / msjv4_6 / unix / readme.doc < prev    next >
Encoding:
Text File  |  1989-09-21  |  2.6 KB  |  67 lines

  1.  
  2. To install the terminal device driver enter the following line
  3. in your CONFIG.SYS file for MS-DOS 3.1 and above.  The device driver
  4. files are in the \SN0000 (0000 is your serial number) directory.
  5.  
  6. The STTY.EXE program, found in the \BIN directory, allows you to change 
  7. the device characteristics from the MS-DOS command line.
  8.  
  9.  
  10. DEVICE=MSJTTY01.SYS 00000 2048 2048
  11.  
  12.   ^         ^       ^    ^    ^
  13.   |         |       |    |    |
  14.   |         |       |    |    |--- Tx_Ring_Buffer_Size  (128 - ( 16K - 1 ))
  15.   |         |       |    |            Restricted Version is 16 bytes
  16.   |         |       |    |-------- Rx_Ring_Buffer_Size  (128 - ( 16K - 1 ))
  17.   |         |       |           Restricted Version is 16 bytes
  18.   |         |       |
  19.   |         |       |------------- Serial Number (exactly)
  20.   |         |
  21.   |         |--------------------- Device Driver File Name (MSJTTY01.SYS)
  22.   |
  23.   |------------------------------- MS-DOS Configuration Parameter
  24.  
  25.  
  26.  
  27.  
  28. There are currently four sub-directories for Microsoft \C\MSC, and \BASIC
  29. Each of these have  examples that shows how to interface to 
  30. the terminal file device driver MSJTTY01.SYS whose terminal (file)
  31. file name is "tty01"  The device driver name file name "tty02" 
  32. (for COM2 hardware) is not provided in this demo.
  33.  
  34. The \C\MSC directory has several demonstration programs that show
  35. different techniques for setting up modes and using the terminal
  36. driver.  Each of the demonstration directories have their 
  37. own README files.
  38.  
  39. The \BASIC directory provides a simple, however thoroughly documented
  40. example on how to interface to the device driver using the Microsoft 
  41. Quick Basic 6.0 compiler and libraries.  See the file IODEMO.BAS for
  42. the example.   Use the Microsoft MAKE utility to generate the demo
  43. program by issuing the command "MAKE MAKEDEMO" from that directory.
  44. Naturally, the LIB environment variable should contain path(s) to your
  45. basic libraries.
  46.  
  47. If your a Pascal or Clipper programmer, and can read some C code, 
  48. these examples are well worth your while.  There are directories
  49. for Quick Pascal 1.0 and Turbo Pascal 5.0. and Clipper for the 
  50. non-restricted version.
  51.  
  52. Before you proceed too far, look at the documentation for the STTY
  53. command.  It is an equivalent of the MODE command under DOS, but
  54. is much more powerful in what it can do.  STTY.EXE in in the \BIN
  55. directory.
  56.  
  57.  
  58. Any questions please call:  Boulder Software Group
  59.                             P.O. Box 14200
  60.                             Boulder, CO  80308-4200
  61.  
  62.                             (303) 440-7868    (Tech. Support)
  63.                             (303) 449-8612    (FAX)
  64.  
  65.  
  66.  
  67.