
AD1815
–40–
REV. 0
MIDI and MPU-401 Registers
T he AD1815 contains a set of ISA Bus registers (ports) that correspond to those used by the ISA bus MIDI audio interface cards.
T able X I lists the ISA Bus MIDI registers. T hese registers support commands and data transfers described i
n MIDI 1.0 Detailed
Specification and Standard MIDI Files 1.0,
1994, MIDI Manufacturers Association, PO Box 3173 La Habra, CA 90632-3173.
Table XI. MIDI ISA Bus Registers
Register Name
Address
MIDI Data (r/w)
MIDI Status (r), Command (w)
0x(MIDI Base) Relocatable in range 0x008 to 0x3F8
0x(MIDI Base+1)
0x(MIDI Base+1)
BIT
ST AT E
NAME
7
1
6
0
5
0
4
0
3
0
RESERVED
2
0
1
0
0
0
DRR
DSR
DSR (R)
Data Send Ready. When read, this bit indicates that you can (0) or cannot (1) write to the
MIDI Data register. (Full = 1, Empty = 0)
Data Receive Ready. When read, this bit indicates that you can (0) or cannot (1) read from the
MIDI Data register. (Unreadable = 1, Readable = 0)
MIDI Command. Write MPU-401 commands to bits [7:0] of this register.
DRR (R)
CMD [7:0] (W)
NOT ES
T he AD1815
only
supports the MIDI 0xFF (reset) and 0x3F (pass-through mode) commands. T he controller powers setup for intel-
ligent MIDI mode, but must be put in pass-through mode. T o start MIDI operations, send a reset command (0xFF) and then send
a pass-through mode command (0x3F). T he MIDI data register contains an acknowledge byte (0xFE) after each command transfer.
All commands return an ACK byte in “smart” mode.
Status commands (0xAx) return ACK and a data byte; all other commands return ACK .
All commands except reset (0xFF) are ignored in UART mode. No ACK bytes are returned.
“Smart” mode data transfers are not supported.
Game Port Registers
T he AD1815 contains a Game Port ISA Bus Register that corresponds to the game port described in the PnP specification.
Table XII. Game Port ISA Bus Registers
Register Name
Address
Game Port I/O
0x(Game Port Base+0 to Game Port Base+7
Relocatable in the range 0x100 to 0x3F8