DTR-1 Interlink Information

From: "D.Manchester" <Vead@q.continuum.net>
Newsgroups: comp.sys.pen
Subject: DTR-1 BACKUPS TO PC WITH INTERLINK
Date: 22 Sep 1995 06:01:07 GMT

DAUPHIN DTR-1
SAMPLE CONFIGURATIONS
INCLUDING 
INTERLINK:  BACKING-UP TO YOUR DESKTOP PC


Supplied by D.Manchester and G.Donahue
Madrigal Development Company
email Vead@Q.CONTINUUM.NET


Purpose: show the differences between normal and interlinked
configurations for the DAUPHIN DTR-1. 


		1. SYSTEM DESCRIPTION & OBJECTIVE
		2. NORMAL OPERATIONS
		3. INTERLINK OPERATIONS
		4. BACKING UP TO YOUR DESKTOP PC
 

1.	SYSTEM DESCRIPTION

HARDWARE SPECS: Cyrix-486slc-25, 40 MB drive, 6 MB memory

SOFTWARE SPECS: MS DOS 6.22, Windows 3.1 & WinPen 1.0

DISK SETUP: Compressed drive assigned to C: using DOS 6.22
	DRVSPACE program. Uncompressed volume on the drive is
	designated H:


OBJECTIVE OF THIS CONFIGURATION

Have the machine offer a chance to exit to DOS before 
starting Windows. Keep a log of startup events as they
happen:

	If the User chooses to start Windows, start Windows.

	If the User chooses to exit to DOS, exit to DOS.

	If the User ignores the chance, start Windows.

	If Windows exits normally, note the event in the log.

	If the User exits to DOS, display the log of startup events
	and current environment settings.
 
2. NORMAL OPERATIONS

	AUTOEXEC.BAT

C:\DOS\SMARTDRV.EXE
@ECHO C:\DOS\SMARTDRV.EXE installed >c:\bootlog.txt
@ECHO OFF
PROMPT madrigal develops$_$p$_Thou Art God...
@echo PROMPT set to %PROMPT%>>c:\bootlog.txt
SET DIRCMD=/OGN
@echo DIRCMD set to %DIRCMD%>>c:\bootlog.txt
PATH C:\DOS;C:\WINWORD;C:\WINDOWS;C:\DAUPHIN;C:\UT;C:\BAT;c:\pkz
PATH %PATH%;c:\pb3;
PATH %PATH%;c:\temp
@echo PATH set to %PATH%>>c:\bootlog.txt
SET TEMP=C:\TEMP
@echo TEMP set to %TEMP%>>c:\bootlog.txt
C:\DAUPHIN\KVTMOUSE.COM /2
@echo C:\DAUPHIN\KVTMOUSE.COM /2 installed! >>c:\bootlog.txt
C:\DAUPHIN\MCONFIG
@echo C:\DAUPHIN\MCONFIG installed to wake modem!>>c:\bootlog.txt
:call dauphin
:@echo C:\DAUPHIN\DAUPHIN.BAT has set speed to 25 MHz!>>c:\bootlog.txt
C:\DOS\SHARE.EXE
@echo C:\DOS\SHARE.EXE installed & running!%>>c:\bootlog.txt
sa rev
:CHOICE
choice /t:y,5 Would You Like to run Windows now?
IF ERRORLEVEL 2 GOTO EXIT
:RUNWIN
 WIN
@echo MS-WINDOWS 3.1 with PEN EXTENSIONS 1.0 has run >>c:\bootlog.txt
@echo                   and exited successfully at least once! 
>>c:\bootlog.txt
GOTO END
:EXIT
@ECHO           STARTUP INFORMATION
@TYPE C:\BOOTLOG.TXT
@ECHO .
@ECHO           CURRENT ENVIRONMENT STRINGS
@SET
:END

 

   CONFIG.SYS

DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DEVICE=C:\DOS\EMM386.EXE X=E800-EFFF /V
DOS=HIGH
FILES=40
REM BUFFERS=20
STACKS=9,256
DEVICEHIGH=C:\DOS\DRVSPACE.SYS /MOVE
DEVICEHIGH=C:\DOS\ANSI.SYS
BUFFERS=15,0
SHELL=C:\DOS\COMMAND.COM C:\DOS\  /p


BOOTLOG.TXT
	Since windows has been run, and exited before writing this,
	my Bootlog.txt file looks like this...

C:\DOS\SMARTDRV.EXE installed 
PROMPT set to madrigal develops$_$p$_Thou Art God...
DIRCMD set to /OGN
PATH set to C:\DOS;C:\WINWORD;C:\WINDOWS;C:\DAUPHIN;C:\UT;C:\BAT;;C:\TEMP
TEMP set to C:\TEMP
C:\DAUPHIN\KVTMOUSE.COM /2 installed! 
C:\DAUPHIN\MCONFIG installed to wake modem!
C:\DOS\SHARE.EXE installed & running!
MS-WINDOWS 3.1 with PEN EXTENSIONS 1.0 has run 
and exited successfully at least once! 
 


