Home
last modified time | relevance | path

Searched refs:m_pMemoryMap (Results 1 – 25 of 38) sorted by relevance

12

/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ee/
H A DEe_SubSystem.cpp71 m_EE.m_pMemoryMap->InsertReadMap(0x00000000, 0x01FFFFFF, m_ram, 0x00); in CSubSystem()
83 m_EE.m_pMemoryMap->InsertWriteMap(0x00000000, 0x01FFFFFF, m_ram, 0x00); in CSubSystem()
108 m_VU0.m_pMemoryMap->InsertReadMap(0x00000000, 0x00000FFF, m_vuMem0, 0x01); in CSubSystem()
109 m_VU0.m_pMemoryMap->InsertReadMap(0x00001000, 0x00001FFF, m_vuMem0, 0x02); in CSubSystem()
110 m_VU0.m_pMemoryMap->InsertReadMap(0x00002000, 0x00002FFF, m_vuMem0, 0x03); in CSubSystem()
111 m_VU0.m_pMemoryMap->InsertReadMap(0x00003000, 0x00003FFF, m_vuMem0, 0x04); in CSubSystem()
114 m_VU0.m_pMemoryMap->InsertWriteMap(0x00000000, 0x00000FFF, m_vuMem0, 0x01); in CSubSystem()
115 m_VU0.m_pMemoryMap->InsertWriteMap(0x00001000, 0x00001FFF, m_vuMem0, 0x02); in CSubSystem()
116 m_VU0.m_pMemoryMap->InsertWriteMap(0x00002000, 0x00002FFF, m_vuMem0, 0x03); in CSubSystem()
117 m_VU0.m_pMemoryMap->InsertWriteMap(0x00003000, 0x00003FFF, m_vuMem0, 0x04); in CSubSystem()
[all …]
H A DVuAnalysis.cpp18 uint32 lowerInstruction = ctx->m_pMemoryMap->GetInstruction(address + 0); in Analyse()
19 uint32 upperInstruction = ctx->m_pMemoryMap->GetInstruction(address + 4); in Analyse()
38 uint32 lowerInstruction = ctx->m_pMemoryMap->GetInstruction(address + 0); in Analyse()
39 uint32 upperInstruction = ctx->m_pMemoryMap->GetInstruction(address + 4); in Analyse()
69 uint32 lowerInstruction = ctx->m_pMemoryMap->GetInstruction(address + 0); in Analyse()
70 uint32 upperInstruction = ctx->m_pMemoryMap->GetInstruction(address + 4); in Analyse()
101 uint32 lowerInstruction = ctx->m_pMemoryMap->GetInstruction(address + 0); in Analyse()
102 uint32 upperInstruction = ctx->m_pMemoryMap->GetInstruction(address + 4); in Analyse()
H A DVuExecutor.cpp28 uint32 opcodeLo = m_context.m_pMemoryMap->GetInstruction(addressLo); in BlockFactory()
29 uint32 opcodeHi = m_context.m_pMemoryMap->GetInstruction(addressHi); in BlockFactory()
69 uint32 lowerOp = m_context.m_pMemoryMap->GetInstruction(addrLo); in PartitionFunction()
70 uint32 upperOp = m_context.m_pMemoryMap->GetInstruction(addrHi); in PartitionFunction()
H A DVuBasicBlock.cpp59 uint32 opcodeLo = m_context.m_pMemoryMap->GetInstruction(addressLo); in CompileRange()
60 uint32 opcodeHi = m_context.m_pMemoryMap->GetInstruction(addressHi); in CompileRange()
191 uint32 branchOpcodeLo = m_context.m_pMemoryMap->GetInstruction(branchOpcodeAddr); in CompileRange()
249 uint32 branchOpcodeLo = m_context.m_pMemoryMap->GetInstruction(branchOpcodeAddr); in GetIntegerBranchDelayInfo()
255 uint32 priorOpcodeLo = m_context.m_pMemoryMap->GetInstruction(priorOpcodeAddr); in GetIntegerBranchDelayInfo()
295 uint32 opcodeLo = m_context.m_pMemoryMap->GetInstruction(address); in CheckIsSpecialIntegerLoop()
357 uint32 opcodeLo = m_context.m_pMemoryMap->GetInstruction(addressLo); in ComputeSkipFlagsHints()
358 uint32 opcodeHi = m_context.m_pMemoryMap->GetInstruction(addressHi); in ComputeSkipFlagsHints()
445 uint32 opcodeLo = m_context.m_pMemoryMap->GetInstruction(addressLo); in ComputeFmacStallDelays()
446 uint32 opcodeHi = m_context.m_pMemoryMap->GetInstruction(addressHi); in ComputeFmacStallDelays()
H A DPS2OS.cpp1642 m_ee.m_pMemoryMap->SetWord(CINTC::INTC_MASK, intcMask); in sc_ExecPS2()
1820 if(!(m_ee.m_pMemoryMap->GetWord(CINTC::INTC_MASK) & mask)) in sc_EnableIntc()
1822 m_ee.m_pMemoryMap->SetWord(CINTC::INTC_MASK, mask); in sc_EnableIntc()
1837 if(m_ee.m_pMemoryMap->GetWord(CINTC::INTC_MASK) & mask) in sc_DisableIntc()
1839 m_ee.m_pMemoryMap->SetWord(CINTC::INTC_MASK, mask); in sc_DisableIntc()
1855 m_ee.m_pMemoryMap->SetWord(CDMAC::D_STAT, registerId); in sc_EnableDmac()
1859 if(!(m_ee.m_pMemoryMap->GetWord(CINTC::INTC_MASK) & 0x02)) in sc_EnableDmac()
1861 m_ee.m_pMemoryMap->SetWord(CINTC::INTC_MASK, 0x02); in sc_EnableDmac()
1875 if(m_ee.m_pMemoryMap->GetWord(CDMAC::D_STAT) & registerId) in sc_DisableDmac()
1877 m_ee.m_pMemoryMap->SetWord(CDMAC::D_STAT, registerId); in sc_DisableDmac()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/
H A DMemoryUtils.cpp11 return static_cast<uint32>(context->m_pMemoryMap->GetByte(address)); in MemoryUtils_GetByteProxy()
17 return static_cast<uint32>(context->m_pMemoryMap->GetHalf(address)); in MemoryUtils_GetHalfProxy()
23 return context->m_pMemoryMap->GetWord(address); in MemoryUtils_GetWordProxy()
30 auto e = context->m_pMemoryMap->GetReadMap(address); in MemoryUtils_GetDoubleProxy()
60 auto e = context->m_pMemoryMap->GetReadMap(address); in MemoryUtils_GetQuadProxy()
89 context->m_pMemoryMap->SetByte(address, static_cast<uint8>(value)); in MemoryUtils_SetByteProxy()
95 context->m_pMemoryMap->SetHalf(address, static_cast<uint16>(value)); in MemoryUtils_SetHalfProxy()
101 context->m_pMemoryMap->SetWord(address, value); in MemoryUtils_SetWordProxy()
110 auto e = context->m_pMemoryMap->GetWriteMap(address); in MemoryUtils_SetDoubleProxy()
138 auto e = context->m_pMemoryMap->GetWriteMap(address); in MemoryUtils_SetQuadProxy()
H A DMIPSAnalysis.cpp106 uint32 opcode = m_ctx->m_pMemoryMap->GetInstruction(candidate); in FindSubroutinesByStackAllocation()
115 opcode = m_ctx->m_pMemoryMap->GetInstruction(tempAddr); in FindSubroutinesByStackAllocation()
135 opcode = m_ctx->m_pMemoryMap->GetInstruction(tempAddr - 4); in FindSubroutinesByStackAllocation()
151 opcode = m_ctx->m_pMemoryMap->GetInstruction(tempAddr + 4); in FindSubroutinesByStackAllocation()
178 uint32 opcode = m_ctx->m_pMemoryMap->GetInstruction(address); in FindSubroutinesByJumpTargets()
205 uint32 opcode = m_ctx->m_pMemoryMap->GetInstruction(address); in FindSubroutinesByJumpTargets()
235 uint32 opcode = m_ctx->m_pMemoryMap->GetInstruction(address); in ExpandSubroutines()
266 uint32 opcode = m_ctx->m_pMemoryMap->GetInstruction(address); in ExpandSubroutines()
316 uint8 byteBefore = context->m_pMemoryMap->GetByte(address - 1); in TryGetStringAtAddress()
320 uint8 byte = context->m_pMemoryMap->GetByte(address); in TryGetStringAtAddress()
[all …]
H A DMIPS.cpp22 m_pMemoryMap = new CMemoryMap_LSBF; in CMIPS()
49 delete m_pMemoryMap; in ~CMIPS()
102 uint32 nOpcode = m_pMemoryMap->GetInstruction(nAddress); in IsBranch()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/iop/
H A DIop_Dmacman.cpp75 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10)); in Invoke()
113 context.m_pMemoryMap->SetWord(channelBase + Dmac::CChannel::REG_MADR, addr); in DmacRequest()
114 context.m_pMemoryMap->SetWord(channelBase + Dmac::CChannel::REG_BCR, bcr); in DmacRequest()
130 context.m_pMemoryMap->SetWord(channelBase + Dmac::CChannel::REG_CHCR, chcr); in DmacTransfer()
139 uint32 dpcr = context.m_pMemoryMap->GetWord(dpcrAddr); in DmacChSetDpcr()
144 context.m_pMemoryMap->SetWord(dpcrAddr, dpcr | mask); in DmacChSetDpcr()
155 uint32 dpcr = context.m_pMemoryMap->GetWord(dpcrAddr); in DmacEnable()
159 context.m_pMemoryMap->SetWord(dpcrAddr, dpcr | mask); in DmacEnable()
170 uint32 dpcr = context.m_pMemoryMap->GetWord(dpcrAddr); in DmacDisable()
174 context.m_pMemoryMap->SetWord(dpcrAddr, dpcr & mask); in DmacDisable()
H A DIop_Timrman.cpp248 …context.m_pMemoryMap->SetWord(CRootCounters::g_counterBaseAddresses[timerId] + CRootCounters::CNT_… in SetTimerMode()
281 …context.m_pMemoryMap->SetWord(CRootCounters::g_counterBaseAddresses[timerId] + CRootCounters::CNT_… in SetTimerCompare()
348 auto mode = make_convertible<CRootCounters::MODE>(context.m_pMemoryMap->GetWord(modeAddr)); in SetupHardTimer()
362 context.m_pMemoryMap->SetWord(modeAddr, mode); in SetupHardTimer()
389 auto mode = make_convertible<CRootCounters::MODE>(context.m_pMemoryMap->GetWord(modeAddr)); in StartHardTimer()
402 uint32 status = context.m_pMemoryMap->GetWord(CIntc::STATUS0); in StartHardTimer()
403 uint32 mask = context.m_pMemoryMap->GetWord(CIntc::MASK0); in StartHardTimer()
405 context.m_pMemoryMap->SetWord(CIntc::MASK0, mask); in StartHardTimer()
433 auto mode = make_convertible<CRootCounters::MODE>(context.m_pMemoryMap->GetWord(modeAddr)); in StopHardTimer()
445 uint32 mask = context.m_pMemoryMap->GetWord(CIntc::MASK0); in StopHardTimer()
[all …]
H A DIop_SubSystem.cpp51 …m_cpu.m_pMemoryMap->InsertReadMap((0 * IOP_RAM_SIZE), (0 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ram… in CSubSystem()
52 …m_cpu.m_pMemoryMap->InsertReadMap((1 * IOP_RAM_SIZE), (1 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ram… in CSubSystem()
53 …m_cpu.m_pMemoryMap->InsertReadMap((2 * IOP_RAM_SIZE), (2 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ram… in CSubSystem()
54 …m_cpu.m_pMemoryMap->InsertReadMap((3 * IOP_RAM_SIZE), (3 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ram… in CSubSystem()
56 …m_cpu.m_pMemoryMap->InsertReadMap(IOP_SCRATCH_ADDR, IOP_SCRATCH_ADDR + IOP_SCRATCH_SIZE - 1, m_scr… in CSubSystem()
60 …m_cpu.m_pMemoryMap->InsertWriteMap((0 * IOP_RAM_SIZE), (0 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ra… in CSubSystem()
61 …m_cpu.m_pMemoryMap->InsertWriteMap((1 * IOP_RAM_SIZE), (1 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ra… in CSubSystem()
62 …m_cpu.m_pMemoryMap->InsertWriteMap((2 * IOP_RAM_SIZE), (2 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ra… in CSubSystem()
63 …m_cpu.m_pMemoryMap->InsertWriteMap((3 * IOP_RAM_SIZE), (3 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1, m_ra… in CSubSystem()
69 …m_cpu.m_pMemoryMap->InsertInstructionMap((0 * IOP_RAM_SIZE), (0 * IOP_RAM_SIZE) + IOP_RAM_SIZE - 1… in CSubSystem()
[all …]
H A DIop_Intrman.cpp148 context.m_pMemoryMap->GetWord(CIntc::MASK0), in EnableIntrLine()
149 context.m_pMemoryMap->GetWord(CIntc::MASK1)); in EnableIntrLine()
151 context.m_pMemoryMap->SetWord(CIntc::MASK0, mask.h0); in EnableIntrLine()
152 context.m_pMemoryMap->SetWord(CIntc::MASK1, mask.h1); in EnableIntrLine()
163 context.m_pMemoryMap->GetWord(CIntc::MASK0), in DisableIntrLine()
164 context.m_pMemoryMap->GetWord(CIntc::MASK1)); in DisableIntrLine()
166 context.m_pMemoryMap->SetWord(CIntc::MASK0, mask.h0); in DisableIntrLine()
167 context.m_pMemoryMap->SetWord(CIntc::MASK1, mask.h1); in DisableIntrLine()
H A DArgumentIterator.cpp14 return m_context.m_pMemoryMap->GetWord(address); in GetNext()
30 uint32 arg = m_context.m_pMemoryMap->GetWord(m_argsPtr); in GetNext()
H A DIop_SifCmd.cpp219 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10), in Invoke()
220 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x14)); in Invoke()
258 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10)); in Invoke()
275 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10), in Invoke()
276 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x14), in Invoke()
277 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x18), in Invoke()
278 context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x1C)); in Invoke()
786 uint32 sendSize = context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10); in SifCallRpc()
787 uint32 recvAddr = context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x14); in SifCallRpc()
788 uint32 recvSize = context.m_pMemoryMap->GetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x18); in SifCallRpc()
[all …]
H A DIopBios.cpp692 m_cpu.m_pMemoryMap->SetWord(patchAddress, 0x1000FFFB); in LoadModule()
1582 m_cpu.m_pMemoryMap->SetWord(Iop::CIntc::MASK0, mask); in RegisterVblankHandler()
3052 instruction = m_cpu.m_pMemoryMap->GetWord(searchAddress); in HandleException()
3095 m_cpu.m_pMemoryMap->GetWord(Iop::CIntc::STATUS0), in HandleInterrupt()
3096 m_cpu.m_pMemoryMap->GetWord(Iop::CIntc::STATUS1)); in HandleInterrupt()
3098 m_cpu.m_pMemoryMap->GetWord(Iop::CIntc::MASK0), in HandleInterrupt()
3099 m_cpu.m_pMemoryMap->GetWord(Iop::CIntc::MASK1)); in HandleInterrupt()
3109 m_cpu.m_pMemoryMap->SetWord(Iop::CIntc::STATUS0, status.h0); in HandleInterrupt()
3110 m_cpu.m_pMemoryMap->SetWord(Iop::CIntc::STATUS1, status.h1); in HandleInterrupt()
3631 if(m_cpu.m_pMemoryMap->GetWord(address) == 0x41E00000) in PrepareModuleDebugInfo()
[all …]
H A DIop_McServ.cpp781 …context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x10, MODULEDATA::RPC_BUFFER_S… in ProceedReadFast()
782 …context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x14, m_moduleDataAddr + offse… in ProceedReadFast()
783 …context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x18, MODULEDATA::RPC_BUFFER_S… in ProceedReadFast()
784 context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x1C, 0); in ProceedReadFast()
785 context.m_pMemoryMap->SetWord(context.m_State.nGPR[CMIPS::SP].nV0 + 0x20, 0); in ProceedReadFast()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ui_qt/DebugSupport/FrameDebugger/
H A DVu1Vm.cpp21 m_vu1.m_pMemoryMap->InsertReadMap(0x00000000, 0x00003FFF, m_vuMem1, 0x00); in CVu1Vm()
22 …m_vu1.m_pMemoryMap->InsertReadMap(0x00008000, 0x00008FFF, [&](uint32 address, uint32 value) { retu… in CVu1Vm()
24 m_vu1.m_pMemoryMap->InsertWriteMap(0x00000000, 0x00003FFF, m_vuMem1, 0x00); in CVu1Vm()
25 …m_vu1.m_pMemoryMap->InsertWriteMap(0x00008000, 0x00008FFF, [&](uint32 address, uint32 value) { ret… in CVu1Vm()
27 m_vu1.m_pMemoryMap->InsertInstructionMap(0x00000000, 0x00003FFF, m_microMem1, 0x01); in CVu1Vm()
H A DVu1ProgramView.cpp29 return ctx->m_pMemoryMap->GetByte(address); in CVu1ProgramView()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/VuTest/
H A DTestVm.cpp11 m_cpu.m_pMemoryMap->InsertReadMap(0x00000000, 0x00003FFF, m_vuMem, 0x00); in CTestVm()
12 m_cpu.m_pMemoryMap->InsertWriteMap(0x00000000, 0x00003FFF, m_vuMem, 0x00); in CTestVm()
14 m_cpu.m_pMemoryMap->InsertInstructionMap(0x00000000, 0x00003FFF, m_microMem, 0x01); in CTestVm()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/PsfPlayer/Source/win32_ui/DebugSupport/
H A DMemoryViewMIPS.cpp34 return m_context->m_pMemoryMap->GetByte(nAddress); in GetByte()
49 uint32 valueAtSelection = m_context->m_pMemoryMap->GetWord(GetSelection()); in CreateContextualMenu()
97 uint32 valueAtSelection = m_context->m_pMemoryMap->GetWord(GetSelection()); in FollowPointer()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/psx/
H A DPsxBios.cpp423 uint32 status = m_cpu.m_pMemoryMap->GetWord(CIntc::STATUS0); in HandleInterrupt()
424 uint32 mask = m_cpu.m_pMemoryMap->GetWord(CIntc::MASK0); in HandleInterrupt()
443 uint32 callInstruction = m_cpu.m_pMemoryMap->GetWord(searchAddress); in HandleException()
716 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x00, m_cpu.m_State.nGPR[CMIPS::RA].nV0); in sc_setjmp()
717 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x04, m_cpu.m_State.nGPR[CMIPS::SP].nV0); in sc_setjmp()
718 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x08, m_cpu.m_State.nGPR[CMIPS::FP].nV0); in sc_setjmp()
719 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x0C, m_cpu.m_State.nGPR[CMIPS::S0].nV0); in sc_setjmp()
720 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x10, m_cpu.m_State.nGPR[CMIPS::S1].nV0); in sc_setjmp()
721 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x14, m_cpu.m_State.nGPR[CMIPS::S2].nV0); in sc_setjmp()
722 m_cpu.m_pMemoryMap->SetWord(bufferAddress + 0x18, m_cpu.m_State.nGPR[CMIPS::S3].nV0); in sc_setjmp()
[all …]
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/tools/PsfPlayer/Source/psp/
H A DPsp_PsfSubSystem.cpp23 m_cpu.m_pMemoryMap->InsertReadMap(0x00000000, m_ramSize, m_ram, 0x01); in CPsfSubSystem()
26 m_cpu.m_pMemoryMap->InsertWriteMap(0x00000000, m_ramSize, m_ram, 0x01); in CPsfSubSystem()
29 m_cpu.m_pMemoryMap->InsertInstructionMap(0x00000000, m_ramSize, m_ram, 0x01); in CPsfSubSystem()
/dports/games/libretro-play/Play--3cd0a367b5e24c061a6310c68c9fa7f6b531ebd4/Source/ui_qt/DebugSupport/
H A DMemoryViewMIPSWnd.cpp23 return ctx->m_pMemoryMap->GetByte(address); in CMemoryViewMIPSWnd()
H A DMemoryViewTable.cpp179 uint32 valueAtSelection = m_context->m_pMemoryMap->GetWord(selection); in ShowContextMenu()
260 uint32 valueAtSelection = m_context->m_pMemoryMap->GetWord(m_selected); in FollowPointer()
H A DQtDisAsmTableModel.cpp17 , m_maps(m_ctx->m_pMemoryMap->GetInstructionMaps()) in CQtDisAsmTableModel()
264 return m_ctx->m_pMemoryMap->GetInstruction(address); in GetInstruction()

12