SNES.hpp
Go to the documentation of this file.
//
// 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"
#include "Ram/Ram.hpp"
#include "PPU/PPU.hpp"
#include "APU/APU.hpp"
namespace ComSquare
{
struct SNES {
public:
std::shared_ptr<CPU::CPU> cpu;
std::shared_ptr<PPU::PPU> ppu;
std::shared_ptr<APU::APU> apu;
std::shared_ptr<Cartridge::Cartridge> cartridge;
std::shared_ptr<Ram::Ram> wram;
SNES(const std::shared_ptr<Memory::MemoryBus> &bus, const std::string &ramPath);
};
}
#endif //COMSQUARE_SNES_HPP
MemoryBus.hpp
CPU.hpp
ComSquare::SNES::cpu
std::shared_ptr< CPU::CPU > cpu
Definition: SNES.hpp:20
Cartridge.hpp
ComSquare::SNES
Container of all the components of the SNES.
Definition: SNES.hpp:18
ComSquare::SNES::ppu
std::shared_ptr< PPU::PPU > ppu
Definition: SNES.hpp:21
APU.hpp
ComSquare::SNES::SNES
SNES(const std::shared_ptr< Memory::MemoryBus > &bus, const std::string &ramPath)
Create all the components using a common memory bus for all of them.
Definition: SNES.cpp:9
ComSquare::SNES::apu
std::shared_ptr< APU::APU > apu
Definition: SNES.hpp:22
ComSquare::SNES::cartridge
std::shared_ptr< Cartridge::Cartridge > cartridge
Definition: SNES.hpp:23
Ram.hpp
ComSquare::SNES::wram
std::shared_ptr< Ram::Ram > wram
Definition: SNES.hpp:24
ComSquare
Definition: APU.cpp:9
PPU.hpp