]> git.sur5r.net Git - cc65/commitdiff
Add sound routine support
authorkarri <karri@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 11 Dec 2012 06:27:14 +0000 (06:27 +0000)
committerkarri <karri@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Tue, 11 Dec 2012 06:27:14 +0000 (06:27 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5946 b7a2c559-68d2-44c3-8de9-860c34a00d81

include/lynx.h

index 199d0618eb7e4d6c5c21117bf7adb6626b5169fa..23b161d9814e7bd7bb9d2283014b8e49e5364b3d 100644 (file)
@@ -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                              */
 /*****************************************************************************/