- [NEW] Comencem a implementar el AY-3-8912

This commit is contained in:
2025-07-23 22:00:58 +02:00
parent 6e3e8e9b69
commit 0df17bf4c9
4 changed files with 17 additions and 2 deletions

BIN
ROBOCOP1.TAP Normal file

Binary file not shown.

15
ay-3-8912.h Normal file
View File

@@ -0,0 +1,15 @@
#pragma once
#include <stdint.h>
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);
}

View File

@@ -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]); }

View File

@@ -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<block_t> blocks;
uint8_t current_block = 0;