summaryrefslogtreecommitdiff
path: root/arm9/include/zx81.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-10-07 00:21:12 +0000
committerIan C <ianc@noddybox.co.uk>2006-10-07 00:21:12 +0000
commitfcaec358f688bba6760cc44421b35e6b3d90a853 (patch)
tree99d92a6231d2319c3f1a7551a93f91a91ffa953f /arm9/include/zx81.h
parentb16b3120a84f1b180e874367d3101264479a595f (diff)
First working version (3D Monster Maze playable!)
Diffstat (limited to 'arm9/include/zx81.h')
-rw-r--r--arm9/include/zx81.h21
1 files changed, 7 insertions, 14 deletions
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