source: thomson/elec/CrO2/software/k5.h@ 53c4be3

main
Last change on this file since 53c4be3 was 53c4be3, checked in by Adrien Destugues <pulkomandy@…>, 12 years ago
  • Support for ZX spectrup TAP files.

git-svn-id: svn://localhost/thomson@17 85ae3b6b-dc8f-4344-a89d-598714f2e4e5

  • Property mode set to 100644
File size: 574 bytes
Line 
1/* CrO2 datassette emulator
2 * Copyright 2012, Adrien Destugues <pulkomandy@pulkomandy.ath.cx>
3 *
4 * Distributed under the terms of the MIT licence.
5 */
6
7#include "Tape.h"
8
9class K5: public Tape {
10 public:
11 friend class Tape;
12
13 class Block: public Tape::Block
14 {
15 public:
16 Block(int length, uint8_t type);
17
18 bool isFile() const;
19 bool isControl() const;
20 const std::string getName() const;
21
22 uint8_t type;
23 private:
24 Block() = delete;
25 };
26
27 private:
28 K5(const char* filename) throw (const char*);
29 K5() = delete;
30};
Note: See TracBrowser for help on using the repository browser.