From fcaec358f688bba6760cc44421b35e6b3d90a853 Mon Sep 17 00:00:00 2001 From: Ian C Date: Sat, 7 Oct 2006 00:21:12 +0000 Subject: First working version (3D Monster Maze playable!) --- arm9/include/zx81.h | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) (limited to 'arm9/include') diff --git a/arm9/include/zx81.h b/arm9/include/zx81.h index 5f097bf..c1364d1 100644 --- a/arm9/include/zx81.h +++ b/arm9/include/zx81.h @@ -1,8 +1,8 @@ /* - ezx81 - X11 ZX81 emulator + ds81 - Nintendo DS ZX81 emulator - Copyright (C) 2003 Ian Cowburn (ianc@noddybox.demon.co.uk) + Copyright (C) 2006 Ian Cowburn (ianc@noddybox.demon.co.uk) This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -24,20 +24,20 @@ */ -#ifndef EZX81_ZX81H -#define EZX81_ZX81H "$Id$" +#ifndef DS81_ZX81_H +#define DS81_ZX81_H #include "z80.h" -#include "SDL.h" +#include "keyboard.h" /* Initialise the ZX81 */ -void ZX81Init(Z80 *z80); +void ZX81Init(uint16 *vram, Z80 *z80); /* Handle keypresses */ -void ZX81KeyEvent(SDL_Event *e); +void ZX81HandleKey(SoftKey k, int is_pressed); /* Interfaces for the Z80 */ @@ -45,13 +45,6 @@ Z80Byte ZX81ReadMem(Z80 *z80, Z80Word addr); void ZX81WriteMem(Z80 *z80, Z80Word addr, Z80Byte val); 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); -void ZX81Reset(Z80 *z80); - #endif -- cgit v1.2.3