summaryrefslogtreecommitdiff
path: root/include/zx81.h
diff options
context:
space:
mode:
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