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 |
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.
|
inlinestatic |
Definition at line 72 of file memory_inspector_tool.h.
References kWRAMEnd, and kWRAMStart.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress().
|
inlinestatic |
Definition at line 77 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), yaze::cli::agent::tools::MemoryAnalyzeTool::Execute(), and yaze::cli::agent::tools::MemoryInspectorBase::IdentifyDataType().
|
inlinestatic |
Definition at line 82 of file memory_inspector_tool.h.
References kSRAMEnd, and kSRAMStart.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::IdentifyDataType().
|
staticconstexpr |
Definition at line 26 of file memory_inspector_tool.h.
Referenced by IsWRAM().
|
staticconstexpr |
Definition at line 27 of file memory_inspector_tool.h.
Referenced by IsWRAM().
|
staticconstexpr |
Definition at line 30 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryCheckTool::CheckGameMode(), yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), yaze::cli::agent::tools::MemoryAnalyzeTool::Execute(), yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions(), and yaze::cli::agent::tools::MemoryInspectorBase::IdentifyDataType().
|
staticconstexpr |
|
staticconstexpr |
Definition at line 32 of file memory_inspector_tool.h.
|
staticconstexpr |
Definition at line 33 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 36 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryCheckTool::CheckPlayerState(), yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::IdentifyDataType().
|
staticconstexpr |
Definition at line 37 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 38 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), yaze::cli::agent::tools::MemoryAnalyzeTool::Execute(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 39 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress().
|
staticconstexpr |
Definition at line 40 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 41 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), yaze::cli::agent::tools::MemoryAnalyzeTool::Execute(), yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions(), and yaze::cli::agent::tools::MemoryInspectorBase::IdentifyDataType().
|
staticconstexpr |
Definition at line 42 of file memory_inspector_tool.h.
|
staticconstexpr |
Definition at line 45 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 46 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 47 of file memory_inspector_tool.h.
|
staticconstexpr |
Definition at line 48 of file memory_inspector_tool.h.
|
staticconstexpr |
Definition at line 49 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryCheckTool::CheckSpriteTable(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 50 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryCheckTool::CheckSpriteTable(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 51 of file memory_inspector_tool.h.
|
staticconstexpr |
Definition at line 52 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryCheckTool::CheckSpriteTable().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Definition at line 59 of file memory_inspector_tool.h.
Referenced by IsSaveData().
|
staticconstexpr |
Definition at line 60 of file memory_inspector_tool.h.
Referenced by IsSaveData().
|
staticconstexpr |
Definition at line 61 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 62 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 63 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 64 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 67 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 68 of file memory_inspector_tool.h.
Referenced by yaze::cli::agent::tools::MemoryInspectorBase::DescribeAddress(), and yaze::cli::agent::tools::MemoryInspectorBase::GetKnownRegions().
|
staticconstexpr |
Definition at line 69 of file memory_inspector_tool.h.