diff options
author | Ian C <ianc@noddybox.co.uk> | 2006-09-15 00:30:18 +0000 |
---|---|---|
committer | Ian C <ianc@noddybox.co.uk> | 2006-09-15 00:30:18 +0000 |
commit | a3b16f394aae46dfd18f5952f16803867bc1f400 (patch) | |
tree | 544ebc5e9bc66154b83037ff199ceab5f06f51f7 /source/snap.c | |
parent | e007fe3daeff4bcd64bd41894d5606fe43948672 (diff) |
Works enough to run Manic Miner. Slowly.
Diffstat (limited to 'source/snap.c')
-rw-r--r-- | source/snap.c | 8 |
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; |