DSIK Config Format

From ModdingWiki
Jump to navigation Jump to search
DSIK Config Format
Format typeConfiguration
StoringSound
Games

The DSIK Config Format is the configuration file format used by the Digital Sound Interface Kit by Carlos Hasan. This was a C and Pascal library for game authors to simplify sound card programming.

File format

Data type Name Description
UINT8 card Sound card: 0=none, 1=SB, 2=SB2.01, 3=SB Pro, 4=SB16, 5=GUS
UINT8 flags ! Unknown - could be RAM_* types in DSIK sound.h?
UINT16LE addrIO Sound card IO address (e.g. 0x220)
UINT8 irq Sound card IRQ (e.g. 5)
UINT8 drq Sound card 8-bit DMA channel (e.g. 1)
UINT16LE mixRate Output sample rate in Hertz (e.g. 44100)

External links

  • The original Digital Sound Interface Kit library is available as dsik_c.zip or dsik_pas.zip for the C and Pascal versions respectively, from various FTP sites such as lanet.lv

Credits

This file format was documented by Malvineous by reading the DSIK sample code. If you find this information helpful in a project you're working on, please give credit where credit is due. (A link back to this wiki would be nice too!)