maug
Quick and dirty C mini-augmentation library.
|
Abstraction layer header for sound on retro systems. More...
Go to the source code of this file.
Abstraction layer header for sound on retro systems.
RetroSound is a compatibility layer for making sound on various platforms, including Windows, MS-DOS or Linux.
To use, define RETROSND_C before including this header from your main.c.
You may include this header in other .c files, as well, but RETROSND_C should ONLY be declared ONCE in the entire program.
It is highly advised to use this in conjunction with retroflt.h.
maug.h should also be included before this header.
Special thanks to: "Programming the Adlib/Sound Blaster FM Music Chips" by Jeffrey S. Lee (https://bochs.sourceforge.io/techspec/adlib_sb.txt) and "The Gravis Ultrasound" by neuraldk (http://neuraldk.org/document.php?gus) for DOS platform-specific stuff.
And the MPU-401 interface for being so darn simple!