2018-01-25 22:16:46 -05:00
|
|
|
//
|
|
|
|
// Cartridge.hpp
|
|
|
|
// Clock Signal
|
|
|
|
//
|
|
|
|
// Created by Thomas Harte on 25/01/2018.
|
2018-05-13 15:19:52 -04:00
|
|
|
// Copyright 2018 Thomas Harte. All rights reserved.
|
2018-01-25 22:16:46 -05:00
|
|
|
//
|
|
|
|
|
2024-01-16 23:34:46 -05:00
|
|
|
#pragma once
|
2018-01-25 22:16:46 -05:00
|
|
|
|
|
|
|
#include "../../../Storage/Cartridge/Cartridge.hpp"
|
|
|
|
|
2023-05-10 16:02:18 -05:00
|
|
|
namespace Analyser::Static::MSX {
|
2018-01-25 22:16:46 -05: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;
|
|
|
|
|
2024-11-29 21:08:35 -05:00
|
|
|
Cartridge(const std::vector<Segment> &segments, const Type type) :
|
2018-01-25 22:16:46 -05:00
|
|
|
Storage::Cartridge::Cartridge(segments), type(type) {}
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|