home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 3 Comm / 03-Comm.zip / COM01J.ZIP / COM01J.DOC next >
Text File  |  1991-04-30  |  2KB  |  63 lines

  1. COM01J.DOC
  2.  
  3. Here are the addresses in COM01.SYS for OS/2 1.30 to patch to turn it
  4. into a driver for serial devices other than COM1 and COM2.
  5.  
  6. As delivered, COM01.SYS supports COM1 (which I'm calling device A) and
  7. COM2 (which I'm calling device B).
  8.  
  9. Copy COM01.SYS to COM01J.SYS or whatever name you like, then patch
  10. COM01J.SYS using the following table as a guide.
  11.  
  12. The OS/2 PATCH utility can do the job nicely.
  13.  
  14. Address   Type      As delivered   What is it
  15.  
  16.   0111    Char      '1'            Character for device name of device A
  17.   012B    Char      '2'            Character for device name of device B
  18.   0305    Word      0000           Port number (0..3) of device A
  19.   030E    Word      0001           Port number (0..3) of device B
  20.   17FD    Word      03F8           I/O address for device A
  21.   1807    Word      02F8           I/O address for device B
  22.   184B    Byte      00             Port number (0..3) of device A
  23.   189B    Byte      00             Port number (0..3) of device A
  24.   17FA    Byte      04             IRQ level of device A
  25.   1804    Byte      03             IRQ level of device B
  26.  
  27. Suggested values to support COM2/COM3,
  28. which I use as my only driver since I only have 3 ports
  29. and the mouse driver handles COM1.
  30.  
  31. Address   Type      Change to      What is it
  32.  
  33.   0111    Char      '2'            Character for device name of device A
  34.   012B    Char      '3'            Character for device name of device B
  35.   0305    Word      0001           Port number (0..3) of device A
  36.   030E    Word      0002           Port number (0..3) of device B
  37.   17FD    Word      02F8           I/O address for device A
  38.   1807    Word      03E8           I/O address for device B
  39.   184B    Byte      01             Port number (0..3) of device A
  40.   189B    Byte      01             Port number (0..3) of device A
  41.   17FA    Byte      03             IRQ level of device A
  42.   1804    Byte      05             IRQ level of device B
  43.  
  44.  
  45. This list was originally provided for OS/2 1.1 by
  46.  
  47. Wayne Conrad
  48. Phoenix Control Systems
  49. (602) 278-8737
  50.  
  51.  
  52. I have updated it for OS/2 1.3 based on searching for
  53. similar strings and assembly code.
  54.  
  55. Joel Apisdorf
  56. 11649 N. Shore Drive, #2B
  57. Reston, Virginia 22090
  58. (703) 437-1837
  59.  
  60. (ADVERTIZING PLUG)
  61. I am an independent consultant, specializing in device drivers,
  62. graphics, and OS/2.  Feel free to send business my way!
  63.