Top secrets sources NedoPC pentevo

Rev

Rev 798 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed | ?url?

#pragma once

struct TAPEINFO
{
   char desc[280];
   unsigned pos;
   unsigned t_size;
};
extern TAPEINFO *tapeinfo;
extern unsigned tape_infosize;
extern unsigned char *tape_image;

constexpr u32 tape_pulse_mask = (1 << 30) - 1;
extern u32 tape_pulse[];

void start_tape();
void stop_tape();
void closetape();
void reset_tape();

void find_tape_index();
unsigned char tape_bit(); // used in io.cpp & sound.cpp

void tape_traps();
void fast_tape();

inline void init_tape() { closetape(); }
inline void done_tape() { closetape(); }

int readTAP();
int readTZX();
int readCSW();

bool ZlibInit();
void ZlibDone();