- [NEW] mòdul zx_system per a gestionar la vida i canvi de systemes (48K, 128K...)
23 lines
597 B
C++
23 lines
597 B
C++
#pragma once
|
|
#include <stdint.h>
|
|
|
|
namespace zx_tape
|
|
{
|
|
#define ZXTAPE_OPTION_FAST_LOAD 0
|
|
#define ZXTAPE_OPTION_STOP_AT_END 1
|
|
#define ZXTAPE_NUM_OPTIONS 2
|
|
|
|
void load(const char* filename);
|
|
void play();
|
|
void stop();
|
|
void rewind();
|
|
void update(const uint32_t dt);
|
|
const bool getplaying();
|
|
void report();
|
|
uint16_t fastLoad(const uint8_t block_type, const uint16_t address, const uint16_t length);
|
|
|
|
const bool getOption(const int option);
|
|
void setOption(const int option, const bool value);
|
|
void toggleOption(const int option);
|
|
}
|