mirror of
https://github.com/TomHarte/CLK.git
synced 2025-02-11 15:30:52 +00:00
41 lines
704 B
C++
41 lines
704 B
C++
|
//
|
||
|
// Cartridge.hpp
|
||
|
// Clock Signal
|
||
|
//
|
||
|
// Created by Thomas Harte on 25/01/2018.
|
||
|
// Copyright © 2018 Thomas Harte. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#ifndef Cartridge_hpp
|
||
|
#define Cartridge_hpp
|
||
|
|
||
|
#include "../../../Storage/Cartridge/Cartridge.hpp"
|
||
|
|
||
|
namespace Analyser {
|
||
|
namespace Static {
|
||
|
namespace MSX {
|
||
|
|
||
|
/*!
|
||
|
Extends the base cartridge class by adding a (guess at) the banking scheme.
|
||
|
*/
|
||
|
struct Cartridge: public ::Storage::Cartridge::Cartridge {
|
||
|
enum Type {
|
||
|
None,
|
||
|
Konami,
|
||
|
KonamiWithSCC,
|
||
|
ASCII8kb,
|
||
|
ASCII16kb,
|
||
|
FMPac
|
||
|
};
|
||
|
const Type type;
|
||
|
|
||
|
Cartridge(const std::vector<Segment> &segments, Type type) :
|
||
|
Storage::Cartridge::Cartridge(segments), type(type) {}
|
||
|
};
|
||
|
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
#endif /* Cartridge_hpp */
|