2018-01-26 03:16:46 +00:00
|
|
|
//
|
|
|
|
// Cartridge.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 25/01/2018.
|
2018-05-13 19:19:52 +00:00
|
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
2018-01-26 03:16:46 +00:00
|
|
|
//
|
|
|
|
|
|
|
|
#ifndef Cartridge_hpp
|
|
|
|
#define Cartridge_hpp
|
|
|
|
|
|
|
|
#include "../../../Storage/Cartridge/Cartridge.hpp"
|
|
|
|
|
2023-05-10 21:02:18 +00:00
|
|
|
namespace Analyser::Static::MSX {
|
2018-01-26 03:16:46 +00:00
|
|
|
|
|
|
|
/*!
|
|
|
|
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 */
|