Home
last modified time | relevance | path

Searched refs:relativeAddr (Results 1 – 13 of 13) sorted by relevance

/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Core/
H A DLabelManager.cpp57 if(relativeAddr < 0x2000) { in GetLabelAddress()
58 return relativeAddr | 0x70000000; in GetLabelAddress()
60 int32_t addr = _mapper->ToAbsoluteAddress(relativeAddr); in GetLabelAddress()
66 addr = _mapper->ToAbsoluteWorkRamAddress(relativeAddr); in GetLabelAddress()
72 addr = _mapper->ToAbsoluteSaveRamAddress(relativeAddr); in GetLabelAddress()
84 int32_t labelAddr = GetLabelAddress(relativeAddr); in GetLabel()
94 labelAddr = relativeAddr | 0x30000000; in GetLabel()
105 string LabelManager::GetComment(uint16_t relativeAddr) in GetComment() argument
107 int32_t labelAddr = GetLabelAddress(relativeAddr); in GetComment()
121 int32_t labelAddr = GetLabelAddress(relativeAddr); in GetLabelAndComment()
[all …]
H A DLabelManager.h30 int32_t GetLabelAddress(uint16_t relativeAddr);
40 string GetLabel(uint16_t relativeAddr, bool checkRegisters);
41 string GetComment(uint16_t relativeAddr);
42 void GetLabelAndComment(uint16_t relativeAddr, string &label, string &comment);
46 bool HasLabelOrComment(uint16_t relativeAddr);
H A DBaseMapper.cpp990 void BaseMapper::GetAbsoluteAddressAndType(uint32_t relativeAddr, AddressTypeInfo* info) in GetAbsoluteAddressAndType() argument
992 if(relativeAddr < 0x2000) { in GetAbsoluteAddressAndType()
993 info->Address = relativeAddr; in GetAbsoluteAddressAndType()
996 uint8_t *prgAddr = _prgPages[relativeAddr >> 8] + (uint8_t)relativeAddr; in GetAbsoluteAddressAndType()
1040 void BaseMapper::GetPpuAbsoluteAddressAndType(uint32_t relativeAddr, PpuAddressTypeInfo* info) in GetPpuAbsoluteAddressAndType() argument
1042 if(relativeAddr >= 0x3F00) { in GetPpuAbsoluteAddressAndType()
1043 info->Address = relativeAddr & 0x1F; in GetPpuAbsoluteAddressAndType()
1046 uint8_t *addr = _chrPages[relativeAddr >> 8] + (uint8_t)relativeAddr; in GetPpuAbsoluteAddressAndType()
H A DDisassembler.h33 …void GetSubHeader(string &out, DisassemblyInfo *info, string &label, uint16_t relativeAddr, uint16…
H A DDebugger.h230 void GetAbsoluteAddressAndType(uint32_t relativeAddr, AddressTypeInfo* info);
231 void GetPpuAbsoluteAddressAndType(uint32_t relativeAddr, PpuAddressTypeInfo* info);
H A DBaseMapper.h221 void GetAbsoluteAddressAndType(uint32_t relativeAddr, AddressTypeInfo *info);
222 void GetPpuAbsoluteAddressAndType(uint32_t relativeAddr, PpuAddressTypeInfo *info);
H A DDisassembler.cpp450 …SubHeader(string &out, DisassemblyInfo *info, string &label, uint16_t relativeAddr, uint16_t reset… in GetSubHeader() argument
458 } else if(relativeAddr == resetVector) { in GetSubHeader()
460 } else if(relativeAddr == irqVector) { in GetSubHeader()
462 } else if(relativeAddr == nmiVector) { in GetSubHeader()
H A DDebugger.cpp1329 void Debugger::GetAbsoluteAddressAndType(uint32_t relativeAddr, AddressTypeInfo* info) in GetAbsoluteAddressAndType() argument
1331 return _mapper->GetAbsoluteAddressAndType(relativeAddr, info); in GetAbsoluteAddressAndType()
1334 void Debugger::GetPpuAbsoluteAddressAndType(uint32_t relativeAddr, PpuAddressTypeInfo* info) in GetPpuAbsoluteAddressAndType() argument
1336 return _mapper->GetPpuAbsoluteAddressAndType(relativeAddr, info); in GetPpuAbsoluteAddressAndType()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/InteropDLL/
H A DDebugWrapper.cpp92 …uteAddressAndType(uint32_t relativeAddr, AddressTypeInfo* info) { return GetDebugger()->GetAbsolut… in DebugGetAbsoluteAddressAndType() argument
93 …AddressAndType(uint32_t relativeAddr, PpuAddressTypeInfo* info) { return GetDebugger()->GetPpuAbso… in DebugGetPpuAbsoluteAddressAndType() argument
/dports/games/libretro-snes9x2010/snes9x2010-714b1c8/src/
H A Dsnapshot.c1139 int len, i, j, relativeAddr; in FreezeStruct() local
1172 relativeAddr = pointer - relativeTo; in FreezeStruct()
1173 addr = (uint8 *) &relativeAddr; in FreezeStruct()
1536 int relativeAddr; in UnfreezeStructFromCopy() local
1663 relativeAddr = (int) *((intptr_t *) ((uint8 *) base + fields[i].offset)); in UnfreezeStructFromCopy()
1665 *((intptr_t *) (addr)) = (intptr_t) (relativeTo + relativeAddr); in UnfreezeStructFromCopy()
/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/GUI.NET/
H A DInteropEmu.cs248 [DllImport(DLLPath)] public static extern Int32 DebugFindSubEntryPoint(UInt16 relativeAddr); in DebugFindSubEntryPoint() argument
249 [DllImport(DLLPath)] public static extern Int32 DebugGetAbsoluteAddress(UInt32 relativeAddr); in DebugGetAbsoluteAddress() argument
250 [DllImport(DLLPath)] public static extern Int32 DebugGetAbsoluteChrAddress(UInt32 relativeAddr); in DebugGetAbsoluteChrAddress() argument
288 …[DllImport(DLLPath)] public static extern void DebugGetAbsoluteAddressAndType(UInt32 relativeAddr,… in DebugGetAbsoluteAddressAndType() argument
290 …te static extern void DebugGetPpuAbsoluteAddressAndTypeWrapper(UInt32 relativeAddr, PpuAddressType… in DebugGetPpuAbsoluteAddressAndTypeWrapper() argument
291 public static PpuAddressTypeInfo DebugGetPpuAbsoluteAddressAndType(UInt32 relativeAddr) in DebugGetPpuAbsoluteAddressAndType() argument
294 InteropEmu.DebugGetPpuAbsoluteAddressAndTypeWrapper(relativeAddr, addressTypeInfo); in DebugGetPpuAbsoluteAddressAndType()
/dports/games/libretro-snes9x/snes9x-73aa348/
H A Dsnapshot.cpp1844 int relativeAddr; in FreezeStruct() local
1863 relativeAddr = pointer - relativeTo; in FreezeStruct()
1864 addr = (uint8 *) &relativeAddr; in FreezeStruct()
2138 int relativeAddr; in UnfreezeStructFromCopy() local
2266 relativeAddr = (int) *((pint *) ((uint8 *) base + fields[i].offset)); in UnfreezeStructFromCopy()
2268 *((pint *) (addr)) = (pint) (relativeTo + relativeAddr); in UnfreezeStructFromCopy()
/dports/emulators/snes9x-gtk/snes9x-1.54.1/
H A Dsnapshot.cpp1936 int relativeAddr; in FreezeStruct() local
1955 relativeAddr = pointer - relativeTo; in FreezeStruct()
1956 addr = (uint8 *) &relativeAddr; in FreezeStruct()
2176 int relativeAddr; in UnfreezeStructFromCopy() local
2304 relativeAddr = (int) *((pint *) ((uint8 *) base + fields[i].offset)); in UnfreezeStructFromCopy()
2306 *((pint *) (addr)) = (pint) (relativeTo + relativeAddr); in UnfreezeStructFromCopy()