From 0bc192bffbf28ba5733ae955916e5ebc72f3641f Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 5 Jul 2021 19:29:54 +0000 Subject: Initial working version. Still todo : Tapes, Sound --- include/spec.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'include/spec.h') 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. */ -- cgit v1.2.3