Subversion Repositories pentevo

Rev

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

  1. #pragma once
  2.  
  3. struct TAPEINFO
  4. {
  5.    char desc[280];
  6.    unsigned pos;
  7.    unsigned t_size;
  8. };
  9. extern TAPEINFO *tapeinfo;
  10. extern unsigned tape_infosize;
  11. extern unsigned char *tape_image;
  12.  
  13. constexpr u32 tape_pulse_mask = (1 << 30) - 1;
  14. extern u32 tape_pulse[];
  15.  
  16. void start_tape();
  17. void stop_tape();
  18. void closetape();
  19. void reset_tape();
  20.  
  21. void find_tape_index();
  22. unsigned char tape_bit(); // used in io.cpp & sound.cpp
  23.  
  24. void tape_traps();
  25. void fast_tape();
  26.  
  27. inline void init_tape() { closetape(); }
  28. inline void done_tape() { closetape(); }
  29.  
  30. int readTAP();
  31. int readTZX();
  32. int readCSW();
  33.  
  34. bool ZlibInit();
  35. void ZlibDone();
  36.