home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
D!Zone (Collector's Edition)
/
D_ZONE_CD.ISO
/
programs
/
editors
/
dm210
/
dmserdrv.doc
< prev
next >
Wrap
Text File
|
1994-12-06
|
13KB
|
463 lines
DMSERDRV - Replacement Serial Driver for DOOM 1.2
─────────────────────────────────────────────────
(c) 1994, Simply Silly Software
About is DMSERDRV
─────────────────
When ID Software shipped DOOM 1.2, many people looked
forward to playing 2 player's via serial. We had heard
about network users playing multi-player and we were
jealous. Unfortunately, when the MODEM patch finally
shipped, most player found it hard to configure and or use.
The reason, SERSETUP was ID's programmer's first attempt at
creating a serial driver; and it was not bad. Most of the
problems resulted from not having the right modem INIT
string.
DMSERDRV, was created to not only attempt to solve several
of the small bugs in the original SERSETUP code, but to
also add upon it. DMSERDRV is capable of supporting baud
rates from 9600 to 115.2k (included 16.8k). It fixes
several of the slowdown bugs, and expands on the MODEM.CFG
file. But most importantly, it is 100% compatible with the
original SERSETUP.
COPYRIGHT AND WARRANTEE NOTICE
──────────────────────────────
The name DMSERDRV is (c) 1994, Simply Silly Software, but
the actual program has been released in to the public
domain. All we ask, is you distribute it without any
modifications.
The source code to DMSERDRV is available, but only if you
request it from us. See the section titled "Contacting
Simply Silly Software" for more information.
There is no warrantee, either expressed or implied. We
have done our best to test DMSERDRV, but hey, bugs do
occur. If you have a problem, or find a bug, then please
contact us.
SYSTEM REQUIREMENTS
───────────────────
DMSERDRV has the same requirements as SERSETUP, except it
requires 65k of memory to run instead of 45k. It has been
optimized for size, and compiled with for the 80386
instruction set for power.
INSTALLING DMSERDRV
───────────────────
If you are going to use DMSERDRV with either ID's SETUP.EXE
or a second party shell (such as MoDoom or Doom/Master 1.0)
other than Doom/Master 2.0, then you will need to replace
SERSETUP.EXE with DMSERDRV.
First, copy DMSERDRV in to your DOOM 1.2 directory.
Next, rename SERSETUP.EXE to SERSETUP.$$$ (ie: at the DOS
prompt, type "REN SERSETUP.EXE SERSETUP.$$$").
Finally, rename DMSERDRV.EXE to SERSETUP.EXE (ie: at the
DOS prompt, type "REN DMSERDRV.EXE SERSETUP.EXE").
If you are going to use DMSERDRV with Simply Silly
Software's DOOM/MASTER 2.0, then simply copy DMSERDRV.EXE
in to your Doom directory, and in DM, select Use DMSERDRV
from the configuration menu.
DMSERDRV Command Line Switches
──────────────────────────────
DMSERDRV was designed to be 100% compatible with SERSETUP,
from both the command line, and in MODEM.CFG! But there
have been some additional command line parameters added.
Here is a full listing of DMSERDRV's parameters, and what
they do.
-h : displays an online help screen
-com<x> : Tell DMSERDRV which com port to use.
<x> can be any value from 1-4.
ex: -com2
-baud <rate> : Selects the baud rate to communicate
at. Can be any value between 9600
and 115200. NOTE: It does not check
to see if the baud rate is valid.
-null : Sets DMSERDRV up for a game via a
null-serial cable. It sets the
baud rate automatically to 115200 and
bypasses the dial or answer screens.
-dial <number> : Dial a phone # and attempt to connect
and play DOOM.
-answer : Wait for the phone to ring, then
attempt to connect and play DOOM.
DMSERDRV Command Line Switches cont.
────────────────────────────────────
The following switches, are used to help get DMSERDRV to
work with strange modems or serial ports.
-uart <portaddr> : Selects the UART port address to use.
It must be entered in HEX, and be
proceeded with a "0x", ie: 0x3F8.
-irq <number> : Which irq to use.
-vector <number> : What interrupt vector do you wish to
use to communicate with DOOM. It
also must be entered in HEX like -
uart.
-sendwait <xx> : When this command is added, DMSERDRV
will wait for xx milliseconds between
each character when sending a modem
command. This fixes the problem with
several modems.
-cmdwait <xx> : If you use the cmdwait command,
DMSERDRV will wait for xx
milliseconds after sending the entire
modem command.
-nofifo : Forces DMSERDRV in to 8250 mode even
if a 16550 exists.
-extratics : Used to help slower modems
All command line parameters, will override anything in the
MODEM.CFG.
MODEM.CFG
─────────
When we updated the serial routines, we also expanded on
the modem configuration file MODEM.CFG! But, in order to
keep DMSERDRV 100% compatible with SERSETUP, the first 2
lines of MODEM.CFG remain the same. So, the first line,
is your modem INIT string, and the second line is the modem
HANGUP string.
We have added a third line. This only, hold the modem DIAL
string. The original SERSETUP forced you to use TONE
dialing, now you can select it.
After the first 3 lines, you can add other DMSERDRV
parameters. They take the form "command=value". Here is a
complete listing...
comport=<x> : Use COMx (-com)
baud=<rate> : Switch to <rate> bps (-baud)
uart=<x> : Use a different UART port (-uart)
irq=<x> : Use a different IRQ isr (-irq)
vector=<xx> : INT to talk to DOOM (-vector)
sendwait=<xx> : Pause sending char (-sendwait)
cmdwait=<xx> : Pause after sending (-cmdwait)
force8250=1 : Make 16550's act liek 8250's
Notice how all of the options in the MODEM.CFG have a
command line switch. This allows you to override your
MODEM.CFG at run time. For a better description of what
the option does, refer to th