summaryrefslogtreecommitdiff
path: root/src/spec.h
diff options
context:
space:
mode:
authorIan C <ianc@noddybox.co.uk>2006-09-11 00:35:48 +0000
committerIan C <ianc@noddybox.co.uk>2006-09-11 00:35:48 +0000
commite376b6d78f3037d2f26250d5a28b58f480f12ad3 (patch)
treea39fd9fa5c942fa90762b9833040cbdb616c3f91 /src/spec.h
parent855cd20abc5cdf48dc691ee2ab818ea85f6ecd04 (diff)
Working well enough for Manic Miner now...
Diffstat (limited to 'src/spec.h')
-rw-r--r--src/spec.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/src/spec.h b/src/spec.h
index a508bdb..d5429cd 100644
--- a/src/spec.h
+++ b/src/spec.h
@@ -44,14 +44,15 @@ void SPECKeyEvent(SDL_Event *e);
/* Interfaces for the Z80
*/
-Z80Byte SPECReadMem(Z80 *z80, Z80Word addr);
-void SPECWriteMem(Z80 *z80, Z80Word addr, Z80Byte val);
-Z80Word SPECReadWord(Z80 *z80, Z80Word addr);
-void SPECWriteWord(Z80 *z80, Z80Word addr, Z80Word val);
+Z80Byte SPECPeek(Z80 *z80, Z80Word addr);
+void SPECPoke(Z80 *z80, Z80Word addr, Z80Byte val);
+
+#define SPECDisPeek SPECPeek
+
Z80Byte SPECReadPort(Z80 *z80, Z80Word port);
void SPECWritePort(Z80 *z80, Z80Word port, Z80Byte val);
-Z80Byte SPECReadForDisassem(Z80 *z80, Z80Word addr);
-const Z80Label *SPECGetLabel(void);
+
+/* const Z80Label *SPECGetLabel(void); */
/* Interfaces for memory menu
*/