Spotlight › Covox
Covox output
LPT DAC support in SOUND.DRV, with separate interrupt-driven and polled playback paths.
- 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
- CPUPCM sample in AL
- LPT2
OUT DX, ALDX = 378h in this example - Covox8-bit mono DACData register, base + 0
03 / Output selection
Output selection
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.
| MIDIRack on a 4.77 MHz PC | Sample rate | The window while it plays |
|---|---|---|
| Automatic, by interrupts | 6,214 Hz | updates |
| A rate chosen in Settings, by reading the timer | 6,520 Hz | waits |
4.77 MHz 8088 / 11,025 Hz output
One sample leaves about thirteen cycles
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.