add target test

This commit is contained in:
Mariano Dominguez
2023-01-06 09:56:15 -08:00
parent c3e1ae3478
commit 2a961a870b
2 changed files with 24 additions and 1 deletions

20
targettest/atari/sound.c Normal file
View File

@@ -0,0 +1,20 @@
/*
** 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;
}