1
0
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:
Mariano Dominguez
2023-01-05 21:12:58 -08:00
parent e944a30b6a
commit f9024d132a
2 changed files with 49 additions and 0 deletions
+6
View File
@@ -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 */
/*****************************************************************************/