Note: these notes apply to a previous (pre-2.29) release of Kermit, and may or may not apply to the current release. 26-Oct-85 22:41:08-EDT,3149;000000000001 Return-Path: Received: from columbia.arpa ([128.59.32.1]) by CU20B.COLUMBIA.EDU with TCP; Sat 26 Oct 85 22:41:06-EDT Received: from MARLBORO.DEC.COM (marlboro.dec.com.ARPA) by columbia.arpa; Sat, 26 Oct 85 22:41:55 edt Date: 26 Oct 1985 2242-EDT From: B.Eiben LCG Ext 617-467-4431 To: sy.fdc@cu20b Subject: [LCG.KERMIT: msxhpx problems] Message-Id: <"MS11(2447)+GLXLIB5(0)" 12154336161.18.249.8135 at MARLBORO.DEC.COM> - - - - - - - Begin message from: LCG.KERMIT Sender: LCG.KERMIT Date: 26 Oct 1985 1726-EDT From: LCG.KERMIT To: EIBEN Cc: Subject: msxhpx problems 10/27/85 Bernie: Took the new version of MSXHPX.ASM last night. Unfortunately, in being compatible with both the 110 and the PLUS, it develops several problems on the plus. In particular: 1. PORT 2 is set to AUX. On the plus, this is not the INTERNAL MODEM necessarily, but is the default modem set in the system configurator. To insure that the internal modem is used, the PORT selection logic should select COM3, not AUX. 2. All character output is being sent to the punch via MSDOS PUNOUT call. This is slow, and, worse, will direct output to AUX even if the serial port is in use. 3. Minor points: the program starts with even parity and 7 bit words. This causes chaos in every situation we tried. Changes are shown below by giving at least one line before and after each change. Would appreciate your forwarding to appropriate authority. Also, leaving DTR on on the PLUS is not just a nuisance, it is deadly, since you also leave on the MODEM or SERIAL interface, which eats the battery at incredible rates. I have attached to the end of this a short program to turn those off. I run KERMIT on the plus from a command file KERMIT.BAT which contains the following: MSXHPX 1% MODEMOFF This guarantees modem/serial port doesn't run down battery. Mike Mellinger 800-325-0888 ****************************************************** Modified MSXHPX follows: instat equ 6 wrdev equ 40H ; mjm rddev equ 3fH par_str db 'P' ; string used to set parity par_x db 4,';' brk_on db 'B1;' ; start sending breaks db 'SS0;' ; 1 Stop Bit Db 'SW0;' ; 8 Bit Length setktab db 0 com1 db 'COM1',0 com2 db 'COM3',0 blank db esc,'H',esc,'J$' db 04H,'COM1$' dw 01H db 04H,'COM3$' dw 00H ;outch3: mov dl,ah ; mov ah,punout ; Output char in DL to comm port. ; int dos outch3: mov byte ptr temp,ah mov bx,prthnd mov ah,wrdev mov cx,1 mov dx,offset temp int dos ; end DRA pop bx ******************************* MODEMOFF.ASM (make it into COM file...) ; MAIN SEGMENT PARA PUBLIC 'MAIN' ASSUME CS:MAIN,DS:MAIN,SS:MAIN,ES:NOTHING ; ORG 100H START PROC FAR MOV DX,OFFSET CHANNEL MOV AX,3D01H INT 21H MOV BX,AX MOV AX,4403H MOV DX,OFFSET OFFCOM MOV CX,6 INT 21H MOV AX,4C00H INT 21H OFFCOM DB 'M3;M5;' CHANNEL DB 'AUX',0 START ENDP MAIN ENDS END START ************************* ======== - - - - - - - End forwarded message --------