From: karri Date: Tue, 11 Dec 2012 06:27:14 +0000 (+0000) Subject: Add sound routine support X-Git-Tag: V2.14~128 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1a9c23616b14b4e7a890396eb19b43af4a685d33;p=cc65 Add sound routine support git-svn-id: svn://svn.cc65.org/cc65/trunk@5946 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/include/lynx.h b/include/lynx.h index 199d0618e..23b161d98 100644 --- a/include/lynx.h +++ b/include/lynx.h @@ -105,6 +105,25 @@ extern void lynx_160_102_16[]; /* Referred to by tgi_static_stddrv[] */ +/*****************************************************************************/ +/* Sound support */ +/*****************************************************************************/ + +void lynx_snd_init (); +/* Initialize the sound driver */ + +void lynx_snd_pause (); +/* Pause sound */ + +void lynx_snd_unpause (); +/* Continue sound after pause */ + +void __fastcall__ lynx_snd_play (unsigned char channel, unsigned char *music); +/* Play tune on channel */ + +void lynx_snd_stop (); +/* Stop sound on all channels */ + /*****************************************************************************/ /* Accessing the cart */ /*****************************************************************************/