yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
yaze::cli::agent::tools::ALTTPMemoryMap Struct Reference

ALTTP Memory Map Constants. More...

#include <memory_inspector_tool.h>

Static Public Member Functions

static bool IsWRAM (uint32_t addr)
 
static bool IsSpriteTable (uint32_t addr)
 
static bool IsSaveData (uint32_t addr)
 

Static Public Attributes

static constexpr uint32_t kWRAMStart = 0x7E0000
 
static constexpr uint32_t kWRAMEnd = 0x7FFFFF
 
static constexpr uint32_t kGameMode = 0x7E0010
 
static constexpr uint32_t kSubmodule = 0x7E0011
 
static constexpr uint32_t kNmiFlag = 0x7E0012
 
static constexpr uint32_t kFrameCounter = 0x7E001A
 
static constexpr uint32_t kLinkXLow = 0x7E0022
 
static constexpr uint32_t kLinkXHigh = 0x7E0023
 
static constexpr uint32_t kLinkYLow = 0x7E0020
 
static constexpr uint32_t kLinkYHigh = 0x7E0021
 
static constexpr uint32_t kLinkState = 0x7E005D
 
static constexpr uint32_t kLinkDirection = 0x7E002F
 
static constexpr uint32_t kLinkLayer = 0x7E00EE
 
static constexpr uint32_t kSpriteYLow = 0x7E0D00
 
static constexpr uint32_t kSpriteXLow = 0x7E0D10
 
static constexpr uint32_t kSpriteYHigh = 0x7E0D20
 
static constexpr uint32_t kSpriteXHigh = 0x7E0D30
 
static constexpr uint32_t kSpriteState = 0x7E0DD0
 
static constexpr uint32_t kSpriteType = 0x7E0E20
 
static constexpr uint32_t kSpriteHealth = 0x7E0E50
 
static constexpr int kMaxSprites = 16
 
static constexpr uint32_t kOAMBuffer = 0x7E0800
 
static constexpr uint32_t kOAMBufferEnd = 0x7E0A1F
 
static constexpr uint32_t kSRAMStart = 0x7EF000
 
static constexpr uint32_t kSRAMEnd = 0x7EF4FF
 
static constexpr uint32_t kPlayerHealth = 0x7EF36D
 
static constexpr uint32_t kPlayerMaxHealth = 0x7EF36C
 
static constexpr uint32_t kPlayerRupees = 0x7EF360
 
static constexpr uint32_t kInventoryStart = 0x7EF340
 
static constexpr uint32_t kOverworldArea = 0x7E008A
 
static constexpr uint32_t kDungeonRoom = 0x7E00A0
 
static constexpr uint32_t kIndoors = 0x7E001B
 

Detailed Description

ALTTP Memory Map Constants.

Known memory regions in A Link to the Past for intelligent analysis.

Definition at line 24 of file memory_inspector_tool.h.

Member Function Documentation

◆ IsWRAM()

static bool yaze::cli::agent::tools::ALTTPMemoryMap::IsWRAM ( uint32_t addr)
inlinestatic

◆ IsSpriteTable()

static bool yaze::cli::agent::tools::ALTTPMemoryMap::IsSpriteTable ( uint32_t addr)
inlinestatic

◆ IsSaveData()

static bool yaze::cli::agent::tools::ALTTPMemoryMap::IsSaveData ( uint32_t addr)
inlinestatic

Member Data Documentation

◆ kWRAMStart

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kWRAMStart = 0x7E0000
staticconstexpr

Definition at line 26 of file memory_inspector_tool.h.

Referenced by IsWRAM().

◆ kWRAMEnd

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kWRAMEnd = 0x7FFFFF
staticconstexpr

Definition at line 27 of file memory_inspector_tool.h.

Referenced by IsWRAM().

◆ kGameMode

◆ kSubmodule

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSubmodule = 0x7E0011
staticconstexpr

◆ kNmiFlag

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kNmiFlag = 0x7E0012
staticconstexpr

Definition at line 32 of file memory_inspector_tool.h.

◆ kFrameCounter

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kFrameCounter = 0x7E001A
staticconstexpr

◆ kLinkXLow

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kLinkXLow = 0x7E0022
staticconstexpr

◆ kLinkXHigh

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kLinkXHigh = 0x7E0023
staticconstexpr

◆ kLinkYLow

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kLinkYLow = 0x7E0020
staticconstexpr

◆ kLinkYHigh

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kLinkYHigh = 0x7E0021
staticconstexpr

◆ kLinkState

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kLinkState = 0x7E005D
staticconstexpr

◆ kLinkDirection

◆ kLinkLayer

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kLinkLayer = 0x7E00EE
staticconstexpr

Definition at line 42 of file memory_inspector_tool.h.

◆ kSpriteYLow

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteYLow = 0x7E0D00
staticconstexpr

◆ kSpriteXLow

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteXLow = 0x7E0D10
staticconstexpr

◆ kSpriteYHigh

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteYHigh = 0x7E0D20
staticconstexpr

Definition at line 47 of file memory_inspector_tool.h.

◆ kSpriteXHigh

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteXHigh = 0x7E0D30
staticconstexpr

Definition at line 48 of file memory_inspector_tool.h.

◆ kSpriteState

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteState = 0x7E0DD0
staticconstexpr

◆ kSpriteType

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteType = 0x7E0E20
staticconstexpr

◆ kSpriteHealth

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSpriteHealth = 0x7E0E50
staticconstexpr

Definition at line 51 of file memory_inspector_tool.h.

◆ kMaxSprites

constexpr int yaze::cli::agent::tools::ALTTPMemoryMap::kMaxSprites = 16
staticconstexpr

◆ kOAMBuffer

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kOAMBuffer = 0x7E0800
staticconstexpr

◆ kOAMBufferEnd

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kOAMBufferEnd = 0x7E0A1F
staticconstexpr

◆ kSRAMStart

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSRAMStart = 0x7EF000
staticconstexpr

Definition at line 59 of file memory_inspector_tool.h.

Referenced by IsSaveData().

◆ kSRAMEnd

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kSRAMEnd = 0x7EF4FF
staticconstexpr

Definition at line 60 of file memory_inspector_tool.h.

Referenced by IsSaveData().

◆ kPlayerHealth

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kPlayerHealth = 0x7EF36D
staticconstexpr

◆ kPlayerMaxHealth

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kPlayerMaxHealth = 0x7EF36C
staticconstexpr

◆ kPlayerRupees

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kPlayerRupees = 0x7EF360
staticconstexpr

◆ kInventoryStart

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kInventoryStart = 0x7EF340
staticconstexpr

◆ kOverworldArea

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kOverworldArea = 0x7E008A
staticconstexpr

◆ kDungeonRoom

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kDungeonRoom = 0x7E00A0
staticconstexpr

◆ kIndoors

constexpr uint32_t yaze::cli::agent::tools::ALTTPMemoryMap::kIndoors = 0x7E001B
staticconstexpr

Definition at line 69 of file memory_inspector_tool.h.


The documentation for this struct was generated from the following file: