From a500f050272a8cca97ed0bbb7f8d7156555c61a7 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 22 Dec 2003 00:01:31 +0000 Subject: Added memory menu and some devel changes --- src/zx81.h | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'src/zx81.h') 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 -- cgit v1.2.3