mirror of
https://github.com/cc65/cc65.git
synced 2026-04-22 01:16:54 +00:00
add sound command
this behives the same as BASIC sound(voice, pitch, distortion, volume)
This commit is contained in:
@@ -235,6 +235,12 @@ extern void __fastcall__ _scroll (signed char numlines);
|
||||
/* numlines < 0 scrolls down */
|
||||
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Sound function */
|
||||
/*****************************************************************************/
|
||||
|
||||
extern void __fastcall__ sound (unsigned char voice, unsigned char frequency, unsigned char distortion, unsigned char volume); /* plays a sound in the specidied voice, to silence call with in other params*/
|
||||
|
||||
/*****************************************************************************/
|
||||
/* Misc. functions */
|
||||
/*****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user