]> Shamusworld >> Repos - thunder/blobdiff - src/psg.h
Thunder now works with NO samples! \o/
[thunder] / src / psg.h
diff --git a/src/psg.h b/src/psg.h
new file mode 100644 (file)
index 0000000..c8b4452
--- /dev/null
+++ b/src/psg.h
@@ -0,0 +1,12 @@
+#ifndef __PSG_H__
+#define __PSG_H__
+
+#include <stdint.h>
+
+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__
+