summaryrefslogtreecommitdiff
path: root/src/zx81.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/zx81.h')
-rw-r--r--src/zx81.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/zx81.h b/src/zx81.h
index 7fa865d..037363f 100644
--- a/src/zx81.h
+++ b/src/zx81.h
@@ -28,11 +28,16 @@
#define EZX81ZX81H "$Id$"
#include "z80.h"
+#include "SDL.h"
/* Initialise the ZX81
*/
-void ZX81Init(void);
+void ZX81Init(Z80 *z80);
+
+/* Handle keypresses
+*/
+void ZX81KeyEvent(SDL_Event *e);
/* Interfaces for the Z80
*/
@@ -42,6 +47,10 @@ Z80Byte ZX81ReadPort(Z80 *z80, Z80Word port);
void ZX81WritePort(Z80 *z80, Z80Word port, Z80Byte val);
Z80Byte ZX81ReadForDisassem(Z80 *z80, Z80Word addr);
+/* Interfaces for memory menu
+*/
+const char *ZX81Info(Z80 *z80);
+
#endif