# dosdev.sco SCCSID(@(#)dosdev.sco	1.14   LCC)  /* Mod Time 14:30:11 12/4/91 */
#
# Device definitions file for SCO UNIX systems.
#
# Direct attach of devices (io ports, interrupt levels, memory mapped io,
#  and dma channels) IS supported in this version for AT type machines.
#
# Direct attach of devices (io ports, interrupt levels, memory mapped io,
#  and dma channels) IS supported in this version for PS/2 Micro Channel
#  architecture (MCA) type machines with the following restrictions:
#  Some DMA modes are not supported.
#
# The direct attach field descriptions:
#	.IO_Port_Range.Interrupt_Level.Memory_Mapped_IO_Range.DMA_Channel
#
# Refer to the Merge 386 Administrator's Manual for more information
# about constructing device definitions for this file.
#
# Serial (COM) Port device definitions:
dcom1	d  .3f8-3ff.4..,type=COM1	Direct attach COM1 device.
dcom2	d  .2f8-2ff.3..,type=COM2	Direct attach COM2 device.
com1	v  /dev/vcom1			This is a virtual COM1 device.
com2	v  /dev/vcom2			This is a virtual COM2 device.
com1	r  /dev/tty1a			This is the real COM1 device.
com2	r  /dev/tty2a			This is the real COM2 device.
# To use the following descriptive names, remove leading '#' and
#  specify the tty lines the devices are connected to.
# modem	r  /dev/tty??		Assign virtual COM port to line with modem.
#

# Parallel (Printer) Port device definitions:
# Note: These names reflect the UNIX device names that are
#       used for the parallel ports: "/dev/lp0", "/dev/lp1", and "/dev/lp2".
# Note: You must not have both a "Main" parallel port and a "Monochrome card"
#	parallel port at the same time on your system.
lp0	d  .378-37a.7..,type=LPT	Main parallel port (IRQ 7).
lp1	d  .3bc-3be.7..,type=LPT	Monochrome card parallel port (IRQ 7).
lp2	d  .278-27a.5..,type=LPT	Second parallel port (IRQ 5).
# To use the following descriptive names, remove leading '#' and
#  copy the appropriate numbers from lp0, lp1, or lp2 above.
# matrix d .???-???.?..		Direct attach dot matrix printer.
# laser	d .???-???.?..		Direct attach laser printer.
# linep	d .???-???.?..		Direct attach line printer.
#
# WARNING: The above definitions specify the PHYSICAL port connection.
#  DOS printer names "LPT1", "LPT2", and "LPT3" refer to the 1st, 2nd and
#  3rd ports actually attached.  This means if only physical "lp2" is
#  attached, you will use it from DOS as "LPT1".  "lp1" is the parallel
#  port that is normally on MDA (monochrome) and Hercules video adapters.
#  Many computers have a built-in parallel port, and it is usually set
#  up as "lp2".  It is this way so there will be no conflict if there is
#  an MDA adpater installed.  If there are two built-in ports, then usually
#  they are "lp0" and "lp2".  Parallel ports also use interrupts, either
#  5 or 7.  Two parallel ports cannot use the same interrupt.
#
#  Many parallel port adapter cards have switches or jumpers to set the port
#  and interrupt to any one of the three i/o addresses (3bc, 378, 278), and
#  interrupts, and may come already set for the 378 port (which is named
#  "lp0"), or the 278 port (which is named "lp2").  The manual that comes
#  with the adapter tells how to determine what it is set to, and how to
#  change it.
#

# Game Controller (Joystick) device definition:
game	d .201...		Direct attach Game Controller Adapter.
#

# Virtual EMS definitions:
ems	v  /dev/vems/vems1	1 Meg virtual EMS device.
ems	r  /dev/vems/vems1
ems512	v  /dev/vems/vems512	1/2 Meg virtual EMS device.
ems512	r  /dev/vems/vems512
ems1	v  /dev/vems/vems1	1 Meg virtual EMS device.
ems1	r  /dev/vems/vems1
ems2	v  /dev/vems/vems2	2 Meg virtual EMS device.
ems2	r  /dev/vems/vems2
ems3	v  /dev/vems/vems3	3 Meg virtual EMS device.
ems3	r  /dev/vems/vems3
ems4	v  /dev/vems/vems4	4 Meg virtual EMS device.
ems4	r  /dev/vems/vems4
ems5	v  /dev/vems/vems5	5 Meg virtual EMS device.
ems5	r  /dev/vems/vems5
ems6	v  /dev/vems/vems6	6 Meg virtual EMS device.
ems6	r  /dev/vems/vems6
ems8	v  /dev/vems/vems8	8 Meg virtual EMS device.
ems8	r  /dev/vems/vems8
#

#	Direct attach Bus Mouse
#
bmouse2	d  .23c-23f.2..		Bus mouse card set up for interrupt 2
bmouse3	d  .23c-23f.3..		Bus mouse card set up for interrupt 3
bmouse4	d  .23c-23f.4..		Bus mouse card set up for interrupt 4
bmouse5	d  .23c-23f.5..		Bus mouse card set up for interrupt 5
#

#	Indirect attach mouse device definitions.
#	To attach the UNIX mouse to a DOS process, with the virtual
#	bus mouse device in the dos process using interrupt 5, use:
#		dos +amouse5
#	or
#		dos +amouse
#	Note: Interrupt 5 is also used by lp2, so when lp2 is attached
#	to your DOS process, don't use interrupt 5 for the mouse.
#	To use another interrupt (e.g. interrupt 2), your config.sys
#	line with the mouse driver should have a "2" added like this:
#		device=c:\usr\lib\merge\mouse.sys 2
#	and then start DOS with:
#		dos +amouse2
#	Note:
#	Interrupt 3 is used for COM2 when it is attached.
#	Interrupt 4 is used for COM1 when it is attached.
#	Interrupt 5 is used for lp2 when it is attached.
#
#	Note:
#	The "virtual bus mouse" device that is simulated is the
#	Microsoft bus mouse, regardless of what the real device is.
#	So when installing DOS programs that use a mouse, they must be
#	setup to use the "Microsoft bus mouse".  A side effect of this
#	is that because the Microsoft bus mouse has only two buttons,
#	the middle buttons of 3 button mice are not functional.
#	The ",m" flag marks the device as the special automatic Merge
#	mouse device, which follows the active screen.
#
mouse2	r  /dev/ev_mrg		This is the UNIX mouse device.
mouse3	r  /dev/ev_mrg		This is the UNIX mouse device.
mouse4	r  /dev/ev_mrg		This is the UNIX mouse device.
mouse5	r  /dev/ev_mrg		This is the UNIX mouse device.
mouse	r  /dev/ev_mrg		This is the UNIX mouse device.
mouse2	v  /dev/vmouse/vmouse2,m  Virtual Bus mouse using virtual interrupt 2
mouse3	v  /dev/vmouse/vmouse3,m  Virtual Bus mouse using virtual interrupt 3
mouse4	v  /dev/vmouse/vmouse4,m  Virtual Bus mouse using virtual interrupt 4
mouse5	v  /dev/vmouse/vmouse5,m  Virtual Bus mouse using virtual interrupt 5
mouse	v  /dev/vmouse/vmouse5,m  Virtual Bus mouse using default interrupt 5
#
