mirror of
https://github.com/cc65/cc65.git
synced 2024-11-15 11:05:56 +00:00
21 lines
312 B
C
21 lines
312 B
C
|
/*
|
||
|
** 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;
|
||
|
}
|