yaze 0.2.0
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
memory.h File Reference
#include <cstdint>
#include <functional>
#include <iostream>
#include <string>
#include <vector>
#include "app/emu/debug/log.h"
#include "app/emu/memory/dma_channel.h"
Include dependency graph for memory.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  yaze::app::emu::memory::RomInfo
 
struct  yaze::app::emu::memory::CpuCallbacks
 
class  yaze::app::emu::memory::Memory
 Memory interface. More...
 
class  yaze::app::emu::memory::MemoryImpl
 Implementation of the Memory interface for emulating memory in a SNES system. More...
 

Namespaces

namespace  yaze
 
namespace  yaze::app
 Main namespace for the ImGui application.
 
namespace  yaze::app::emu
 SNES Emulation and debugging tools.
 
namespace  yaze::app::emu::memory
 

Typedefs

typedef struct yaze::app::emu::memory::CpuCallbacks yaze::app::emu::memory::CpuCallbacks
 

Enumerations

enum  yaze::app::emu::memory::RomSpeed { yaze::app::emu::memory::SLOW_ROM = 0x00 , yaze::app::emu::memory::FAST_ROM = 0x07 }
 
enum  yaze::app::emu::memory::BankSize { yaze::app::emu::memory::LOW_ROM = 0x00 , yaze::app::emu::memory::HI_ROM = 0x01 }
 
enum  yaze::app::emu::memory::RomType {
  yaze::app::emu::memory::ROM_DEFAULT = 0x00 , yaze::app::emu::memory::ROM_RAM = 0x01 , yaze::app::emu::memory::ROM_SRAM = 0x02 , yaze::app::emu::memory::ROM_DSP1 = 0x03 ,
  yaze::app::emu::memory::ROM_DSP1_RAM = 0x04 , yaze::app::emu::memory::ROM_DSP1_SRAM = 0x05 , yaze::app::emu::memory::FX = 0x06
}
 
enum  yaze::app::emu::memory::RomSize {
  yaze::app::emu::memory::SIZE_2_MBIT = 0x08 , yaze::app::emu::memory::SIZE_4_MBIT = 0x09 , yaze::app::emu::memory::SIZE_8_MBIT = 0x0A , yaze::app::emu::memory::SIZE_16_MBIT = 0x0B ,
  yaze::app::emu::memory::SIZE_32_MBIT = 0x0C
}
 
enum  yaze::app::emu::memory::SramSize { yaze::app::emu::memory::NO_SRAM = 0x00 , yaze::app::emu::memory::SRAM_16_KBIT = 0x01 , yaze::app::emu::memory::SRAM_32_KBIT = 0x02 , yaze::app::emu::memory::SRAM_64_KBIT = 0x03 }
 
enum  yaze::app::emu::memory::CountryCode { yaze::app::emu::memory::JAPAN = 0x00 , yaze::app::emu::memory::USA = 0x01 , yaze::app::emu::memory::EUROPE_OCEANIA_ASIA = 0x02 }
 
enum  yaze::app::emu::memory::License { yaze::app::emu::memory::INVALID = 0 , yaze::app::emu::memory::NINTENDO = 1 , yaze::app::emu::memory::ZAMUSE = 5 , yaze::app::emu::memory::CAPCOM = 8 }
 

Functions

void yaze::app::emu::memory::DrawSnesMemoryMapping (const MemoryImpl &memory)
 

Variables

constexpr uint32_t yaze::app::emu::memory::kROMStart = 0x008000
 
constexpr uint32_t yaze::app::emu::memory::kROMSize = 0x200000
 
constexpr uint32_t yaze::app::emu::memory::kRAMStart = 0x7E0000
 
constexpr uint32_t yaze::app::emu::memory::kRAMSize = 0x20000