Short definitions of the technical terms that come up on this site, mostly from getting PCI sound cards working on a modern PC. Posts link straight to the entry they need. I’ll add to it as new terms come up.
8237 DMA controller
The chip the original IBM PC used for DMA (direct memory access): moving data between memory and a card without the CPU copying every byte. The PC AT added a second one, for eight channels in all: 0 to 3 for 8-bit transfers and 5 to 7 for 16-bit. A Sound Blaster usually uses channel 1, and a 16-bit card such as the Sound Blaster 16 adds a 16-bit channel, usually 5. To play a digitised sound, a DOS game programs this controller to feed samples to the card.
See also: Distributed DMA, PC/PCI, BLASTER variable
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?
BLASTER variable
A DOS environment variable that tells games and setup programs where to find a Sound Blaster, for example SET BLASTER=A220 I5 D1 T4. A is the I/O address, I the IRQ, D the 8-bit DMA channel, H the 16-bit DMA channel if the card has one, and T the card type. Some games read it; others ask during setup instead.
See also: I/O port, IRQ, 8237 DMA controller
Distributed DMA (DDMA)
A chipset feature for PCI sound cards. When a game programmed the old 8237 DMA controller, the chipset passed those writes on to the PCI card, which then did the transfer itself. Among Intel chipsets, it only ever existed in the PIIX3 and PIIX4 southbridges of the mid-to-late 1990s.
See also: PC/PCI, 8237 DMA controller
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Dell OptiPlex 380
DPMI host
DOS Protected Mode Interface: a standard way for a DOS program to run in protected mode, with access to all of the PC’s memory rather than just DOS’s first megabyte, while still calling DOS. The DPMI host is the program that provides it. Many protected-mode games come with a DOS extender, such as DOS/4GW, which uses a DPMI host if one is loaded and otherwise brings its own. Sound Blaster emulators like SBEMU work through a particular host, so a game that brings its own can slip past them.
See also: TSR
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?
FM synthesis
How most DOS games play music on a sound card: a Yamaha chip builds each instrument by combining simple waveforms. The AdLib card used the OPL2 (YM3812), and later Sound Blasters used the OPL3 (YMF262). Games find the chip at I/O port 388h. Some PCI sound cards, like the Yamaha YMF724, have real Yamaha FM hardware of their own.
See also: I/O port, Legacy mode (PCI sound cards)
Comes up in: Resound 2 OPL3, Yamaha YMF724, Why Don’t PCI Sound Cards Work on a Modern PC?
I/O port
An address the CPU uses to talk to hardware directly, separate from memory. ISA sound cards sat at fixed ports: 220h is the usual Sound Blaster address (the h means hexadecimal), and 388h is the FM chip.
See also: Legacy mode (PCI sound cards), Positive decode, Subtractive decode
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Finding the Fastest Possible DOS PC
IRQ
Interrupt request: a signal a card uses to get the CPU’s attention, for example when it has finished playing a block of sound. A Sound Blaster usually uses IRQ 5 or 7, and the game has to know which. On ISA, each card had its own line. PCI cards share interrupts that the BIOS assigns, so getting a PCI card’s interrupt to the IRQ a DOS game expects is a problem of its own.
See also: BLASTER variable
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Finding the Fastest Possible DOS PC
ISA
Industry Standard Architecture: the expansion bus of the IBM PC, 8-bit from 1981 and 16-bit from the PC AT in 1984. An ISA card sat at fixed I/O addresses, usually set with jumpers, with its own IRQ and DMA wires running to the motherboard. DOS sound was designed around that arrangement. PCs phased ISA slots out at the end of the 1990s.
See also: I/O port, IRQ, 8237 DMA controller
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?
Legacy mode (PCI sound cards)
A setting on late-1990s PCI sound cards that makes the card also answer at the old Sound Blaster and FM addresses (220h and 388h), as an ISA card would. It exists purely for backwards compatibility. DOS games were still a big reason to buy a sound card at the time, and they only knew how to find a Sound Blaster at those fixed addresses. It’s usually switched on by a small DOS utility at boot. Not to be confused with Intel’s PCI Legacy Mode, which is a chipset feature.
See also: PCI Legacy Mode, I/O port
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Finding the Fastest Possible DOS PC
PC/PCI
The other chipset route to DMA for PCI sound cards: an extra pair of request and grant signals wiring the card to the chipset, so it could take part in the old 8237 DMA scheme. Intel’s chipsets dropped it after the ICH5, in 2003.
See also: Distributed DMA, 8237 DMA controller
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Dell OptiPlex 380
PCH
Platform Controller Hub: Intel’s name for its chipset since the 5-series in 2009. It handles most of the PC’s I/O, including USB, SATA and the PCI Express root ports.
See also: Root port, PCI Legacy Mode
Comes up in: Finding the Fastest Possible DOS PC
PCI Legacy Mode
Intel’s name for a PCH feature that lets old PCI cards work behind a PCIe-to-PCI bridge. Both the chipset’s root port and the bridge act as subtractive PCI-to-PCI bridges, so legacy accesses fall through to the cards behind them. On the chipset side it’s a single bit, “Subtractive Decode Enable”, in each root port. Intel documents it in the 8-series datasheet (section 5.2.2), and the 100-series datasheet says it’s no longer supported.
See also: Subtractive decode, Root port, PCIe-to-PCI bridge, PCH, Legacy mode (PCI sound cards)
Comes up in: Finding the Fastest Possible DOS PC, Supermicro X10SAE
PCIe-to-PCI bridge
A chip that turns a PCI Express link into a PCI bus, so old PCI cards can run in a modern PC. Some motherboards have one built in to feed their PCI slots (the Supermicro X10SAE uses an IDT 89HPEB383). Otherwise, an adapter card with one, such as the ASMedia ASM1083, plugs into a PCIe slot. For DOS sound, the bridge has to support subtractive decode, and not all of them do.
See also: Subtractive decode, Root port, PCI Legacy Mode
Comes up in: I made 3Dfx Voodoo2 work on a modern PC!, Why Don’t PCI Sound Cards Work on a Modern PC?, Finding the Fastest Possible DOS PC, Supermicro X10SAE
Positive decode
The normal way a device or bridge decides which accesses are its own: it claims only the address ranges it’s been given, usually by the BIOS at boot. Anything outside those ranges passes it by. That’s why a DOS game’s write to 220h never reaches a PCI card the BIOS put somewhere else.
See also: Subtractive decode, I/O port
Comes up in: Finding the Fastest Possible DOS PC
Root port
Where a PCI Express link starts: a port on the chipset (or the CPU) that a slot or an onboard device hangs off. On Intel’s 8-series chipsets, each root port has its own Subtractive Decode Enable bit.
See also: PCI Legacy Mode, PCH, PCIe-to-PCI bridge
Comes up in: Finding the Fastest Possible DOS PC
Sound Blaster
Creative Labs’ line of sound cards, first released in 1989, whose design became the standard DOS games were written for. A game talks to a Sound Blaster directly: through I/O ports (usually 220h), an IRQ (usually 5 or 7) and a DMA channel (usually 1), with music from a Yamaha FM chip at 388h. Most later sound cards, ISA and PCI, copied that interface so games would work with them.
See also: BLASTER variable, FM synthesis, Legacy mode (PCI sound cards)
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Finding the Fastest Possible DOS PC
Subtractive decode
The opposite of positive decode: a bridge that decodes subtractively claims any access that nothing else claimed, and forwards it on. Older PCs used it to reach the ISA bus, where cards sat at fixed addresses the PCI side knew nothing about. For a PCI sound card in a modern PC, it’s what lets a game’s write to 220h fall through the chipset and the PCIe-to-PCI bridge to the card. Both of those hops need it switched on.
See also: Positive decode, PCI Legacy Mode, PCIe-to-PCI bridge
Comes up in: Finding the Fastest Possible DOS PC
TSR
Terminate and stay resident: a DOS program that loads, leaves part of itself in memory and returns to the prompt, so it keeps working in the background while other programs run. Sound card drivers and set-up utilities often work this way, and so do Sound Blaster emulators such as SBEMU.
See also: DPMI host
Comes up in: Why Don’t PCI Sound Cards Work on a Modern PC?, Finding the Fastest Possible DOS PC