YMF740C (DS-1L) is a high performance audio controller for the PCI Bus. DS-1L consists of two separated
functional blocks. One is the PCI Audio block and the other is the Legacy Audio block. PCI Audio block
allows Software Driver to handle maximum of 41 concurrent audio streams with the Bus Master DMA engine.
The PCI Audio Engine converts the sampling rate of each audio stream and the streams are mixed without
utilizing the CPU or causing system latency. By using the Software Driver from YAMAHA, PCI Audio
provides 32-voice XG wavetable synthesizer with Reverb and variation. It also supports DirectSound hardware
accelerator, Downloadable Sound (DLS) and DirectMusic accelerator.
Legacy Audio block supports FM Synthesizer, Sound Blaster Pro, MPU401 UART mode and Joystick
function in order to provide hardware compatibility for numerous PC games on real DOS without any software
driver. To achieve legacy DMAC compatibility on the PCI, DS-1L supports PC/PCI protocols.
DS-1L supports the connection to AC’97 which provides high quality DAC, ADC and analog mixing.
FEATURES
• PCI 2.1 Compliant
• PC’97/PC’98 specification Compliant
• PCI Bus Power Management rev. 1.0 Compliant
(Support D0, D2 and D3 state)
• PCI Bus Master for PCI Audio
True Full Duplex Playback and Capture with
different Sampling Rate
Maximum 32-voice XG capital Wavetable
Synthesizer including GM compatibility
DirectSound Hardware Acceleration
DirectMusic Hardware Acceleration
Downloadable Sound (DLS) level-1
• Supports PC/PCI DMA for legacy DMAC (8237)
emulation
• Legacy Audio compatibility
FM Synthesizer
Hardware Sound Blaster Pro compatibility
MPU401 UART mode MIDI interface
Joystick
• Supports AC’97 Interface (AC-Link)
• Hardware Volume Control
• Single Crystal operation (24.576MHz)
• 5V Power supply for I/O. 3.3V Power supply for
Internal core logic
• 144-pin LQFP (YMF740C-V)
GENERAL MIDI logo is a trademark of Associat ion of Musical Electronics Industry (AMEI),
and indicates GM system level 1 Compliant.
PCICLKIPPCI Clock
RST#IPReset
AD[31:0]IOPtrAddress / Data
C/BE[3:0]#IOPtrCommand / Byte Enable
PARIOPtrParity
FRAME#IOPstrFrame
IRDY#IOPstrInitiator Ready
TRDY#IOPstrTarget Ready
STOP#IOPstrStop
IDSELIPID Select
DEVSEL#IOPstrDevice Select
REQA#OPPCI Request
GNTA#IPPCI Grant
PCREQ#OPtrPC/PCI Request
PCGNT#IPtrPC/PCI Grant
PERR#IOPstrParity Error
SERR#OPodSystem Error
INTA#OPodInterrupt signal output for PCI bus
2. Legacy Device Interface (16-pin)
nameI/Otypesizefunction
IRQ5OTtr12mAInterrupt5 of Legacy Audio
It is directly connected to the interrupt signal of
System I/O chip.
IRQ7OTtr12mAInterrupt7 of Legacy Audio
IRQ9OTtr12mAInterrupt9 of Legacy Audio
IRQ10OTtr12mAInterrupt10 of Legacy Audio
IRQ11OTtr12mAInterrupt11 of Legacy Audio.
GP[3:0]IA-Game Port
GP[7:4]ITup-Game Port
GREFIA-Reference for Game Port
RXDITup-MIDI Data Receive
TXDOT3mAMIDI Data Transfer
-3-
January 14, 1999
YMF740C
3. AC’97 Interface (6-pin)
nameI/OTypeSizefunction
CRST#OT6mAReset signal for AC’97
CMCLKOC-Master Clock of AC link (24.576MHz) and
CBCLKIT-AC-link: Bit Clock for AC’97 audio data
CSDOOT6mAAC-link: AC‘97 Serial audio output data
CSDIIT-AC-link: AC’97 Serial audio input data
CSYNCOT6mAAC-link: Synchronized signal
4. Miscellaneous (14-pin)
nameI/Otypesizefunction
VOLUP#ITup-Hardware Volume (Up)
VOLDW#ITup-Hardware Volume (Down)
XI24IC-24.576 MHz Crystal
XO24OC2mA24.576 MHz Crystal
TEST[7:4,2:0]#ITup-Test pins (Do not connect externally)
TEST3#IOTup3mATest pin (Connect to ground)
LOOPF[1:0]---Capacitor of PLL
5. Power Supply (39-pin)
nameI/Otypesizefunction
PVDD[5:0]---Power supply for PCI Bus Interface (+5.0)
PVSS[14:0]---Ground for PCI Bus Interface
LVDD---Power supply for PLL Filter (+3.3)
LVSS---Ground for PLL Filter
VDD3[3:0]---Power supply (+3.3V)
VDD5[3:0]---Power supply (+5.0V)
VSS[7:0]---Ground
TYPE
T : TTL A : AnalogPtr : Tri-State PCI
Ttr : Tri-State TTL C : CMOSPstr : Sustained Tri-Sate PCI
Tup : Pull up (Max. 300kohm) TTL P : PCIPod : Open Drain PCI
Note) All pins except the above pins are NC (No Connection) pins. Do not connect externally.
-4-
January 14, 1999
YMF740C
BLOCK DIAGRAM
PC-PCI
PCI Bus
Interface
Legacy Audio
SB Pro
FM
MPU401
Joystick
BUS Master
DMA Controller
Memory
Rate Converter
/ Mixer
AC'97
Interface
PCI Audio
XG Synthesizer
Direct Sound Acc.
Wave In/Out
-5-
January 14, 1999
YMF740C
SYSTEM DIAGRAM
DirectX
Application
DLS
Appllication
VxD
DirectSound
Win32API
Soft
Effect
HAL
DirectSound
VxD for PCI Audio
Win16API
MMSystem
Device
MidiOut
Device
WaveOut
Device
WaveIn
MidiIn
Device
Device
MidiOut
DRV for PCI Audio
Engine
XG/DLS
DRV for Legacy
I/O Traps
PCI Audio
DS-1L Slot Manager (Up to 32-sound)
YMF740C(DS-1L)
VxD for Legacy
MPU401
VM
DOS
I/O Traps
Msjstck.drv
FMSB Pro
Vjoyd.vxd
Joystick
January 14, 1999
-6-
YMF740C
FUNCTION OVERVIEW
1. PCI INTERFACE
DS-1L supports the PCI bus interface and complies to PCI revision 2.1.
1111Memory Write and Invalidate (not support)
DS-1L does not assert DEVSEL# when accessed with commands that are indicated as (not supported) or
reserved.
1-1-2. Master Device Mode
C/BE[3:0]#Command
0110Memory Read
0111Memory Write
When DS-1L becomes a Master Device, it generates only memory write and read cycle commands.
-7-
January 14, 1999
YMF740C
1-2. PCI Configuration Register
In addition to the Configuration Register defined by PCI Revision 2.1, DS-1L provides proprietary PCI
Configuration Registers in order to control legacy audio functio n, such as FM Synthesizer, Sound Blaster Pro,
MPU401 and Joystick. These additional registers are configured by BIOS or the configuration software
from YAMAHA Corporation.
The following shows the overview of the PCI Configuration Register.
Offsetb[31..24]b[23..16]b[15..8]b[7..0]
00-03hDevice IDVendor ID
04-07hStatusCommand
08-0BhBase Class CodeSub Class CodeProgramming IFRevision ID
0C-0FhReservedHeader TypeLatency TimerReserved
10-13hPCI Audio Memory Base Addres s
14-2BhReserved
2C-2FhSubsystem IDSubsystem Vendor ID
30-33hReserved
34-37hReservedCap Pointer
38-3BhReserved
3C-3FhMaximum LatencyMinimum GrantInterrupt PinInterrupt Line
40-43hExtended Legacy Audio ControlLegacy Audio Control
44-47hSubsystem ID WriteSubsystem Vendor ID Write
48-4BhDS-1L Power ControlDS-1L Control
4C-4FhReservedReserved
50-53hPower Management CapabilitiesNext Item PointerCapability ID
54-57hReservedPower Management Control / Status
58-5BhReservedACPI Mode
5C-FFhReserved
Reserved registers are hardwired to “0”. All data written to these registers are discarded. The values
read from these registers are all zero.
DS-1L can be accessed by using any bus width, 8-bit, 16-bit or 32-bit.
-8-
January 14, 1999
YMF740C
00 - 01h: Vendor ID
Read Only
Default: 1073h
Access Bus Width: 8, 16, 32-bit
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
Vendor ID
b[15:0]........Vendor ID
This register contains the YAMAHA Vendor ID registered in Revision 2.1. This register is hardwired to
1073h.
02 - 03h: Device ID
Read Only
Default: 000Ch
Access Bus Width: 8, 16, 32-bit
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
Device ID
b[15:0]........Device ID
This register contains the Device ID of DS-1L. This register is hardwired to 000Ch.
This bit enables DS-1L to response to Memory Space Access.
“0”: DS-1L ignores Memory Space Access.(default)
“1”: DS-1L responds to Memory Space Access.
b2................BME: Bus Master Enable
This bit enables DS-1L to act as a master device on the PCI bus.
“0”: Do not set DS-1L to be the master device.(default)
“1”: Set DS-1L to be the master device.
b6................PER: Parity Error Response
This bit enables DS-1L responses to Parity Error.
“0”: DS-1L ignores all parity errors.
“1”: DS-1L performs error operation when DS-1L detects a parity error.
-9-
January 14, 1999
YMF740C
b8................SER: SERR# Enable
This bit enables DS-1L to drive SERR#.
“0”: Do not drive SERR# .(default)
“1”: Drives SERR# when DS-1L detects an Address Parity Error on normal target cycle or a Data Parity
This bit indicates that DS-1L supports the capability register. This bit is read only. When 58-59h :
ACPI Mode register, ACPI bit is “0”, the bit is “1”. When ACPI bit is “1”, the bit is “0”.
b8................DPD: Data Parity Error Detected
This bit indicates that DS-1L detects a Data Parity Error during a PCI master cycle.
b[10:9] ........DEVT: DEVSEL Timing
This bit indicates that the decoding speed of DS-1L is Medium.
b11..............STA: Signaled Target Abort
This bit indicates that DS-1L terminates a transaction with Target Abort during a target cycle.
b12..............RTA: Received Target Abort
This bit indicates that a transaction is terminated with Target Abort while DS-1L is in the master memory
cycle.
b13..............RMA: Received Master Abort
This bit indicates that a transaction is terminated with Master Abort while DS-1L is in the master memory
cycle.
b14..............SSE: Signaled System Error
This bit indicates that DS-1L asserts SERR#.
b15..............DPE: Detected Parity Error
This bit indicates that DS-1L detects Address Parity Error or Data Parity Error during a transaction.
January 14, 1999
-10-
YMF740C
08h: Revision ID
Read Only
Default: 03h
Access Bus Width: 8, 16, 32-bit
b7b6b5b4b3b2b1b0
Revision ID
b[7:0]..........Revision ID
This register conta i ns the revision number of DS-1L. This register is hardwired to 03h.
09h: Programming Interface
Read Only
Default: 00h
Access Bus Width: 8, 16, 32-bit
b7b6b5b4b3b2b1b0
Programming Interf ace
b[7:0]..........Programming Interface
This register indicates the programming interface of DS-1L. This register is hardwired to 00h.
0Ah: Sub-class Code
Read Only
Default: 01h
Access Bus Width: 8, 16, 32-bit
b7b6b5b4b3b2b1b0
Sub-class Code
b[7:0]..........Sub-class Code
This register indicates the sub-class of DS-1L. This register is hardwired to 01h. DS-1L belongs to the
Audio Sub-class.
0Bh: Base Class Code
Read Only
Default: 04h
Access Bus Width: 8, 16, 32-bit
b7b6b5b4b3b2b1b0
Base Class Code
b[7:0]..........Base Class Code
This register indicates the base class of DS-1L. This register is hardwired to 04h. DS-1L belongs to
the Multimedia Base Class.
This register indicates the physical Memory Base address of the PCI Audio registers in DS-1L. T he base
address can be located anywhere in the 32-bit address space. Data in the DS-1L register is not
prefetchable.
DS-1L needs 32768-bytes of memory address space.
---------------
MBA (higher)
-12-
January 14, 1999
YMF740C
2C-2Dh: Subsystem Vendor ID
Read Only
Default: 1073h
Access Bus Width: 8, 16, 32-bit
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
Subsystem Vendor ID
b[15:0]........Subsystem Vendor ID
This register contains the Subsystem Vendor ID. In genera l, this ID is used to distinguish adapters or
systems made by different IHVs using the same chip by the same vendor. This register is read only. To
write the IHV’s Vendor ID, use 44-45h (Subsystem Vendor ID Write Register).
The default value is the YAMAHA's Vendor ID, 1073h. IHVs must change this ID to their Vendor ID in
the BIOS POST routine.
2E-2Fh: Subsystem ID
Read Only
Default: 000Ch
Access Bus Width: 8, 16, 32-bit
b15b14b13b12b11b10b9b8b7b6b5b4b3b2b1b0
Subsystem ID
b[15:0]........Subsystem ID
This register contains the Subsystem ID. In general, this ID is used to distinguish adapters or systems
made by different IHVs using the same chip by the same vendor. This register is read only. To write
the IHV's Device ID, use 46-47h (Subsystem ID Write Register).
The default value is the YAMAHA's Device ID, 000Ch. IHVs must change this ID to their ID in the
BIOS POST routine.
34h: Capability Register Pointer
Read Only
Default: 50h
Access Bus Width: 8, 16, 32-bit
b7b6b5b4b3b2b1b0
Capability Register Pointer
b[7:0]..........Capability Register Pointer
This register indicates the offset address of the Capabilities register in the PCI Configuration register
when 58-59h: ACPI Mode register, ACPI bit is “0”. DS-1L provides PCI Bus Power Management
registers as the capabilities. The Power Management registers are mapped to 50h - 57h in the PCI
Configuration register, and this register indicates “50h”.
When ACPI bit is “1”, this register indicates “00h”.