
AD1816A
–22–
REV. A
Register T ype-Register Name
Register PC I/O Address
AdLib
Music0: Address (w), Status (r)
Music0: Data (w)
Music1: Address (w)
Music1: Data (w)
(AdLib Base) Relocatable in Range 0x100 – 0x3F8
(AdLib Base+1)
(AdLib Base+2)
(AdLib Base+3)
MIDI MPU-401
MIDI Data (r/w)
MIDI Status (r), Command (w)
(MIDI Base) Relocatable in Range 0x100 – 0x3FE
(MIDI Base+1)
Game Port
Game Port I/O
0x100 – 0x3F8
(Game Base +0 to Game Base +7) Relocatable in Range
AD1816A Plug and Play Device Configuration Registers
T he AD1816A may be configured according to the Intel/Microsoft Plug and Play Specification using the internal ROM. Alterna-
tively, the PnP configuration sequence may be bypassed using the “Alternate K ey Sequence” described in Appendix A.
T he operating system configures the AD1816A Plug and Play Logical Devices after system boot. T here are no “boot-devices” among
the Plug and Play Logical Devices in the AD1816A. Non-Plug and Play BIOS systems configure the AD1816A’s Logical Devices
after boot using drivers. Depending on BIOS implementations, Plug and Play BIOS systems may configure the AD1816A’s Logical
Devices before POST or after Boot. See the
Plug and Play ISA Specification Version 1.0a
for more information on configuration con-
trol. T o complete this configuration, the system reads resource data from the AD1816A’s on-chip resource ROM or optional
EEPROM and from any other Plug and Play cards in the system, and then arbitrates the configuration of system resources with a
heuristic algorithm. T he algorithm maximizes the number of
active
devices and the
acceptability
of their configurations.
T he system considers all Plug and Play logical device resource data at the same time and makes a conflict-free assignment of re-
sources to the devices. If the system cannot assign a conflict-free resource to a device, the system does not configure or activate the
device. All configured devices are activated.
T he system’s Plug and Play support selects all necessary drivers, starts them and maintains a list of system resources allocated to each
logical device. As an option, system resources can be reassigned at runtime with a Plug and Play Resource Manager. T he custom
setup created using the manager can be saved and used automatically on subsequent system boots.
Plug and Play Device IDs (embedded in the logical device’s resource data) provide the system with the information required to find
and load the correct device drivers. One custom driver, the AD1816A Sound System driver from Analog Devices, is required for cor-
rect operation. In the other cases (MIDI, Game Port), the system can use generic drivers. T able III lists the AD1816A’s Logical
Devices and compatible Plug and Play device drivers.
T able III. Logical Devices and Compatible Plug and Play Device Drivers
Logical Device Number
E mulated Device
Compatible (Device ID)
Device ID
0
1
2
Sound System
MIDI MPU401 Compatible
Game/Joystick Port
—
PNPB006
PNPB02F
ADS7180
ADS7181
ADS7182
T he configuration process for the logical devices on the AD1816A is described in the
Plug and Play ISA Specification Version 1.0a
(May 5, 1994
). T he specification describes how to transfer the logical devices from their start-up
Wait For Key
state to the
Config
state and how to assign I/O ranges, interrupt channels and DMA channels. See Appendix A for an example setup program and spe-
cific Plug and Play resource data.
T able IV describes in detail the I/O Port Address Descriptors, DMA Channels, Interrupts for the functions required for the
AD1816A Logical Device groups.