From 1a9c23616b14b4e7a890396eb19b43af4a685d33 Mon Sep 17 00:00:00 2001 From: karri Date: Tue, 11 Dec 2012 06:27:14 +0000 Subject: [PATCH] Add sound routine support git-svn-id: svn://svn.cc65.org/cc65/trunk@5946 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- include/lynx.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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 */ /*****************************************************************************/ -- 2.39.5