- [NEW] Càrrega "instantànea" de TAPs

This commit is contained in:
2025-07-29 12:51:40 +02:00
parent 2a0febc6b7
commit 2775da3d53
4 changed files with 33 additions and 4 deletions

10
z80.cpp
View File

@@ -1,7 +1,7 @@
#include "z80.h"
#include "z80debug.h"
#include "zx_mem.h"
//#include "zx_tape.h"
#include "zx_tape.h"
#include <stdio.h>
#include <vector>
@@ -191,7 +191,13 @@ namespace z80
t+=1;
reading_m1 = true;
if (rPC==0x056A) {
z80debug::stop();
//z80debug::stop();
if (zx_tape::getOption(ZXTAPE_OPTION_FAST_LOAD)) {
rIX = zx_tape::fastLoad(rA2, rIX, rDE);
rDE = 0;
rA = 0;
rPC = 0x05E0;
}
//zx_tape::rewind();
//zx_tape::play();
}