← All spotlightsPrograms / Features

Spotlight › Covox

Covox output

LPT DAC support in SOUND.DRV, with separate interrupt-driven and polled playback paths.

MIDIRack
The MIDIRack window on VGA starting to play BATTLE1.MID. The black Now Playing display reads output Covox (LPT DAC), and the Status pane says Covox at 378h, 8-bit DAC synth at 16,124 Hz, and Covox, click or Space to pause. The channel rack lists sixteen instruments, Brass Section, String Ensemble, Distortion Gtr, Electric Bass and Drum Kit among them.
MIDIRack routed to the LPT DAC.
Output
8-bit mono DAC
Port selection
LPT1-LPT3
PCM applications
4

01 / LPT DAC support

LPT DAC support

Select the Covox output and its LPT port in Control Panel > Sound. The driver can enumerate printer ports but cannot identify a passive DAC on them; selection is explicit.

Unlike the DMA transfer modes documented in Creative's Sound Blaster Hardware Programming Guide, this path requires a CPU write for each sample.

02 / Port selection and routing

Port selection and routing

SOUND.DRV exposes LPT1-LPT3 when the corresponding ports are present. On Hercules systems, the display adapter's printer port can precede a separate LPT card in BIOS enumeration.

MIDIRack, Tracker, Audio and Video Player share this output path. Selecting Covox changes PCM routing while leaving AdLib FM available.

Port routing

The BIOS order selects the connector

LPT13BChHercules printer port
LPT2 / selected378hAdd-on parallel card
  1. CPUPCM sample in AL
  2. LPT2OUT DX, ALDX = 378h in this example
  3. Covox8-bit mono DACData register, base + 0
Example BIOS assignment documented by the Covox driver. LPT numbering follows the BIOS table; it is not a fixed mapping to these addresses. Functional routing diagram.

03 / Output selection

Output selection

Control Panel
The Control Panel's Sound page. Four rows: PC Speaker, AdLib, Sound Blaster (greyed) and Covox, which is selected, with three small buttons after it: LPT1 selected, LPT2 and LPT3 greyed. A Test button sits underneath.
Detected LPT ports and explicit output selection.
Tracker
The Tracker window playing BEVERLY.MOD, Beverly Hills Cop. Its display reads 8.0 kHz, Covox, Level 4, and the status line at the bottom says Covox 8000 Hz. A small spectrum shows green bars.
Tracker rate selected for the captured machine; XT measurements are listed separately.

04 / XT playback budget

XT playback budget

COVBENCH recorded 420 cycles per sample for the interrupt path at 11,025 Hz on MartyPC's 4.77 MHz 5150 model. With approximately 433 cycles between samples, output consumes 97% of the interval before synthesis or desktop work.

MIDIRack can instead poll the timer and emit due samples. Its recorded rates are below; the polled path suspends window updates. Tracker remained interrupt-driven and reached 5,512 Hz with BEVERLY.MOD on the same XT model. These are application-specific emulator measurements, not DAC hardware limits.

Sample rates MIDIRack holds through a Covox on a 4.77 MHz IBM PC
MIDIRack on a 4.77 MHz PCSample rateThe window while it plays
Automatic, by interrupts6,214 Hzupdates
A rate chosen in Settings, by reading the timer6,520 Hzwaits

4.77 MHz 8088 / 11,025 Hz output

One sample leaves about thirteen cycles

About 97% of the intervalAbout 13 cycles remain
Interval calculated as 4,770,000 / 11,025, approximately 433 cycles. COVBENCH recorded 420 cycles per sample at this rate on MartyPC's 5150 model; see the sound specification, section 34; rates and work vary by application.

05 / Supported device

Supported device

The output is mono Covox-compatible LPT DAC. Stereo-on-1 and Disney Sound Source are not implemented. Application audio is exclusive; a system beep is not mixed over a playing stream.

06 / Select Covox

Select Covox

Attach SOUND.DRV if it is not already loaded, then choose the connected LPT port. The source tree's make xt-covox target supplies the corresponding 86Box test configuration.