3. INTERLINK OPERATIONS

	The point of interlink is to copy files back and forth between
computers.  To do this, the INTERLINK software must be loaded
into memory when the computer starts-up.  So a device driver,
\DOS\INTERLINK.EXE, must be installed by Config.sys, and the
DTR-1 must be told to use the serial port for COM 1 instead
of the modem.  This is done in the Autoexec.bat file.

The line added to the config.sys file should be near the top.

device=c:\dos\interlnk.exe /com:1 /v

Here, the /com:1 specifies the port, and the /v tells INTERLINK
to use a variable speed as necessary (a good idea when trying
to link two machines that run at different speeds).  I have
used this to back-up my files to a 90 Mhz Pentium box, and
it works.

SWAPPING FILES FOR INTERLINK
	To keep track of which startup files are which, these
batch files will do it. I called them linksw.bat and unlinksw.bat.

TO CHANGE FROM NORMAL TO INTERLINKED

rem LINKSW.BAT
copy autoexec.bat *.tmp
copy config.sys *.tmp
copy autoexec.lnk *.bat
copy config.lnk *.sys

echo Startup Files Set to InterSvr-Interlnk Configuration.
echo Reboot now and Run InterSvr or Interlnk!
 

TO CHANGE FROM INTERLINKED BACK TO NORMAL

rem UNLINKSW.BAT
copy autoexec.tmp *.bat
copy config.tmp *.sys
echo Startup Files Reset to Normal Configuration.
echo Reboot now.



 

AUTOEXEC.BAT FOR INTERLINK

C:\DOS\SMARTDRV.EXE
@ECHO C:\DOS\SMARTDRV.EXE installed >c:\bootlog.txt
@ECHO OFF
PROMPT madrigal develops$_$p$_Thou Art God...
@echo PROMPT set to %PROMPT%>>c:\bootlog.txt
SET DIRCMD=/OGN
@echo DIRCMD set to %DIRCMD%>>c:\bootlog.txt
PATH C:\DOS;C:\WINWORD;C:\WINDOWS;C:\DAUPHIN;C:\UT;C:\BAT;
PATH %PATH%;c:\temp
@echo PATH set to %PATH%>>c:\bootlog.txt
SET TEMP=C:\TEMP
@echo TEMP set to %TEMP%>>c:\bootlog.txt
C:\DAUPHIN\KVTMOUSE.COM /2
@echo C:\DAUPHIN\KVTMOUSE.COM /2 installed! >>c:\bootlog.txt
C:\DAUPHIN\MCONFIG
@echo C:\DAUPHIN\MCONFIG installed to wake modem!>>c:\bootlog.txt
:call dauphin
:@echo C:\DAUPHIN\DAUPHIN.BAT has set speed to 25 MHz!>>c:\bootlog.txt
rem INTERLINK STUFF ..............................
ECHO SETTING COM 1 TO SERIAL PORT
C:\DAUPHIN\SERIAL
C:\DOS\SHARE.EXE
@echo C:\DOS\SHARE.EXE installed & running!%>>c:\bootlog.txt
sa rev
:CHOICE
choice /t:y,5 Would You Like to run Windows now?
IF ERRORLEVEL 2 GOTO EXIT
:RUNWIN
 WIN
@echo MS-WINDOWS 3.1 with PEN EXTENSIONS 1.0 has run >>c:\bootlog.txt
@echo                   and exited successfully at least once! 
>>c:\bootlog.txt
GOTO END
:EXIT
@ECHO           STARTUP INFORMATION
@TYPE C:\BOOTLOG.TXT
@ECHO .
@ECHO           CURRENT ENVIRONMENT STRINGS
@SET
:END
 

 
CONFIG.SYS FOR INTERLINK
	The only difference is the added first line.

device=c:\dos\interlnk.exe /com:1 /v

DEVICE=C:\DOS\SETVER.EXE
DEVICE=C:\DOS\HIMEM.SYS
DOS=HIGH
FILES=40
REM BUFFERS=20
STACKS=9,256
DEVICEHIGH=C:\DOS\DRVSPACE.SYS /MOVE
DEVICEHIGH=C:\DOS\ANSI.SYS
BUFFERS=10,0
SHELL=C:\DOS\COMMAND.COM C:\DOS\  /p

 
BACKING-UP TO YOUR DESKTOP PC

To back up the DTR-1 to your PC, first run LINKSW.BAT, above on BOTH
machines and reboot BOTH machines with a serial cable connecting
them.  Start the INTERLINK program by entering the appropriate
INTERSRVR commands (see DOS 6.22 online HELP for INTERLINK.EXE
 INTERSRVR commands.

Once the INTERSRVR is running, copy your files.
	

..hope this is useful...I didn't get much encouragement from 
dauphin's new management...with the attitude I saw (eg. not 
honoring existing warranties) I don't think they'll sell many
new ones...dcm


-30-

© 1996 By Toby Reed / toby@eskimo.com