yU¶>˜/i$†ÂL?Ÿocyôeò^˜éç³;Á7û~.ô¿¯E~šûð¸Icp_žþØø½hxüÆp(¿=¢ŸçeºÒýP~súy^¦+½;ñ{Ñð¸8áP~{d:›Æ|^Ž~(¿¹élóyq'È­ºÅ¾Ÿ+ÁA­Šo¶ø}x<Mcp/ûQ¢ëçù&Ñõó|s’äªƒÍØ÷ý¯nynßlð'õáqŸÆà^ö£D×ÏóM¢ëçùæ$ÉU›±ïû_ÝòÜ$¾Ù
àOêÃêÆà^ö£D×ÏóM¢ëçùæ$ÉU›±ïû_ÝòÜ$¾Ù
àOêÃjVÃ¡üöèÙˆ[yôCùÍŸýˆ¸•îÄïEÃêjÃ¡üöèyc
yFýP~óç)äýáÄïEÃj7áP~{ô\y^ïË£Êoþ\y^ïKwâ÷¢auIc8”ßMË¾Kçè‡ò›?ûó2-é¸¿ÅM‰Ä@´lÁ]u¡,D~Uêßm»"õ‚ƒjü/-Ã¡üöÈT¸•ãÑ—§'»¿ÅÉi‡òÛ#ÓyŠ0óåéÉîÄïECñã4†Cùí‘é\83s~;úòôdwâ÷¢¡xBÃ¡üöÈtÎç¥Ï}yz²;ñ{ÑPÌ¤1ÊoÎ“Æ'Sž¾<=Ùø½h(6Kc8”ß¦¼/}yz²;ñ{Ñ/M)
;		A>SAVE 66 MDM7xx.COM	(now have a modified .COM file)
;
; =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =   =
;
; 11/27/83 - Renamed to M7CD-1.asm              - Ford Buckner
; 11/11/83 - Renamed to M7GP-1.ASM, no changes	- Irv Hoff
; 07/27/83 - Renamed to work with MDM712	- Irv Hoff
; 07/01/83 - Revised to work with MDM711	- Irv Hoff
; 07/01/83 - Revised to work with MDM710	- Irv Hoff
; 05/27/83 - Updated to work with MDM709	- Irv Hoff
; 05/15/83 - Revised to work with MD; Edit this file for your preferences then follow the "TO USE:" example
; shown below.
;
;	TO USE: First edit this file filling in answers for your own
;		equipment.  Then assemble with ASM.COM or equivalent
;		assembler.  Then use DDT to overlay the the results
;		of this program to the original .COM file:
;
;		A>DDT MDM7xx.COM
;		DDT VERS 2.2
;		NEXT  PC
;		4300 0100
;		-IM7GP-1.HEX		(note the "I" command)
;		-R			("R" loads in the .HEX file)
;		NEXT  PC
;		4300 0000
;		-G0			(return to CPåååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååålE'Í™`†­ªÿ`Õ‹ãŸ»ÓúI#“–G÷eê;€ÍjR'‡¦“ž‚ÿ`Õ…²Ü^êçîÃÃj‰Äà¾<ýÁø½hx(Nc 1˜ÎòyaÆÂptÓÙóyaÆÂ º*ûÑ	€B·ñQ]6¬|·Êl^Ý‡‡nƒûòôÕfÄø(Ÿ—¥;ÞŽ>#FÏçeéŽ7ÑUÙN6[…nã£2lµÊl^Ý‡ä¬4÷åé«1˜ÎòyYºãíè¦³çó²tÇ›èªìG'
ÝÆGeØj•Ù¼ºÉ}ƒûòôÕºgÓ£|^JæúôèÝ³Éóy)™ëS§«²\ªºUÿ[…o.þ/¬ñoŽYÅi107Ó£|^Jæzytæfò|^JæzétUö£“uÛ²_¿¬ÓtªÔ‡âß²¦iÝ³éQ>/Ïó2=z÷lò|^žçeêtUö£“+PU·ê«ðÍõ~hˆkt|ÈêÓ˜›éQ>/ÏóR¹™<Ÿ—çy)®Ê~t²n[ökãz?4tªÔ‡âßÌ‡4÷åéÝ‰ß‹óÇi$†1>Êç…ÃÑgÄèù¼0capº*ûÑÉf«Ðm|T—+ß­2›WeëƒæÝ4†1>Êç…GŸ£çóÂŒ…§«²l¶
ÝÆGuÙ°òÝ*³em			103H
SMARTMODEM:	DB	NO	;yes=HAYES Smartmodem, no=non-PMMI	104H
TOUCHPULSE:	DB	'P'	;T=touch, P=pulse (Smartmodem-only)	105H
CLOCK:		DB	40	;clock speed in MHz x10, 25.5 MHz max.	106H
				;20=2 MHh, 37=3.68 MHz, 40=4 MHz, etc.
MSPEED:		DB	5	;0=110 1=300 2=450 3=600 4=710 5=1200	107H
				;6=2400 7=4800 8=9600 9=19200 default
BYTDLY:		DB	5	;0=0 delay  1=10ms  5=50 ms - 9=90 ms	108H
				;default time to send character in ter-
				;minal mode file transfer for slow BBS.
CRDLY:		DB	5	;0=0 delay 1=100d look at other overlay files to see how the GOODBYE and/or
; SETUPR areas are handled.  You could then adapt one of those, if ap-
; propriate for your equipment in this overlay.  Some examples:
;
;     "DP"  Datapoint 1560 overlay using 8251 I/O and CTC timers for
;	       setting baud rates
;     "H8"  Heath H89 overlay for 8250 I/O and programmable baud rates
;     "HZ"  Zenith 120 overlay for 2661B initialization and baud rates
;     "XE"  Xerox 820II overlay for Z80-SIO intialization, etc.
;
ºªRàxÅB»nAk¯Ú¯¨Ôf«¬ÞÌ¿ÛÆ@t¡,D~Z$†ç)äýq”Ê~ŒÄ@b :Ïc”rÄsÔØ—¹éÜ{ÝJÓ\jœÕd5Mª$	P)=QË+º&ø½HÓ4©’$@¥6[õD-¯è6>š4B»O‰Á¥þ¼Ä@bÈ¶÷áð–4S(ŸLy>:Ó-üP~{d*ÜÊÑ‰ß‹†	}ƒû2õ£Áh0ŒÆ‰ß‹†îÆà^ö£ß×ˆß‹†îã4Äð\y^ïË£;Ó-üP~{d*ÜÊÑ‰ß‹†îjƒû2õßèG/[×?Á†Â7³ÌÏ%û*_òÕfÂr£uŸ¹¸P¯Ø@¤*^áßV–Z$úy^¦+ýÑË~ŒÐî“Å@b 1­lVÅ¾_•¯,ÿVøæ²°£7ó/À¶T`[­`Cm®÷W6£Îf…ÚND	ðRª[^ZÖø4©·J(ûV½ug”•’UÙ4_Ù¬.êBýË5UêkWêóˆìº­½j¿öúç­í¼Â70¾}Eí„êV‚ƒúÕÙ,×N@ñÍVÿ+€«R¶Æ@„ÚŽ®¾6®w£_Ôo3´H¦³iÌçå(•ý‰áÙˆ[yt©ìÇH$".ö©J}¥¶ó_=QË+ ms 5=500 ms - 9=900 ms 109H
				;default time for extra wait after CRLF
				;in terminal mode file transfer
NOOFCOL:	DB	5	;number of DIR columns shown		10AH
SETUPTST:	DB	NO	;yes=user-added Setup routine		10BH
SCRNTEST:	DB	NO	;Cursor control routine 		10CH
ACKNAK:		DB	YES	;yes=resend a record after any non-ACK	10DH
				;no=resend a record after a valid-NAK
BAKUPBYTE:	DB	NO	;yes=change any file same name to .BAK	10EH
CRCDFLT:	DB	YES	;yes=default to CRC checking		10FH
TOGGLECRC:	DB	YES	;yes=allow toÍ:0þÂ :	0þ
Â Ã-ÍôÍ²	Ã	ÅÍôÍÁ!‘/6+:¤.þÒ;ÁÍ?Ã*$/å*´."$/Í?á"$/ñþÂ:¤.þÂl*´.^#V{²Êr+sÃ5*´.^#VþÊ·Ê“:¤.þÂ r+s!06#wÃš>¯20Í9Ã!e/~õ6![0~õ6ë"ô.~Ö,ÂÅ#å!0wÍ9áÃðåÍÑÍäÃÐÍ9*ô.~·Âà6Ã÷*âåÍ:	0þ,Ä´áÍî¯2f/ë*´.s#rñ2[0ñ2e/*´.#"X0Í$Í<Ã5Í¬*$/"M0Í0:T/2Í:/2[0·Ä	Ãv>20*Ô."ô.¯2[0Ãvõ*R0åÍm"R0Íá"R0ñ!’/wÉÍêÊ >=ÍG*R0å*I0"R0Íôá"R0ÃÕÍôÍm:Œ/þ ÂÁ}>ÒÁÍž	ÃÕÍêÂ¥Í¢ÃÕ:O0·ÊÈ*V0ë*ØÍÝÊ¿ÍœÃÍÍ"ØÃÍ>Í¯2Ú:O0·ÌÍ:0þÂ:O0·Ì!!Ú4Í:0þÂ:	0þ,ÊØtines such as MDM709DP.ASM which is using this feature.
;
GOODBYE:	RET
;.....
;
;
; You can use this area for any special initialization or setup you may
; wish to include.  Each must stop with a RET.	You can check the other
; available overlays for ideas how to write your own routines if that
; may be of some help.
;
INITMOD:  RET
;
SETUPR:	  RET
;
;
; If using the Hayes Smartmodem this is unavailable without a special
; change.
;
SPCLMENU:  RET
;
;
; NOTE:  MUST TERMINATE PRIOR TO 04
;
IN$MODCTL1:	IN	MODCTL1 ! RET	;in modem control port		12AH
		DS	7
OUT$MODDATP:	OUT	MODDATP ! RET	;out modem data port		134H
		DS	7
IN$MODDATP:	IN	MODDATP ! RET	;in modem data port		13EH
		DS	7
ANI$MODRCVB:	ANI	MODRCVB	! RET	;bit to test for receive ready	148H

CPI$MODRCVR:	CPI	MODRCVR	! RET	;value of rcv. bit when ready	14BH
ANI$MODSNDB:	ANI	MODSNDB	! RET	;bit to test for send ready	14EH
CPI$MODSNDR:	CPI	MODSNDR	! RET	;value of send bit when ready	151H
		DS	6		;				156H
;
OUT$MODCTL1:	OUT	M	11EH
EXTRA2:		DB	0	;for future expansion			11FH
BRKCHR:		DB	'@'-40H	;^@ = Send 300 ms. break tone		120H
NOCONNCT:	DB	'N'-40H	;^N = Disconnect from the phone line	121H
LOGCHR:		DB	'L'-40H	;^L = Send logon			122H
LSTCHR:		DB	'P'-40H	;^P = Toggle printer			123H
UNSAVE:		DB	'R'-40H	;^R = Close input text buffer		124H
TRANCHR:	DB	'T'-40H ;^T = Transmit file to remote		125H
SAVECHR:	DB	'Y'-40H	;^Y = Open input text buffer		126H
EXTCHR:		DB	'^'-40H	;^^ = Send next character		127H
;
;
		DS	2		;				128H:0þÂF:	0ÍçÊeþ%Â;Ím"Ü>ÿ2Û:0þÂb:	0õ¯20ÍÍÛñÃWþ,ÂFÍ×ÃöÍÛÍ:0þÂb:	0ÍçÊeþ,ÊöÍ´:Â·ÊrÍ×Ãe*X0#å![0~ÍíÊ‡ÍÃw¯w2/Í¬:Í2T/Í-á"ô.á"$/¯2/>2¤.Ãv:£.·Ê¸!‘/6+Í•%>20É:£.·Ê®:¤.þÐþÈÍ0ÃÁ¯20Í9Í$Í<!Â5É*Ã}´Ä¢*V0"ÃÍ:0þÂy:	0þ:ÂyÃvþÂ!X! ^#fkéX¤»Ù _~™0^¢Ä	É	Z
ù
ü
ÿ
258¨«ÍôÍ:0þÂ‰:0=Ê‰G!	0ÊƒÅF#åÍ2áÁÃsÍÃ–Í*I0Í|EÍ2ÍãÍVþ,Ê[ÃÕÍôÍŠÍmë*R0"R0"P0ÃÕÍôÍmåEÍ2áDÍ2ÍãÍVþ,Ê¾ÃÕÍôÍŠ:Œ/þ ÂÕÍm:Œ/þ Âõ"Ç> 2Œ/:Í·Ä®-----------------------------------------------------------
;
; You can put in a message at this location which can be called up with
; CTL-O if TRANLOGON has been set TRUE.  You can use several lines if
; desired.  End with a 0.
;
LOGON:		DB	'How are you today?',CR,LF,0
;.....
;
;
; Add your own routine here to send a break tone to reset some time-share
; computers, if desired.
;
SENDBRK:	RET
;.....
;
;
; Add your own routine here to put DTR low and/or send a break tone.
; Check other rou			19EH
		DB	0,0,0,0,0	;				1A1H
		RET			;				1A6H
	
;
SYSVER:		CALL	JMP$ILPRT	;				1A7H
		DB	'Cromemco Version for CDOS'
		DB	CR,LF,0
		RET
;.....
;
;
;-----------------------------------------------------------------------
;
; NOTE:  You can change the SYSVER message to be longer or shorter.  The
;	 end of your last routine should terminate by 0400H (601 bytes
;	 available after start of SYSVER) if using the Hayes Smartmodem
;	 or by address 0C00H (2659 bytes) otherwise.
;
;------------
				;no=external command if EXTCHR precedes
TOGGLELOC:	DB	YES	;yes=allow toggling of LOCONEXTCHR	118H
LSTTST:		DB	NO	;yes=printer available on printer port	119H
XOFFTST:	DB	NO	;yes=checks for XOFF from remote while	11AH
				;sending a file in terminal mode
XONWAIT:	DB	NO	;yes=wait for XON after CR while	11BH
				;sending a file in terminal mode
TOGXOFF:	DB	YES	;yes=allow toggling of XOFF checking	11CH
IGNORCTL:	DB	YES	;yes=CTL-chars above ^M not displayed	11DH
EXTRA1:		DB	0	;for future expansion		Ã( COPYRIGHT (C) 1977 DIGITAL RESEARCH 11¯2O02Z0Í€%Í!"ÖÍK¯2£.>2¤.*M0"$/ÍÍƒ%!"Ã"Þ:g0·Êi!"P0"R0"Ç¯2ÍÍ:0þÊvþÂË:	0þ$ÂÕÍêÂ :[0þ-Ê¬þ+Ê¬þ*Â ÅÍÁ:[0!_0þMÊÄ!f0þPÂ pÍÃ	þÂ Í!ÊÍÍ	ÂìÍ:O0·ÄœÃéÍþÂé!"à:O0·ÊÍë*V0}“|šÚ<ÍrÍÍªÂÁ*Ã|µÄ´:O0·Â_Í‘ÍHÍ*V0"ÃÃ™*V0"àÍEÍ	ÊVÍþÂ»ÃÍÍªÂ»*àë*ØÍÝÂ»"ÃÃ™*K0å"X0!0NA#~ÅåÍ'áÁÂ~áp"K0É*K0N"X0!0q#ÅåÍ*áÁwÂœÉ:0þÀÍ!ÀþÀxþ	ÉÍœÃÕ*V0åÍô*R0:_0·Ìá"V0Í2Â*M0å·ÊrÃþ;ÈþÈþ
ÈþÈþ!É:Â·ÊrÍåååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååååå