1
0
mirror of https://github.com/cc65/cc65.git synced 2024-11-15 11:05:56 +00:00
cc65/targettest/atari/sound.c

21 lines
312 B
C
Raw Normal View History

2023-01-06 17:56:15 +00:00
/*
** testprogram printing the default device
**
** 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);
for(i=0;i<90;i++);
sound(1,0,0,0);
return 0;
}