Skip to content

Commit

Permalink
Added version string
Browse files Browse the repository at this point in the history
  • Loading branch information
TexZK committed Jun 7, 2020
1 parent af038e2 commit 4c8de63
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ This library aims to emulate the

![Block diagram](doc/block_diagram.png)

The original goal is to contibute to the emulation of the *AdLib Gold* sound
The original goal is to contribute to the emulation of the *AdLib Gold* sound
card, which used such integrated circuit to add sound effects to the audio
output, as heard in the beautiful soundtrack of the *Dune* videogame, made
specifically for that rare sound card.
Expand Down
7 changes: 7 additions & 0 deletions src/TDA8425_emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,13 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

// ============================================================================

char const* TDA8425_GetVersion(void)
{
return TDA8425_VERSION;
}

// ============================================================================

signed char const TDA8425_VolumeDecibel_Table[TDA8425_Volume_Data_Count] =
{
-128, // 0
Expand Down
6 changes: 6 additions & 0 deletions src/TDA8425_emu.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,12 @@ extern "C" {

// ============================================================================

#define TDA8425_VERSION "0.1.0"

char const* TDA8425_GetVersion(void);

// ============================================================================

typedef uint8_t TDA8425_Address; //!< Address data type
typedef uint8_t TDA8425_Register; //!< Register data type
typedef size_t TDA8425_Index; //!< Sample index data type
Expand Down

0 comments on commit 4c8de63

Please sign in to comment.