summaryrefslogtreecommitdiff
path: root/source/snap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/snap.c')
-rw-r--r--source/snap.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/snap.c b/source/snap.c
index 2e3fb92..7ab783f 100644
--- a/source/snap.c
+++ b/source/snap.c
@@ -72,6 +72,14 @@ static Z80Word GetLSBWord(void)
/* ---------------------------------------- INTERFACES
*/
+void TAPSetTape(Z80Byte *tape, int len)
+{
+ tap_file = tape;
+ tap_len = len;
+ tap_ptr = 0;
+}
+
+
int TAPLoad(Z80Byte id, Z80Word *addr, Z80Word *len, SNAP_Poke poke)
{
Z80Word blen;