diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-09-11 00:35:48 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-09-11 00:35:48 +0000 |
commit | e376b6d78f3037d2f26250d5a28b58f480f12ad3 (patch) | |
tree | a39fd9fa5c942fa90762b9833040cbdb616c3f91 /src/spec.h | |
parent | 855cd20abc5cdf48dc691ee2ab818ea85f6ecd04 (diff) |
Working well enough for Manic Miner now...
Diffstat (limited to 'src/spec.h')
-rw-r--r-- | src/spec.h | 13 |
1 files changed, 7 insertions, 6 deletions
@@ -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 */ |