|
PC/X Driver Support for Windows 3.x, OS/2 an Fossil PC/X Driver Support for Windows 3.x, OS/2 an Fossil
Microsoft Windows 3.x Introduction:
This Microsoft Windows*
device driver package provides full Windows communication support for the
DigiBoard PC/X and MC/X four and
eight port serial communications boards under
Microsoft Windows versions 3.0 and
3.1, and Windows for Workgroups version 3.1. The driver will also
work with the PC/16 and MC/16 boards,
but will not support all sixteen ports due to the limitations of
the Microsoft Windows COMM API
(Application Programming Interface), which only provides
support for nine ports, COM1-COM9.
NOTE: See the
readme.dgx and the relnotes.dgx files on the distribution diskette for other
information not available at this
manual's press time.
Hardware and Software
Requirements: 1. The Digi PC/X or MC/X
board with 16C450 UARTs installed (PC/X and MC/X boards may be
special-ordered with 16C550 UARTs, or the UARTs can be purchased at an
electronics store and
installed in the field).
2. One
or more application programs, such as the Windows Terminal program or
PROCOMM
PLUS for Windows, which supports Windows COMM API calls; you may also need a
special
.DLL file to enable support for more than four ports_ if available, this can be
obtained from
your
software publisher.
NOTE: The DigiWARE DOS device driver COMS.SYS must not be
loaded concurrently
with
the Microsoft Windows device driver.
Limitations:
The Microsoft Windows COMM API supports a maximum of nine serial
ports, COM1-COM9. These
ports may reside on one or more PC/X or MC/X boards, and can also
include existing COM ports on your
machine, but cannot exceed 9 comm ports.
3. Each
board must have its own IRQ.
Examples: One serial port on the motherboard set for COM1 (I/O
address 3F8h, IRQ4),
and
eight ports, COM2-COM9, on a PC/8 board set for IRQ3); One serial port on the
motherboard
set for COM1 (I/O address 3F8h, IRQ4), four ports, COM2-COM5, on a PC/4 board
set
for
IRQ3, and four ports, COM6-COM9, on another PC/4 board set for IRQ5.
4. A
serial mouse, if used, must be installed on either COM1 (3F8h, IRQ4) or COM2
(2F8h,
IRQ3), and must have its own dedicated IRQ.
Installation Hardware
Installation: Before
proceeding with the software installation for the Microsoft Windows 3.x device
driver, you must first configure
your board(s) for the correct I/O addresses and interrupt request (IRQ) lines,
and install the board(s)
according to the instructions in the Installation Guide for your board, and the
instructions on the following
pages.
Standard COM
Ports: Most PCs are shipped
with one or more COM ports already installed, either on the motherboard itself,
or on a separate board plugged
into the I/O bus (a typical add-in card might have two COM ports, a
printer port and a joystick
port). The addresses and IRQs used by standard COM ports are:
Port
Address
IRQ COM1
3F8h 4
COM2 2F8h
3 COM3
3E8h 4
COM4 2E8h 3
Nearly all PCs
come with COM1, and most also have a COM2 port installed. When configuring
your Digi board and the Windows
device driver, you need to work around (or disable) the
existing COM
ports through your machine BIOS. The main point of conflict when
installing a PC/X or MC/X board is
the IRQ. Since PC/X boards plug into an 8-bit slot, only IRQs 2, 3, 4, 5,
6 and 7 are
available. MC/X boards can use IRQs 3, 4, 5, 7, 10, 11, 12 or 15.
Many of these IRQs will
already be in use by other
devices, such as disk and tape drives, printers, network cards, etc.
Each board must be assigned an
IRQ that is not used by any other device in the system. Check
your system documentation to
determine what IRQs are already in use. Furthermore, each individual
port on the board must be
assigned a unique I/O address.
On some PCs, IRQ2 is internally
mapped to IRQ 9. When installing a PC/X board in one of
these machines, the PC/X board may
be configured for IRQ2, but the Windows device driver must be
set to
IRQ9.
PC/4 and PC/8
Boards: PC/4 and PC/8
boards have five or nine banks of DIP switches, respectively. DS1 is
a 10-position switch bank used for
the status register. DS2 through DS9 (DS2 through DS5 on PC/4 boards)
are 8-position switch banks, and
determine the I/O port address for the individual ports. The Windows
3.1 device driver does not use the
status port, so the setting of DS1 is irrelevant, as long as the address
does not conflict with that of any
other device in the system (including the ports on the PC/X board itself).
To eliminate the possibility of
such a conflict, the recommended setting for DS1 is all ten switches in
the OFF position.
NOTE: Turning
these switches off, disables the port. Refer to the PC/X and MC/X
Installation Guide for
information on how to set the DIP switches and jumpers on PC/4 and PC/8 boards.
Also see the Setup Examples for
the DIP switch and jumper settings for the configuration examples.
PC/16 Boards:
Although the PC/16 board is
not recommended for use with Windows 3.1 since the Windows API only
supports nine COM ports, the
device driver will support up to nine of the PC/16 board's ports.
The PC/16 board is configured by
installing appropriate PAL chips on the board. Any PAL set can be used,
as long as you enter the correct
I/O addresses in the setup program's configuration dialog box.
The addresses provided by the
standard DOS PAL set (part numbers 40000246 and 40000247)
provide the following I/O
addresses: 100h, 108h, 110h, 118h, 120h, 128h, 130h, 138h, 148h, 150h,
158h, 160h, 168h, 170h, 178h
and 180h. The Windows device driver will support any nine of the
sixteen ports.
NOTE: Refer to
the PC/X and MC/X Installation Guide for information on selecting the IRQ, and
other jumper settings.
MC/X
Boards: MC/X boards are
configured through the POS (Programmable Option Select) feature of Micro Channel
computers. To install and
configure your MC/X board, follow the instructions in the PC/X and MC/X
Installation Guide.
1.
Boot your system from the IBM Reference Diskette.
2.
Make a working copy of the reference diskette by selecting the "Backup the
Reference Diskette"
option.
3. Select "Copy an Option Diskette", and follow the
instructions on the screen to copy the ADF
(Adapter Description File) files from the DigiWARE ADF Files diskette to the
working copy of
the reference diskette just created.
4.
Turn off the computer and install the MC/X board in an available slot in your
computer.
Follow the instructions in the MC/X Installation Guide.
5.
Boot the system from the working copy of the IBM reference diskette made in Step
3.
Run the Automatic Configuration.
6.
Select "View Configuration". You will see something like the following:
View Configuration
Slot 3 - DigiBoard MC/8
UART Address Range . . . . . . . . . . . . . 0xDB80 -> 0xDBC0
Com2 Status . . . . . . . . . . . . . . . . Disabled
Interrupt Select . . . . . . . . . . . . . . INT 5
Make a note of the UART
Address Range and the Interrupt Select. This is the information you will
need to set up the Windows
Driver. Also verify that "Com2 Status" is set to "Disabled".
If it is not, you can change it
by selecting the "Set Configuration" menu. The UART Address Range provides
only the address of the first
port on the board, and the address of the status port. The following list
provides all of the addresses
needed to configure the Windows device driver:
MC/4, MC/8:
0xDB80 * 0xDBC0
DB80h, DB88h, DB90h, DB98h, DBA0h, DBA8h, DBB0h, DBB8h.
0xDC00 * 0xDC40
DC00h, DC08h, DC10h, DC18h, DC20h, DC28h, DC30h, DC38h.
0xBB80 * 0xBBC0
BB80h, BB88h, BB90h, BB98h, BBA0h, BBA8h, BBB0h, BBB8h.
0xBC00 * 0xBC40
BC00h, BC08h, BC10h, BC18h, BC20h, BC28h, BC30h,
BC38h.
0xAB80 * 0xABC0
AB80h, AB88h, AB90h, AB98h, ABA0h, ABA8h, ABB0h,
ABB8h.
0xAC00 * 0xAC40
AC00h, AC08h, AC10h, AC18h, AC20h, AC28h, AC30h, AC38h.
0xCB80 * 0xCBC0
CB80h, CB88h, CB90h, CB98h, CBA0h, CBA8h, CBB0h, CBB8h.
If you are installing an MC/4
board, only the first four addresses in each list are pertinent.
MC/16:
0x3000 * 0x307F
3000h, 3008h, 3010h, 3018h, 3020h, 3028h, 3030h, 3038h, 3040h, 3048h, 3050h,
3058h, 3060h, 3068h, 3070h, 3078h.
0x4000 * 0x407F
4000h, 4008h, 4010h, 4018h, 4020h, 4028h, 4030h, 4038h, 4040h, 4048h, 4050h,
4058h, 4060h, 4068h, 4070h, 4078h.
0x4100 * 0x417F
4100h, 4108h, 4110h, 4118h, 4120h, 4128h, 4130h, 4138h, 4140h, 4148h, 4150h,
4158h, 4160h, 4168h, 4170h, 4178h.
0x4200 * 0x427F
4200h, 4208h, 4210h, 4218h, 4220h, 4228h, 4230h, 4238h, 4240h, 4248h, 4250h,
4258h, 4260h, 4268h, 4270h, 4278h.
0x4300 * 0x437F
4300h, 4308h, 4310h, 4318h, 4320h, 4328h, 4330h, 4338h, 4340h, 4348h, 4350h,
4358h, 4360h, 4368h, 4370h, 4378h.
0x5000 * 0x507F
5000h, 5008h, 5010h, 5018h, 5020h, 5028h, 5030h, 5038h, 5040h, 5048h, 5050h,
5058h, 5060h, 5068h, 5070h, 5078h.
0x6000 * 0x607F
6000h, 6008h, 6010h, 6018h, 6020h, 6028h, 6030h, 6038h, 6040h, 6048h, 6050h,
6058h, 6060h, 6068h, 6070h, 6078h.
0x7000 * 0x707F
7000h, 7008h, 7010h, 7018h, 7020h, 7028h, 7030h, 7038h, 7040h, 7048h, 7050h,
7058h, 7060h, 7068h, 7070h, 7078h.
Software Installation:
1.
Start Windows 3.1.
2. Place the DigiWARE Windows 3.1, OS/2 and FOSSIL
Driver diskette in drive A. Select File,
then
Run.
In the dialog box, type A:SETUP and click "OK". (If you install from a
drive other than drive A,
substitute the appropriate drive designation for A: in the Run dialog box.)
3. Follow the
instructions in the dialog boxes. Help buttons have been provided. You
will see the
following dialog box:
--------------------------------------------
| Configuration
|
--------------------------------------------
| I/O (hex) IRQ
|
| COM1: _________ ________
|
| COM2: _________ ________
|
| COM3: _________ ________
|
| COM4: _________ ________
|
| COM5: _________ ________
|
| COM6: _________ ________
|
| COM7: _________ ________
|
| COM8: _________ ________
|
| COM9: _________ ________
|
|
|
| Continue Exit Help
|
|__________________________________________|
Fill in the boxes according to
the way you have the board set up.
NOTE: The
DigiBoard device driver replaces the Microsoft Windows 3.1 device driver, so you
must configure the non-DigiBoard
COM ports first (e.g.COM1 I/O 3F8, IRQ4; COM2 I/O 2F8, IRQ3;
then the DigiBoard ports.
See the examples beginning on page 15). After installing the device
driver, if you wish to change your
serial configuration, rerun setup.exe from the DigiWARE diskette, as above
(The Microsoft Windows Control
Panel Ports program does not provide a method to configure ports
5 through 9).
NOTE: See the
files readme.dgx and relnotes.dgx for more configuration information. Both
files were placed in your Windows
3.1 directory during installation. They can also be found on the
installation diskette.
Please note that not all Windows
communications programs are aware of COM5 through COM9
(Microsoft's Terminal program,
for example, only supports four COM ports). Please read
your software manual to
determine if your application can access COM5 through COM9.
Following are some examples of
ways to configure PC/X and MC/X boards with or without existing
COM ports. In each example,
the Configuration dialog box is shown as it should appear after
you have filled in the I/O
addresses and IRQ for each port.
EXAMPLE 1:
COM1 on motherboard (or
separate add-in card), COM2 through COM9 on a PC/8 board.
--------------------------------------------
|
Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__100____ ___3____
| | COM3:
__108____ ___3____
| | COM4:
__110____ ___3____
| | COM5:
__118____ ___3____
| | COM6:
__120____ ___3____
| | COM7:
__128____ ___3____
| | COM8:
__130____ ___3____
| | COM9:
__138____ ___3____ |
|
| |
Continue Exit Help
|
|__________________________________________|
EXAMPLE 2:
No standard COM ports (COM1-
COM4) on motherboard or other add in card, PC/8 board
configured so that port 1
looks like standard COM1:
--------------------------------------------
| Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__100____ ___3____
| | COM3:
__108____ ___3____
| | COM4:
__110____ ___3____
| | COM5:
__118____ ___3____
| | COM6:
__120____ ___3____
| | COM7:
__128____ ___3____
| | COM8:
__130____ ___3____
| | COM9:
_________ ________ |
|
| |
Continue Exit Help
|
|__________________________________________|
EXAMPLE 3:
COM1 and COM2 on motherboard
or add-in card, COM3 through COM9 on a PC/8
board.
NOTE: Because the Microsoft Windows API only supports COM1
through COM9, only seven of
the PC/8 ports are supported in this configuration.
--------------------------------------------
| Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__2F8____ ___3____
| | COM3:
__100____ ___5____
| | COM4:
__108____ ___5____
| | COM5:
__110____ ___5____
| | COM6:
__118____ ___5____
| | COM7:
__120____ ___5____
| | COM8:
__128____ ___5____
| | COM9:
__130____ ___5____ |
|
| |
Continue Exit Help
|
|__________________________________________|
EXAMPLE 4:
COM1 on motherboard or add-in
card, COM2 through COM5 on a PC/4 board, COM6 through
COM9 on another PC/4
board. NOTE:
The two PC/4 boards must have different IRQs.
--------------------------------------------
| Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__148____ ___3____
| | COM3:
__150____ ___3____
| | COM4:
__158____ ___3____
| | COM5:
__160____ ___3____
| | COM6:
__168____ ___5____
| | COM7:
__170____ ___5____
| | COM8:
__178____ ___5____
| | COM9:
__180____ ___5____ |
|
| |
Continue Exit Help
|
|__________________________________________|
EXAMPLE 5:
COM1 through COM4 on
motherboard or add-in card, COM5 through COM8 on a PC/4
board.
--------------------------------------------
Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__2F8____ ___3____
| | COM3:
__3E8____ ___4____
| | COM4:
__2E8____ ___3____
| | COM5:
__100____ ___5____
| | COM6:
__108____ ___5____
| | COM7:
__110____ ___5____
| | COM8:
__118____ ___5____
| | COM9:
_________ ________ |
| |
|
Continue Exit Help
|
|__________________________________________|
EXAMPLE
6: COM1 on PS/2
motherboard, COM2 through COM9 on MC/8
board.
--------------------------------------------
| Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__DB80___ ___3____ |
| COM3:
__DB88___ ___3____
| | COM4:
__DB90___ ___3____
| | COM5:
__DB98___ ___3____
| | COM6:
__DBA0___ ___3____
| | COM7:
__DBA8___ ___3____
| | COM8:
__DBB0___ ___3____
| | COM9:
__DBB8___ ___3____ |
|
| |
Continue Exit Help
|
|__________________________________________|
EXAMPLE 7:
COM1 and COM2 on motherboard,
COM3 through COM9 on a MC/8
board.
NOTE: Since the Windows COMM API only supports COM1
through COM9, only seven of
the MC/8 ports are supported
in this configuration.
--------------------------------------------
| Configuration
|
--------------------------------------------
| I/O
(hex) IRQ
| | COM1:
__3F8____ ___4____
| | COM2:
__2F8____ ___3____
| | COM3:
__BB88___ ___11___
| | COM4:
__BB90___ ___11___
| | COM5:
__BB98___ ___11___
| | COM6:
__BBA0___ ___11___
| | COM7:
__BBA8___ ___11___
| | COM8:
__BBB0___ ___11___
| | COM9:
__BBB8___ ___11___ |
| |
|
Continue Exit Help
|
|__________________________________________|
Troubleshooting:
Most
installation problems are caused by IRQ conflicts, I/O port address conflicts
and I/O cabling problems.
Additionally, the COM ports must be configured properly within the user's
application program. Consult
the application program documentation for the correct configuration setup.
If a hardware problem is
suspected, diagnostics for PC/X boards can be found in the \DIAGS
directory of the device
driver diskette. Instructions for running the diagnostics are in a text
file in the same directory.
Setup
Examples: EXAMPLE 1
DS1:
Status port disabled: Switch 1 2 3 4 5 6 7 8 9
10
on: - - - - - - - - - -
off: x x x x x x x x x x
Switch 1 2 3 4
5 6 7 8:
DS2: Port 1 set to 100h: on: x - x x x x x
x
off: - x - - - - -
- DS3:
Port 2 set to 108h: on: x - x x x x -
x
off: - x - - - - x
- DS4:
Port 3 set to 110h: on: x - x x x - x x
off: - x - - - x -
- DS5:
Port 4 set to 118h: on: x - x x x - -
x
off: - x - - - x x
- DS6:
Port 5 set to 120h: on: x - x x - x x
x
off: - x - - x - -
- DS7:
Port 6 set to 128h: on: x - x x - x - x
off: - x - - x - x
- DS8:
Port 7 set to 130h: on: x - x x - - x
x
off: - x - - x x -
- DS9:
Port 8 set to 138h: on: x - x x - - -
x
off: - x - - x x x -
IRQ Selection for PC/4 & PC/8
Boards: IRQ
|x| | | | | | |x|x|x|x|x|x|x|x| | | | X X | | X X
| 3 |x| | |
| | | |x|x|x|x|x|x|x|x|x|x| P2 P3
| | | | |
| | | | |x|x| Jumper middle 2 pins
J85 J1
--> J10
EXAMPLE 2
DS1:
Status port disabled: Switch 1 2 3 4 5 6 7 8 9
10
on: - - - - - - - - - -
off: x x x x x x x x x x
Switch 1 2 3 4
5 6 7 8:
DS2: Port 1 set to 3F8h: on: - - - - - - -
x
off: x x x x x x x
- DS3:
Port 2 set to 100h: on: x - x x x x x
x
off: - x - - - - -
- DS4:
Port 3 set to 108h: on: x - x x x x -
x
off: - x - - - - x
- DS5:
Port 4 set to 110h: on: x - x x x - x x
off: - x - - - x -
- DS6:
Port 5 set to 118h: on: x - x x x - -
x
off: - x - - - x x
- DS7:
Port 6 set to 120h: on: x - x x - x x
x
off: - x - - x - -
- DS8:
Port 7 set to 128h: on: x - x x - x - x
off: - x - - x - x
- DS9:
Port 8 set to 130h: on: x - x x - - x
x
off: - x - - x x -
-
IRQ Selection for PC/4 & PC/8 Boards:
IRQ |x| | | |x| | | |x|
|x|x|x|x|x| | | | X X | | X X
| 3 |x| |
| |x| | |x|x|x|x|x|x|x|x|x|x| P2 P3
| | |x|
|x| | | | | |x|x| Jumper middle 2 pins
J85 J89
J1 --> J10
EXAMPLES 3-5 NOT SHOWN (see hardware manual for proper
setup)
EXAMPLE
6: View Configuration
Slot 3 - DigiBoard MC/8
UART Address Range . . . . .
. . . . . . . . 0xDB80 -> 0xDBC0
Com2 Status . . . . . . . .
. . . . . . . . Disabled
Interrupt Select . . . . . .
. . . . . . . . INT 5
EXAMPLE 7: View
Configuration Slot 3 -
DigiBoard MC/8 UART Address
Range . . . . . . . . . . . . . 0xBB80 -> 0xBBC0
Com2 Status . . . . . . . .
. . . . . . . . Disabled
Interrupt Select . . . . . .
. . . . . . . . INT 11
Related Information:
http://supportold.digi.com/support/drivers/win3.x/index-classic.html
http://supportold.digi.com/support/manuals/hardware/pcx/90029700A.pdf
|