mirror of
https://github.com/cc65/cc65.git
synced 2024-11-12 07:07:19 +00:00
27ecb555ea
remove extra comments.
21 lines
378 B
C
21 lines
378 B
C
/*
|
|
** Test program for _sound for atari
|
|
**
|
|
** January 6 2023 Mariano Domínguez
|
|
*/
|
|
|
|
#include <stdio.h>
|
|
#include <conio.h>
|
|
#include <atari.h>
|
|
#include <cc65.h>
|
|
|
|
int main(void)
|
|
{
|
|
int i=0;
|
|
printf("playing sound \n");
|
|
_sound(1,121,10,15); //voice, pitch, distortion, volume
|
|
for(i=0;i<9000;i++);
|
|
_sound(1,0,0,0); //silencing, same as Atari Basic
|
|
return 0;
|
|
}
|