From a3b16f394aae46dfd18f5952f16803867bc1f400 Mon Sep 17 00:00:00 2001 From: Ian C Date: Fri, 15 Sep 2006 00:30:18 +0000 Subject: Works enough to run Manic Miner. Slowly. --- source/snap.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/snap.c') 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; -- cgit v1.2.3