home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / mskermit / msxhpx.bwr < prev    next >
Internet Message Format  |  2020-01-01  |  4KB

  1. Date: 26 Oct 1985 2242-EDT
  2. From: LCG.KERMIT@DEC-MARLBORO
  3. Subject: msxhpx problems
  4.  
  5. Took the new version of MSXHPX.ASM last night.  Unfortunately, in being
  6. compatible with both the 110 and the PLUS, it develops several problems on
  7. the plus.  In particular:
  8.  
  9. 1. PORT 2 is set to AUX.  On the plus, this is not the INTERNAL MODEM
  10. necessarily, but is the default modem set in the system configurator.  To
  11. insure that the internal modem is used, the PORT selection logic should
  12. select COM3, not AUX.
  13.  
  14. 2. All character output is being sent to the punch via MSDOS PUNOUT call.
  15. This is slow, and, worse, will direct output to AUX even if the serial port
  16. is in use.
  17.  
  18. 3. Minor points: the program starts with even parity and 7 bit words.  This
  19. causes chaos in every situation we tried.
  20.  
  21. Changes are shown below by giving at least one line before and after each 
  22. change.  Would appreciate your forwarding to appropriate authority.
  23.  
  24. Also, leaving DTR on on the PLUS is not just a nuisance, it is deadly, since
  25. you also leave on the MODEM or SERIAL interface, which eats the battery at
  26. incredible rates.  I have attached to the end of this a short program to
  27. turn those off.  I run KERMIT on the plus from a command file KERMIT.BAT
  28. which contains the following:
  29.  
  30.     MSXHPX 1%
  31.     MODEMOFF
  32.  
  33. This guarantees modem/serial port doesn't run down battery.
  34.  
  35. Mike Mellinger  800-325-0888
  36.  
  37. Modified MSXHPX follows:
  38.  
  39. instat    equ    6
  40. wrdev    equ    40H    ;  mjm
  41. rddev    equ    3fH
  42.  
  43.  
  44. par_str    db    'P'            ; string used to set parity
  45. par_x    db    4,';'
  46. brk_on    db    'B1;'            ; start sending breaks
  47.  
  48.     db    'SS0;'            ; 1 Stop Bit
  49.     Db    'SW0;'            ; 8 Bit Length
  50. setktab    db    0
  51.  
  52. com1    db    'COM1',0
  53. com2    db    'COM3',0
  54. blank    db    esc,'H',esc,'J$'
  55.  
  56.     db    04H,'COM1$'
  57.     dw    01H
  58.      db    04H,'COM3$'
  59.     dw    00H
  60.  
  61. ;outch3:    mov    dl,ah
  62. ;    mov    ah,punout        ; Output char in DL to comm port.
  63. ;    int    dos
  64. outch3:    mov    byte ptr temp,ah
  65.     mov    bx,prthnd
  66.     mov    ah,wrdev
  67.     mov    cx,1
  68.     mov    dx,offset temp
  69.     int    dos
  70. ; end DRA
  71.     pop    bx
  72.  
  73.  
  74. *******************************
  75.  
  76. MODEMOFF.ASM (make it into COM file...)
  77.  
  78. ;
  79. MAIN    SEGMENT PARA PUBLIC 'MAIN'
  80.     ASSUME CS:MAIN,DS:MAIN,SS:MAIN,ES:NOTHING
  81. ;
  82.     ORG    100H
  83.  
  84. START    PROC    FAR
  85.     MOV    DX,OFFSET CHANNEL
  86.     MOV    AX,3D01H
  87.     INT    21H
  88.     MOV    BX,AX
  89.     MOV    AX,4403H
  90.     MOV    DX,OFFSET OFFCOM
  91.     MOV    CX,6
  92.     INT    21H
  93.     MOV    AX,4C00H
  94.     INT    21H
  95. OFFCOM    DB    'M3;M5;'
  96. CHANNEL DB    'AUX',0
  97.  
  98. START    ENDP
  99. MAIN    ENDS
  100.     END    START
  101.  
  102. *************************
  103.  
  104. ------------------------------
  105.  
  106. Date: Mon, 28 Oct 85 23:08:28 mst
  107. From: dwf%b@LANL.ARPA (Dave Forslund)
  108. To: SY.FDC@CU20B
  109.  
  110. In response to the problems with MSXHPX on the Portable Plus:
  111.  
  112. 1. We felt the choice of the AUX port was an advantage because one could also
  113. choose the HP-IL loop RS-232 interface from the PAM without having to add an
  114. additional port in kermit itself.  It is true to use the modem with Kermit one
  115. must have selected it in the PAM.  However, if it is selected then port 1 is
  116. the serial port and port 2 is the modem (or HP-IL RS-232).  Choosing COM3 for
  117. the Portable makes the code incompatible with the HP-110.
  118.  
  119. 2. We used this call as it was in the generic Kermit.  We will try this 
  120. suggested fix.
  121.  
  122. 3. Our choice of even parity and 7 bit words is what works on our network
  123. here at Los Alamos and avoided us having to have a .ini file to modify the
  124. defaults.  If other like other defaults, so be it.
  125.  
  126. 4. Thanks for the modemoff file.  It will be a big help.
  127.  
  128. By the way, for this code to work properly on the internal modem in the
  129. HP110 still requires some work, as the modem does not respond
  130. conversationally but requires special ioctl commands to dial, etc.  We have
  131. not pursued this any further.
  132.  
  133. Dave (dwf@lanl.arpa)
  134.  
  135. ------------------------------
  136.  
  137.