]> git.sur5r.net Git - cc65/blobdiff - include/lynx.h
Switched to Markdown in order to allow to add links.
[cc65] / include / lynx.h
index 199d0618eb7e4d6c5c21117bf7adb6626b5169fa..e9c7029940237ee15b062e0f7457c60d1c27fad1 100644 (file)
@@ -46,7 +46,7 @@
 
 
 /*****************************************************************************/
-/*                                  Data                                    */
+/*                                   Data                                    */
 /*****************************************************************************/
 
 
 
 
 /* The addresses of the static drivers */
-extern void lynx_stdjoy[];        /* Referred to by joy_static_stddrv[] */
-extern void lynx_comlynx[];
-extern void lynx_160_102_16[];    /* Referred to by tgi_static_stddrv[] */
+extern void lynx_stdjoy_joy[];        /* Referred to by joy_static_stddrv[] */
+extern void lynx_comlynx_ser[];
+extern void lynx_160_102_16_tgi[];    /* 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_continue ();
+/* 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 */
+
+void __fastcall__ lynx_snd_stop_channel (unsigned char channel);
+/* Stop sound on all channels */
+
+unsigned char lynx_snd_active();
+/* Show which channels are active */
+
 /*****************************************************************************/
 /*                           Accessing the cart                              */
 /*****************************************************************************/