diff options
author | Ian C <ianc@noddybox.co.uk> | 2021-07-05 19:29:54 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2021-07-05 19:29:54 +0000 |
commit | 0bc192bffbf28ba5733ae955916e5ebc72f3641f (patch) | |
tree | cb68ae6e3785b2f712e3c639f687580fe75f5806 /include/spec.h | |
parent | 25a57883291bc89210edbd3670e5548a0b838913 (diff) |
Initial working version. Still todo : Tapes, Sound
Diffstat (limited to 'include/spec.h')
-rw-r--r-- | include/spec.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/spec.h b/include/spec.h index b6b73eb..8b7154b 100644 --- a/include/spec.h +++ b/include/spec.h @@ -37,9 +37,9 @@ */ void SPECInit(Z80 *z80); -/* Render the display +/* Start the frame */ -void SPECRenderDisplay(Framebuffer *fb, Z80 *z80); +void SPECStartFrame(Framebuffer *fb); /* Handle keypresses */ @@ -70,6 +70,10 @@ void SPECWritePort(Z80 *z80, Z80Word port, Z80Byte val); #define SPECReadDisassem SPECReadMem +/* Interface for snap +*/ +void SPECWriteSnap(Z80Word addr, Z80Byte val); + /* Interfaces to allows the SPEC to save/load itself as a snapshot to/from a stream. */ |