Creating a main and a cartridge reader

This commit is contained in:
AnonymusRaccoon
2020-01-27 18:18:12 +01:00
parent 9d7bb1b6a5
commit 3b96a6f44d
9 changed files with 184 additions and 27 deletions
+25
View File
@@ -0,0 +1,25 @@
//
// Created by anonymus-raccoon on 1/27/20.
//
#ifndef COMSQUARE_SNES_HPP
#define COMSQUARE_SNES_HPP
#include "Memory/MemoryBus.hpp"
#include "CPU/CPU.hpp"
#include "Cartridge/Cartridge.hpp"
namespace ComSquare
{
//! @brief Container of all the components of the SNES.
class SNES {
private:
CPU::CPU _cpu;
Cartridge::Cartridge _cartridge;
public:
//! @brief Create all the components using a common memory bus for all of them.
SNES(const std::shared_ptr<MemoryBus> &bus, const std::string &ramPath);
};
}
#endif //COMSQUARE_SNES_HPP