Professional Documents
Culture Documents
Udio Ubsystem: Functional Description
Udio Ubsystem: Functional Description
A UDIO S UBSYSTEM
Functional Description
The entertainment audio subsystem provides 16-bit stereo audio support for CD-Audio,
Zoomed Video (ZV), Moving Picture Experts Group (MPEG)/TV, and entertainment
software compatible with industry standards. The ES1869 AudioDrive component
possesses an embedded microcontroller, OPL3 superset ESFM music synthesizer,
16-bit stereo wave analog-to-digital converter (ADC) and digital-to-analog converter
(DAC), 16-bit stereo music DAC, MPU-401 UART serial port, dual game port, full
Plug and Play (PnP) support, hardware master volume control, FS Zoom Video (ZV)
interface, DMA control logic with first in, first out (FIFO), and ISA bus interface logic.
The audio subsystem can capture and play back .WAV files.
By itself, the unit is capable of mono sound through a single speaker. When attached
to the Mobile 3500 Expansion Unit (M35EU), full stereo capabilities are available
through two acoustically enhanced speakers and a subwoofer.
All audio, including CPU-generated tones, keyboard beeps, audio from PC Card and
MPEG/ZV options, and audio from sound files, is played through the internal speakers,
or, if connected, headphones or external speakers. A programmable volume control
sets the audio output from the ES1869 to a selected value. A 1.5 W stereo amplifier
and equalizer circuit provides the power necessary to drive the line devices, speakers,
or earphones.
Equalizer
Mic In
Audio
Line In
M35EU
Amplifier
Aux. In
CD/DVD ROM
Speaker
Out
L.
Audio
AMP
EQ
PCSPKO
R.
Audio
AMP
EQ
Convenience
Base
Connector
Sub
Woofer
AMP
FDXO
Speaker
Off
X Aud
Line Out
Stereo
Audio Out
EQ
MIDI Audio In/Out
Joystick Read/Write
ES1869
ISA Bus
The TPA0102 audio interface and equalization circuitry are physically located on the
audio daughter card along with some supporting logic. The ES1869 audio controller
resides on the an audio only board that connects to the system board through the subISA connector. Audio information from the CD-ROM and PC Card subsystems is sent
to the audio controller through the ISA connector.
Audio I/O
The convenience base duplicates the following audio interfaces for external
components:
Joystick/MIDI Port: This interface is used for connecting either a joystick or MIDI
component.
Mono or stereo
8- or 16-bit
Signed or unsigned
DAC/ADC Configuration
The DAC/ADC used for PCM operation can be configured for compatible (common
sound board functionality) mode or set up for extended mode, which has performance
advantages over compatible mode. Table 7-1 lists the differences between compatible
and extended modes.
Table 7-1
Mode Differences
Function
Compatibility Mode
Extended Mode
The quality of audio is largely determined by two factors: resolution and sampling rate.
A 16-bit resolution provides more levels of amplitude for definition as opposed to 8
bits. A higher sampling rate provides more accurate digital representation of the audio
signal. The rule of thumb (based on the Nyquist theorem) dictates that the sampling
rate should be at least twice the highest frequency to be processed. For example, if 20
kHz is anticipated, then the sampling rate should be set to 40K per second or greater.
Depending on the mode used, the sampling rate can be constrained by the resolution
selected as indicated in the table above. Additionally, higher resolutions and sampling
rates require more storage space for a given period of audio recording. Recording audio
using 16-bit stereo resolution at a 44-kHz sampling rate takes up approximately 175
KB of hard drive space per second.
7 8
15 16
23 24
31
8-BIT Mono
Sample 1
Sample 2
Sample 3
Sample 4
Sample 5
Sample 6
8-BIT Stereo
Sample 1
Sample 1
Sample 2
Sample 2
Sample 3
Sample 3
(Left)
(Right)
(Left)
(Right)
(Left)
(Right)
0
16-BIT Mono
16-BIT Stereo
15 16
31
Sample 1
(Lo)
Sample 2
(Hi)
(Lo)
(Left Hi)
(Right Lo)
Sample 1
(Left Lo)
Sample 3
(Hi)
(Lo)
(Right Hi)
(Left Lo)
Sample 1
(Hi)
Sample 2
(Left Hi)
Time
FM Synthesis
The ES1869 component includes FM synthesis logic that supports the playback of
MIDI (.MID) data files. The FM synthesizer function is register-controlled and uses
frequency modulation to generate harmonics that will simulate the tone of musical
instruments.
MIDI (.MID) files do not contain audio information in the same way that .WAV files
do. In .MID files, audio data consists of note on/note off, tone type, and amplitude
information. Audio stored in the .MID file format has the benefit of taking up far less
storage space than audio stored as .WAV files 1.
A number of parameters affecting the generated sound are selectable or programmable.
These parameters including the following:
Waveform shape
FM Synthesis Cycles
The ES1869 component provides full FM synthesis support for playback of .MID data
files. Processing .MID files is handled primarily with write cycles to the ES1869. A
read cycle is used only for reading status. Note that if the succeeding data byte is meant
for the same location as the previous data byte, then the address does not need to be
rewritten.
A0
WR-/RD-
Data <7..0>
Address
Data
Address
or Data
The Joystick/MIDI interface of the optional expansion unit allows the connection of MIDI equipment to the system, enabling
the transfer of digital MIDI data between the system and MIDI equipment.
Table 7-2
General MIDI Melodic Instrument Map
Patch #Instrument
Patch #Instrument
Patch #Instrument
Patch #Instrument
33 Acoustic Bass
34 E. Bass - Finger
35 E. Bass - Pick
36 Fretless Bass
37 Slap Bass 1
38 Slap Bass 2
39 Synthesized Bass 1
40 Synthesized Bass 2
41 Violin
42 Viola
43 Cello
44 Contrabass
45 Tremelo Strings
46 Pizzicato Strings
47 Orchestral Harp
48 Timpani
49 String Ensemble 1
50 String Ensemble 2
51 Synthesized Strings 1
52 Synthesized Strings 2
53 Choir Aahs
54 Voice Oohs
55 Synthesized Voice
56 Orchestra Hit
57 Trumpet
58 Trombone
59 Tuba
60 Muted Trumpet
61 French Horn
62 Brass Section
63 Synthesized Bass 1
64 Synthesized Bass 2
65 Soprano Sax
66 Alto Sax
67 Tenor Sax
68 Baritone Sax
69 Oboe
70 English Horn
71 Bassoon
72 Clarinet
73 Piccolo
74 Flute
75 Recorder
76 Pan Flute
77 Blown Bottle
78 Shakuhachi
79 Whistle
80 Ocarina
81 Lead 1 - Square
82 Lead 2 - Sawtooth
83 Lead 3 - Calliope
84 Lead 4 - Chiff
85 Lead 5 - Charang
86 Lead 6 - Voice
87 Lead 7 - Fifth
88 Bass + Lead
89 Pad 1 - New Age
90 Pad 2 - Warm
91 Pad 3 - Polysynth
92 Pad 4 - Choir
93 Pad 5 - Bowed
94 Pad 6 - Metallic
95 Pad 7 - Halo
96 Pad 8 - Sweep
97 Rain
98 Sound track
99 Crystal
100 Atmosphere
101 Brightness
102 Goblins
103 Echoes
104 Sci Fi
105 Sitar
106 Banjo
107 Shamisen
108 Koto
109 Kalimba
110 Bag Pipe
111 Fiddle
112 Shanai
113 Tinker Bell
114 Agogo
115 Steel Drums
116 Woodblock
117 Taiko Drum
118 Melodic Tom
119 Synthesized Drum
120 Reverse Cymbal
121 Guitar Fret Noise
122 Breath Noise
123 Seashore
124 Bird Tweet
125 Telephone Ring
126 Helicopter
127 Applause
128 Gunshot
Table 7-3.
General MIDI Percussion Instrument Map
Note #Instrument
Patch #Instrument
Patch #Instrument
Patch #Instrument
59 High Timbale
60 Low Timbale
61 Low Bongo
62 Mute Hi Conga
63 Open Hi Conga
64 Low Conga
65 High Timbale
66 Low Timbale
67 High Agogo
68 Low Agogo
69 Cabasa
70 Maracas
71 Short Whistle
72 Long Whistle
73 Short Guiro
74 Long Guiro
75 Claves
76 High Wood Block
77 Low Wood Block
78 Mute Cuica
79 Open Cuica
80 Mute Triangle
81 Open Triangle
Register Programming
The audio subsystem can be made inactive using various methods, depending on
whether the intent is toward power management or freeing up system resources. The
system ROM includes firmware support for the audio subsystem.
The audio subsystem is controlled through I/O mapped registers. These registers are
classified as either for joystick/PCM control or for FM synthesis control.
Table 7-4
ES1869 Registers
Address [1]
Register
0201h
Joystick Control
02n0h-02nFh
PCM Processor
0388h-038Bh
FM Synthesizer
NOTE: [1] n = 2 for primary address (default), = 4 for secondary.
R/W
R/W
R/W
R/W
PCM Registers
The joystick/PCM functions are controlled through the I/O locations listed in Table 75.
The system allows reconfiguration to a secondary, tertiary, or quaternary base address
as follows:
Unlock address configuration register with a write (any value) to port FBh.
Write 00h to port E0h.
Write desired value of base address to bits <1,0> of port E1h.
Lock the configuration with a write (any value) to port F9h.
FUNCTION
7..3
2
1,0
Table 7-5
Joystick/PCM Registers
Address [1]
Register
0201h
Joystick Control
02n0h-02n3h
FM Synthesizer
02n4h
Mixer Address
02n5h
Mixer Data
02n6h
Reset Control (Write), Activity/Power Status (Read)
02n7h
Power Management
02n8h-02n9h
Reserved
02nAh
Read Buffer Input Data
02nBh
Reserved
02nCh
Command/Data (Write), Status (Read)
nD
02 h
Reserved
02nEh
Data Available Status
02nFh
FIFO I/O Address (Extended Mode)
NOTE: [1] n = 2 for primary address (default), = 4 for secondary.
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
RO
R/W
R/W
R/W
RO
R/W
BIT
FUNCTION
BIT
FUNCTION
7,6
5..1
0
Reserved.
Index Address (refer to Table 7-4).
MXD - Mixer Flag. When set, indicates
mixer register has been written to but not
processed.
7..0
Data
Table 7-6
Mixer Functions
Compatible
Index
Extended Index
Function
Reset Value
00h
04h
0Ah
0Ch
0Eh
22h
26h
28h
2Eh
00h
14h
1Ah
1Ch
1Eh
32h
36h
38h
3Eh
Mixer Reset
Voice Volume
Microphone Volume
ADC (Recording) Source
Stereo/Mono Switch
Master Volume
FM Volume
CD Volume
Line Volume
88h
00h
00h
00h
88h
88h
00h
00h
The mixer functions have the same mapping for compatible and extended modes. In
compatible mode, level control is confined to a 3-bit resolution per channel (Mic mix
has 2 bits). In extended mode, a 4-bit resolution is used.
BIT
FUNCTION
BIT
7..5
4
3..1
0
7..4
3..0
FUNCTION
Voice Volume Left
Voice Volume Right
BIT
BIT
7..3
2,1
0
FUNCTION
Reserved
Mic Volume
Reserved
7..4
3..0
FUNCTION
Mic Volume Left
Mic Volume Right
BIT
FUNCTION
BIT
FUNCTION
7..3
Reserved
7..3
2..0
2,1
ADC Source:
00 = Microphone (default)
01 = CD
10 = Microphone
11 = Line
Reserved
Reserved.
ADC Source :
000 = Mic
001 = L - mic
R - master volume l &
010 = R
011 = CD
100 = Aout
101 = Mic
110 = Record mixer
111 = Line input
Master volume input
Reserved.
NOTE: Some sound adapters use bit <5..3> of this register for filter control. On the
ES1869, this bit has no effect.
BIT
BIT
7..5
4
3..1
0
FUNCTION
Master Volume Left
Reserved
Master Volume Right
Reserved
7..4
3..0
FUNCTION
Master Volume Left
Master Volume Right
BIT
BIT
7..5
4
3..1
0
FUNCTION
FM Volume Left
Reserved
FM Volume Right
Reserved
7..4
3..0
FUNCTION
FM Volume Left
FM Volume Right
BIT
BIT
7..5
4
3..1
0
FUNCTION
CD Volume Left
Reserved
CD Volume Right
Reserved
7..4
3..0
FUNCTION
CD Volume Left
CD Volume Right
BIT
BIT
7..5
4
3..1
0
FUNCTION
Line Volume Left
Reserved
Line Volume Right
Reserved
7..4
3..0
FUNCTION
Line Volume Left
Line Volume Right
FUNCTION
Activity Flag 2 (RO). When read as 0, indicates read or write has occurred to an FM
port (02x0h-02x3h, 02x8h, 02x9h, 0388h-03Bh)
Activity Flag 1 (RO). When read as 0, indicates a read has occurred to ports 02xCh
and/or 02xEh.
Activity Flag 0 (RO). When read as 0, indicates one or more of the following actions
have occurred:
DMA read/write to 02n4h, 02n5h
DMA write to 02n6h
DMA read of 02nAh
DMA write to 02nCh
DMA read/write to 02nFh
Reserved.
Power Down Status (RO). When read as 0, the digital section of the ES1869 is
powered down.
MIDI Mode (RO). When read as 0, a MIDI command (30h, 34h, or 35h) is being
processed.
FIFO Reset (R/W)
Compatibility Mode: Dont care
Extended Mode:
0 = Release FIFO from reset.
1 = Hold FIFO in reset.
Software Reset (R/W):
0 = Release ES1869 from reset.
1 = Hold ES1869 in reset.
6
5
4
3
2
1
FUNCTION
7,6
5
4
Reserved - read 0s
FM Reset. When cleared (0), forces reset to the FM logic.
FM Wakeup Control.
0 = Wakeup on FM activity is disabled
1 = Wakeup on FM activity is enabled
Power Down Control.
00 = ES1869 full on
01 = Complete power down (analog and digital)
11 = Partial power down (digital down, analog up)
GPO1 - Not used
GPO0 - Used to control the power amp of the system unit internal
speakers.
0 = Amp power ON
1 = Amp power OFF
3,2
1
0
FUNCTION
5
4
3
2
1
Table 7-7
ESS 1869 Commands
Command
Function
Mode
10h
11h
14h
15h
1Ch
1Dh
20h
21h
24h
25h
2Ch
2Dh
30h, 31h
34h, 35h
38h
40h
41h
42h
48h
64h
65h
66h
67h
6Ah
6Bh
6Eh
6Fh
74h
75h
76h
77h
7Ah
7Bh
80h
90h
91h
98h
Comp.
Ext.
Comp.
Ext.
Comp.
Ext.
Comp.
Ext.
Comp.
Ext.
Comp.
Ext.
Comp.
Comp.
Comp.
Comp.
Ext.
Ext.
Comp.
Ext.
Ext.
Ext.
Ext.
Ext.
Ext.
Ext.
Ext.
Comp.
Comp.
Comp.
Comp.
Comp.
Comp.
Comp.
Comp.
Comp.
Comp.
Continued
Function
Mode
99h
Axh, Bxh, Cxh
C0h
C1h
C6h
C7h
D0h
D1h
D3h
D4h
D5h
D6h, D7h
D8h
Comp.
Ext.
Ext.
Ext.
Ext.
Ext.
Comp.
Comp.
Comp.
Comp.
Ext.
Ext.
Comp.
FUNCTION
6..0
1,0
FUNCTION
Reserved.
DMA Playback - Reserved.
DMA Record Monitor:
0 = Record Monitor disable
1 = Record Monitor enable
Program Type:
10 = Mono
01 = Stereo
FUNCTION
Processor IRQ:
0 = IRQ generation is disabled (extended mode)
1 = IRQ generation is enabled (compatibility mode)
DMA Counter Overflow IRQ:
0 = IRQ not generated
1 = IRQ generated for DMA counter overflow
FIFO Half-Empty IRQ:
0 = IRQ not generated
1 = IRQ generated for FIFO transitions (ext. mode)
IRQ Enable:
0 = All IRQs disabled
1 = IRQ generation is enabled
Interrupt Select:
0000= IRQ2, 9, all others
0101 = IRQ5 (default)
1010 = IRQ7
1111 = IRQ10
3..0
FUNCTION
4
3..0
Table 7-8
DAC/ADC Configuration Register Loading
Format
Register B6h*
Register B7h
51h, D0h
71h, F0h
51h, D4h
71h, F4h
51h, 98h
71h, B8h
51h, 9Ch
71h, BCh
Table 7-9
FM Synthesis Mapping
Address
Register
R/W
0388h
0388h
0389h
038Ah
038Bh
WO
RO
WO
WO
WO
Table 7-10 lists the control registers for FM synthesis. Refer to the data sheet for the
ES1869 for detailed register information.
Table 7-10
FM Synthesis Control Registers
Address
Bank 0 Function
Bank 1 Function
01h
Test - all 0s
02h
Timer 1
03h
Timer 2
04h
Timer Mask/Timer Start
05h
Not Used
08h
Key Scale (KSR) # Determiner
20h-35h
AM*, VibratoVib, EG Type, KSR, Mult.
40h-55h
Key Scale Level, Tone Level
60h-75h
Attack Rate, Decay Rate
80h-95h
Sustain Level, Release Rate
A0h-A8h
Freq. Number
B0h-B8h
Key On, Block Octave, Freq. No.
BDh
Depth. of AM*/Vibrato, Rhythm Mode
C0h-C8h
Stereo Left/Right, Feedback, Conn.
E0h-F5h
Wave Select
* Tremolo
** Oscillator configuration
Test - all 0s
Not Used
Not Used
4-Operator Configuration.
4-Operator Enable
Not Used
Same as bank 0
Same as bank 0
Same as bank 0
Same as bank 0
Same as bank 0
Same as bank 0
Not Used
Same as bank 0
Same as bank 0
Table 7-11
Audio Subsystem Specifications
Parameter
Input Level:
Microphone
Line
Input Impedance:
Microphone
Line
Internal Microphone Sensitivity
Output Power (both channels)
Headphone Output Impedance
Minimum
Nominal
Maximum
10 mV
0.5 V
125 mV
3.00 V
4 k ohms
20 k ohms
-50db
0.45 watts rms.
@ 8 ohms
32 ohms
(recommended)
8 ohms