aboutsummaryrefslogtreecommitdiff
path: root/c64/sid.h
diff options
context:
space:
mode:
Diffstat (limited to 'c64/sid.h')
-rw-r--r--c64/sid.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/c64/sid.h b/c64/sid.h
new file mode 100644
index 0000000..9b9eeb2
--- /dev/null
+++ b/c64/sid.h
@@ -0,0 +1,16 @@
+// sid.h
+//
+// 20060803 Markku Alén
+
+#ifndef __SID_H__
+#define __SID_H__ 1
+
+void start_record(unsigned int frequency, unsigned char *wave_buf, unsigned int wave_max_len);
+unsigned int stop_record(void);
+
+void sid_init(void);
+
+int sid_read(int address);
+void sid_write(int address, int data);
+
+#endif