- [NEW] Comencem a implementar el AY-3-8912
This commit is contained in:
BIN
ROBOCOP1.TAP
Normal file
BIN
ROBOCOP1.TAP
Normal file
Binary file not shown.
15
ay-3-8912.h
Normal file
15
ay-3-8912.h
Normal 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);
|
||||
}
|
||||
2
main.cpp
2
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]); }
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user