1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-23 19:29:37 +00:00
cc65/targettest/atari/sound.c

21 lines
314 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);
2023-01-06 19:23:33 +00:00
for(i=0;i<9000;i++);
2023-01-06 17:56:15 +00:00
sound(1,0,0,0);
return 0;
}