From e376b6d78f3037d2f26250d5a28b58f480f12ad3 Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 11 Sep 2006 00:35:48 +0000 Subject: Working well enough for Manic Miner now... --- src/spec.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/spec.h') 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 */ -- cgit v1.2.3