summaryrefslogtreecommitdiff
path: root/include/zx81.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2008-11-03 17:07:32 +0000
committerIan C <ianc@noddybox.co.uk>2008-11-03 17:07:32 +0000
commit603f3fac82ccb77775d53fd77ae7c32167116ad7 (patch)
tree912d684087250ca5cac6e597e06277f1c83f33b0 /include/zx81.h
parent1aaaca17a1dc30727578e5fa3755ee6fc05b238d (diff)
Initial snapshot code (in progress)
Diffstat (limited to 'include/zx81.h')
-rw-r--r--include/zx81.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/zx81.h b/include/zx81.h
index 2606c98..1f77448 100644
--- a/include/zx81.h
+++ b/include/zx81.h
@@ -27,6 +27,8 @@
#ifndef DS81_ZX81_H
#define DS81_ZX81_H
+#include <stdio.h>
+
#include "z80.h"
#include "keyboard.h"
@@ -79,6 +81,12 @@ void ZX81WritePort(Z80 *z80, Z80Word port, Z80Byte val);
#define ZX81ReadDisassem ZX81ReadMem
+/* Interfaces to allows the ZX81 to save/load itself as a snapshot to/from
+ a stream.
+*/
+void ZX81SaveSnapshot(FILE *fp);
+void ZX81LoadSnapshot(FILE *fp);
+
#endif