diff --git a/ROBOCOP1.TAP b/ROBOCOP1.TAP new file mode 100644 index 0000000..9698cd2 Binary files /dev/null and b/ROBOCOP1.TAP differ diff --git a/ay-3-8912.h b/ay-3-8912.h new file mode 100644 index 0000000..7ddbcf9 --- /dev/null +++ b/ay-3-8912.h @@ -0,0 +1,15 @@ +#pragma once + +#include + +namespace audio +{ + int port_in(int port); + void port_out(int port, int val); + + void init(); + void reset(); + void silence(); + void resume(); + void update(uint32_t dt); +} diff --git a/main.cpp b/main.cpp index 6011e2d..15a97cc 100644 --- a/main.cpp +++ b/main.cpp @@ -129,7 +129,7 @@ int main(int argc, char *argv[]) zx_ula::sound_init(); - zx_tape::load("fernandomartin.tap"); + zx_tape::load("ROBOCOP1.TAP"); if (argc==3) { z80debug::loadngo(argv[1], argv[2]); } diff --git a/zx_tape.cpp b/zx_tape.cpp index 6c02e76..6b4e8ae 100644 --- a/zx_tape.cpp +++ b/zx_tape.cpp @@ -36,7 +36,7 @@ namespace zx_tape bool playing = false; bool loaded = false; - bool options[ZXTAPE_NUM_OPTIONS] = { true, true }; + bool options[ZXTAPE_NUM_OPTIONS] = { false, true }; std::vector blocks; uint8_t current_block = 0;