X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fpsg.h;fp=src%2Fpsg.h;h=c8b44523d4d34de5377741f25ccbe5f1088ff63f;hb=009359ef732411d9d978d137f1371647abc97261;hp=0000000000000000000000000000000000000000;hpb=be67039a7ed493081dd1503f94cdfae4dd4d965e;p=thunder diff --git a/src/psg.h b/src/psg.h new file mode 100644 index 0000000..c8b4452 --- /dev/null +++ b/src/psg.h @@ -0,0 +1,12 @@ +#ifndef __PSG_H__ +#define __PSG_H__ + +#include + +void InitPSG(uint32_t s = 44100); +void UpdatePSG(uint8_t * buffer, int count); +void WritePSG(uint16_t address, uint8_t data); +uint8_t ReadPSG(uint16_t address); + +#endif // __PSG_H__ +