From 06f2daa56e0eb8e592c015b07dbeb787bb081e4d Mon Sep 17 00:00:00 2001 From: Ian C Date: Mon, 5 Jul 2021 21:37:37 +0000 Subject: Added TAP file loading. --- include/snap.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'include/snap.h') diff --git a/include/snap.h b/include/snap.h index 62b6063..ce74bf3 100644 --- a/include/snap.h +++ b/include/snap.h @@ -37,7 +37,11 @@ typedef void (*SNAP_Poke)(Z80Word address, Z80Byte val); /* Sets the active TAP file */ -void TAPSetTape(Z80Byte *tap, int len); +void TAPOpenTape(const char *path); + +/* Close the active TAP file. Can be called when no tape is open. +*/ +void TAPCloseTape(void); /* Loads a block from a TAP file. Returns FALSE for failure. */ -- cgit v1.2.3