[net.micro.cpm] Patching MDM716.ASM for Hayes result codes

w8sdz%brl@sri-unix.UUCP (01/12/84)

From:      Keith Petersen <w8sdz@brl>

Date: 01/01/84 11:30:07
From: Bob Plouffe
To:   Frank Wancho
Re:   Patching MDM716 for Smart Modem result codes

	Regarding failure of MDM716 to go to terminal mode
after dial commection is made, try changing the SMRESUL1
routine to the following code.  I assume you are using a
SmartModem which has both verbose and numeric result codes
depending on how your modem switches are set.  This code will
work regardles which way the result code switch is set. I have
it implemented this way in my version for the IBMPC and hadn't
noticed that it wasn't implemented properly in MDM7xx.

SMRESUL1:
	CALL	IN$MODDATP	
	ANI	7FH		
	MOV	B,A		
	CPI	'C'
	JZ	CONMADE1	
	CPI	1
	JZ	CONMADE1
	CPI	'E'
	JZ	GIVLF
	CPI	4
	JZ	GIVLF
	CPI	'N'
	JZ	SMDM1
	CPI	3
	JNZ	SMRESULT

This should be a permanent change to MDM7xx and I will put it
into the next release.  In the meantime, perhaps it should be
put on the nets as a patch.
				Bob Plouffe