Skip to content

ValleyBell/qsound-hle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Capcom QSound HLE

This repository contains various files that were used in order to make a proper high-level emulator for Capcom QSound.

The QSound chip (labelled DL-1425) consists of a DSP16A digital signal processor with a mask-programmed ROM. It was used commonly in Capcom's CP System II system.
It supports playback of 16 PCM channels (loopable) and 3 ADPCM channels (one-shot). It supports FIR filters and echo to enhance sound quality. The DSP program was written by Brian Schmidt and shares similarities (such as the ADPCM algorithm) with his other famous DSP, the BSMT2000.

Files

  • qsound_dl-1425.asm Disassembly of the program ROM.
  • old/qsound_vb.c/h A pretty straight port of the QSound program to C. Reference offsets of the original program ROM are noted in comments.
    The code originates from libvgm and was slightly modified in order to remove libvgm-dependencies.
  • qsound.c/h New emulator written from scratch by ctr. Designed to be fast and produce accurate output.
  • patents/ The original QSound patents. Contains interesting information on the algorithms. They should have expired by now.

Notes

  • There is no known game that uses the ADPCM channels.
  • The QSound program supports two different modes. The second mode features an additional filter. No game is known to use the second mode.
  • There is an alternate pan table at 0x140-0x160 in the ROM. Using it will disable the filter and produce a linear panning transition.

About

high-level emulation for Capcom QSound

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published