Commit Graph

380 Commits

Author SHA1 Message Date
zilmar 662637460e Remove Disable copy constructor comments 2021-04-13 09:37:11 +09:30
zilmar cf58754414 Change NULL to nullptr 2021-04-12 21:05:39 +09:30
zilmar 5c60ea213f Update copyright date 2021-03-02 12:43:17 +10:30
zilmar cd16a8cc48 Clean up some warnings 2021-01-19 16:28:59 +10:30
zilmar 7de3fc3348 Change the handling of the cheat format 2020-12-30 09:14:04 +10:30
LuigiBlood b428c14a27 [Disk] Put Mecha Interrupt management in DiskCommand(), delay seek times 2020-06-05 14:36:49 +02:00
zilmar 37358298e3 Project64: move Debugger_ShowUnhandledMemory into DebugSettings 2020-04-01 10:24:10 +10:30
KrimtonZ 0baf3ef263 Fix Trap Interpreter Functions, add recompiler trap functions 2019-12-17 09:08:15 -06:00
Frank-74 fe7dd71d53 Fix x64 compile error
I don't know why this is needed, as x86 build works fine without it.  x64 build fails with Project64-core/N64System/Recompiler/CodeSection.h(19): error C2504: 'CDebugSettings': base class undefined
2019-01-15 19:45:54 +00:00
zilmar c1200514c6 Make sure PC is updated on BP 2018-07-31 07:02:02 +10:00
zilmar ba0124efa8 [Project64] Handle break point in delay slot 2018-07-30 06:07:45 +10:00
zilmar fafb7c207a [Project64] Make sure memory_breakpoint_found is cleared in CX86RecompilerOps::FoundMemoryBreakpoint 2018-04-14 20:11:02 +10:00
zilmar fb8f5557a9 [Project64] Fix android build issue 2018-03-26 21:53:00 +11:00
zilmar 6bc5ce0439 [Debugger] Handle breakpoint in delay slot of recompiler 2018-03-02 19:02:23 +11:00
zilmar 5434f57f3f [Project64] Be able to handle memory breakpoints that are detected at compile time 2018-03-02 17:48:15 +11:00
zilmar 29dcf75b49 [Debugger] Flush recompiler code on memory viewer changes 2018-02-19 18:17:35 +11:00
zilmar 3fb6710bb3 [Debugger] Add read memory breakpoints to recompiler 2018-02-15 18:28:08 +11:00
zilmar 36c070f746 [Debuggger] Rename x86WriteBreakpoint to x86MemoryBreakpoint 2018-02-15 18:21:03 +11:00
zilmar 879783692b [Debugfer] Rename memory_write_address to memory_access_address 2018-02-15 18:09:14 +11:00
zilmar 9729fad9da [Debugger] Add store breakpoints to recompiler 2018-02-13 18:16:53 +11:00
zilmar 22ea56721e [Project64] Fix recompiler log output 2018-02-13 17:38:33 +11:00
zilmar 0ffb6bb159 [Proeject64] Add execution break point in recompiler 2018-01-21 10:18:52 +11:00
zilmar 2c802bd638 [Project64] Make sure Recompiler_Log_Message can not buffer overflow 2018-01-21 09:10:45 +11:00
zilmar f036c7825c [Project64] Make sure cycles are updated before calling CDMA::PI_DMA_WRITE 2018-01-21 08:51:49 +11:00
zilmar 7e1e7bf39b [Debugger] Change bHaveDebugger to HaveDebugger 2018-01-16 08:23:21 +11:00
zilmar a17905f5b2 [Android] Add another case for CArmRecompilerOps::SPECIAL_XOR 2017-09-25 17:00:55 +10:00
Iconoclast e4096aefbf vsprintf() needs stdio and stdarg.
...Unless, of course, some other header like <windows.h> includes those.
2017-07-30 12:47:06 -04:00
zilmar 7fda6cd001 [Project64] Have cheats be able to revert settings 2017-06-30 21:11:56 +10:00
zilmar 52ff3ff407 [Android] have m_LastStoreReg check in CArmOps::PreOpCheck 2017-05-07 10:53:16 +10:00
zilmar 8bb5e6a240 [Android] Add store check to ShiftRightUnsignImmed 2017-05-07 08:27:27 +10:00
zilmar e48c54518e [Project64] Some Code clean up 2017-05-06 19:27:06 +10:00
zilmar 54f1f385e7 [Project64] Get Recompiler to use a local reference to MMU 2017-04-28 08:14:55 +10:00
zilmar ffbe446c79 [Android] Keep stack aligned 2017-01-20 08:43:38 +11:00
zilmar bafffcbf41 [Android] Add LastStoreReg exception to CompareArmRegToConst 2017-01-19 17:50:59 +11:00
zilmar e098aacf0c [Android] Add LastStoreReg exception to AddConstToArmReg 2017-01-19 17:48:16 +11:00
zilmar 8cf62142b5 [Android] Track push/pops 2017-01-10 18:25:18 +11:00
zilmar 20fe044b7d [Android] Add PushPopRegisterList 2017-01-10 18:13:13 +11:00
zilmar ec380bfe0d [Project64] Record function end location 2017-01-10 18:01:59 +11:00
zilmar 5febae4ec9 [Android] Rename some variable names in ArmOps.h 2017-01-10 17:54:11 +11:00
zilmar 02e2168740 [Project64] Flush Logs on exception and another exception case handled 2017-01-03 16:38:44 +11:00
zilmar 1c61eb68db [Project64] Change some logging level on recompiler messages 2016-12-24 07:47:20 +11:00
zilmar c29d6612cb [Android] Write back instead of unmap more registers 2016-12-20 18:33:53 +11:00
zilmar 2394215349 [Android] Fix buf in CArmRecompilerOps::SPECIAL_XOR 2016-12-13 06:25:32 +11:00
zilmar e4a29ce003 [Android] Update CArmRecompilerOps::BEQ_Compare 2016-12-13 06:24:37 +11:00
zilmar e1e4daaf25 [Android] fix bugs in CArmRecompilerOps::BNE_Compare 2016-12-13 06:23:55 +11:00
zilmar da2804e831 [Project64] Clean up some warnings in CodeSection.cpp 2016-12-13 06:19:11 +11:00
zilmar df36516c6d [Project64] Rename Generate log to Log asm 2016-12-13 06:11:47 +11:00
zilmar 8d60103da2 [Android] Fix bug in CArmRecompilerOps::SPECIAL_SLT 2016-12-06 06:33:55 +11:00
zilmar ac0c6ff948 [Android] Fix register set usage in CCodeSection::GenerateSectionLinkage 2016-12-03 07:16:47 +11:00
zilmar ae0d3fab48 [Android] keep Arm_R10 just temp register 2016-12-01 21:22:14 +11:00
zilmar 6aae910a97 [Android] Use writeback instead of unmap 2016-12-01 21:21:01 +11:00
zilmar c73de27abc [Android] Fix bug in CArmRecompilerOps::LWC1 2016-12-01 21:20:01 +11:00
zilmar 6a1a6f3aa1 [Android] Fix bug in CArmRecompilerOps::LB 2016-12-01 21:19:33 +11:00
zilmar 374d70da7c [Android] Reset reg protection after syncing registers 2016-11-29 16:52:47 +11:00
zilmar ee51bcdd36 [Android] add case when copying register values in CArmRegInfo::Map_GPR_64bit 2016-11-29 16:51:44 +11:00
zilmar f912cb7efe [Android] Handle exception from strhne and strh 2016-11-29 16:50:49 +11:00
zilmar c408ba9c17 [Android] Cleanup/fixup CArmOps::MoveConstToArmReg 2016-11-28 07:40:57 +11:00
zilmar a25f22a9af [Project64] Fix some warnings 2016-11-28 07:34:02 +11:00
zilmar 66b22ecab1 [Project64] Fix some usage of friend 2016-11-28 07:28:13 +11:00
zilmar 2c3b810288 [Android[ Implement CArmRecompilerOps::ORI 2016-11-25 20:00:39 +11:00
zilmar ac91bd8ce1 [Android] Add another case in CArmRecompilerOps::BLTZ_Compare 2016-11-25 17:35:56 +11:00
zilmar 10ae0da041 [Android] Fix bug in CArmOps::ThumbCompressConst and add another case 2016-11-25 17:34:01 +11:00
zilmar c8b3725d5f [Project64] Update code for abl code 2016-11-23 18:58:22 +11:00
zilmar b313f8b90c [Project64] implement CArmRecompilerOps::COP0_CO_TLBWR 2016-11-23 18:53:14 +11:00
zilmar c14decfa3c [Project64] update CArmRecompilerOps::SPECIAL_SLT 2016-11-23 18:50:54 +11:00
zilmar 8cb1a52727 [Project64] Update CArmRecompilerOps::SPECIAL_XOR 2016-11-23 18:47:41 +11:00
zilmar bc8c63389b [Project64] update CArmRecompilerOps::SPECIAL_SUB 2016-11-23 18:45:29 +11:00
zilmar fec180366b [Project64] Update CArmRecompilerOps::SPECIAL_JALR 2016-11-23 18:43:04 +11:00
zilmar 740c13ec79 [Project64] Update CArmRecompilerOps::SPECIAL_JR 2016-11-23 18:39:52 +11:00
zilmar 49dd2a6ad6 [Project64] Implement a case for CArmRecompilerOps::BEQ_Compare 2016-11-23 18:37:14 +11:00
zilmar bceb4792ed [Project64] Add pre op check before an op 2016-11-23 18:34:32 +11:00
zilmar e8a54ffa2d [Project64] Add case in CArmRecompilerOps::LWC1 2016-11-23 18:02:19 +11:00
zilmar a9f613dd7a [Project64] Implement void CArmRecompilerOps::SW() 2016-11-23 18:00:35 +11:00
zilmar 6fdd79189f [Android] implement CArmRecompilerOps::LW 2016-11-23 09:18:23 +11:00
zilmar 6467d0e9f0 [Project64] Add CArmRecompilerOps::LB_KnownAddress 2016-11-23 09:10:15 +11:00
zilmar ba7315922f [Project64] Implement CArmRecompilerOps::LUI 2016-11-23 09:05:12 +11:00
zilmar d4f281a638 [Project64] Make more functions private in CArmRecompilerOps 2016-11-23 09:03:40 +11:00
zilmar 2336fd0fc9 [Project64] Update logging in CArmRegInfo::Map_GPR_32bit 2016-11-23 09:02:55 +11:00
zilmar 5d5b14de47 [Project64] Add CArmRegInfo::operator== 2016-11-23 08:52:05 +11:00
zilmar 94c9cc1848 [Project64] Add CArmRegInfo::UnProtectGPR 2016-11-23 08:48:41 +11:00
zilmar d1a2e29f9b [Project64] Add LogRegisterState when no registers available 2016-11-23 08:47:28 +11:00
zilmar b8985ce815 [Project64] Keep Arm_R11 for temp reg 2016-11-23 08:39:40 +11:00
zilmar 442429b5dc [Project64] Add more variable to map and fix reg for GPR variable 2016-11-23 08:29:11 +11:00
zilmar a8eda0d391 [Project64] Add CArmRegInfo::VariableMapName 2016-11-23 06:28:54 +11:00
zilmar 13a1f9fc25 [Project64] fix CArmRecompilerOps::ADDI 2016-11-22 22:40:55 +11:00
zilmar 13fa7446df [Project64] WriteBack_GPR instead of unmap 2016-11-22 22:39:24 +11:00
zilmar 7cf0fe045f [Project64] Update CArmRecompilerOps::JAL 2016-11-22 21:30:05 +11:00
zilmar e6b483ef85 [Project64] Update CArmRecompilerOps::BLEZ_Compare 2016-11-22 21:28:56 +11:00
zilmar c166c307a2 Update CArmRecompilerOps::BEQ_Compare 2016-11-22 21:22:39 +11:00
zilmar b9d21af5b5 [Project64] Update CArmRecompilerOps::BNE_Compare 2016-11-22 21:21:07 +11:00
zilmar 3846cb4515 Remove CDebugSettings from CArmRecompilerOps 2016-11-22 21:18:09 +11:00
zilmar 5ea6c2c0c5 [Projec64] Fix CArmOps::MoveConstToArmReg to use compress value 2016-11-22 21:09:10 +11:00
zilmar 4053bc2286 [Project64] Fix CArmOps::SetJump20 for negative 2016-11-22 21:07:44 +11:00
zilmar a5a1547131 [Project64] Get CArmOps::MoveConstToArmReg to work in IT block 2016-11-22 20:56:36 +11:00
zilmar 3704300b44 [Project64] Update CArmOps::SubConstFromArmReg to have source and dest reg 2016-11-22 20:41:19 +11:00
zilmar e5b260b078 [Project64] Add ArmBreakPoint 2016-11-22 18:09:37 +11:00
zilmar 28e4ba2e8c [Project64] Add CArmOps::ProgressItBlock 2016-11-22 18:06:50 +11:00
zilmar 88fc1130c8 [Project64] Add comment to StoreArmRegToArmRegPointer 2016-11-22 18:04:17 +11:00
zilmar b046831771 [Project64] Add CArmOps::SubArmRegFromArmReg 2016-11-22 18:02:53 +11:00
zilmar abb764d0c4 [Project64] Add CArmOps::StoreArmRegToArmRegPointer 2016-11-22 18:00:45 +11:00
zilmar 7ea5418168 [Project64] Add CArmOps::OrConstToVariable 2016-11-22 17:59:04 +11:00
zilmar e1e82546bb [Project64] Add CArmOps::OrConstToArmReg 2016-11-22 17:57:54 +11:00
zilmar b672cfa21b [Project64] Add CArmOps::MoveArmRegToVariable 2016-11-22 17:56:23 +11:00
zilmar 86d7fbd4b8 [Project64] Add comment to LoadArmRegPointerToArmReg 2016-11-22 17:54:46 +11:00
zilmar 4686ce7127 [Project64] Add LoadArmRegPointerByteToArmReg 2016-11-22 17:53:10 +11:00
zilmar e42cb0f2c7 [Project64] Fix up usage of AndArmRegToArmReg 2016-11-22 17:52:04 +11:00
zilmar afd92fc562 [Project64] Add second source to AndArmRegToArmReg 2016-11-22 17:48:03 +11:00
zilmar beea1d8c27 [Project64] Add AndConstToArmReg 2016-11-22 17:45:07 +11:00
zilmar 0b53e3e584 [Projec64] Add AndConstToVariable 2016-11-22 17:43:59 +11:00
zilmar ae27b59621 [Project64] Rename ArmBranchCompare to ArmCompareType 2016-11-22 17:41:46 +11:00
zilmar dff480d6dc [Android] Add CArmOps::IfBlock 2016-11-22 17:34:47 +11:00
zilmar cb29d3b98e [Android] Add another case to ThumbCompressConst 2016-11-22 07:51:08 +11:00
zilmar e6200faba1 [Project64] Some code clean up of x86RecompilerOps.cpp 2016-11-21 18:14:47 +11:00
zilmar fb0a172d56 [Project64] Some code clean up 2016-11-19 06:49:24 +11:00
zilmar 658b9db8aa [Project64] Move check for GetRoundingModel() to base 2016-11-14 18:15:24 +11:00
zilmar 97f1d8302d [Android] Handle SPECIAL_XOR recompiler case 2016-10-09 20:20:10 +11:00
zilmar 583ae10422 Merge branch 'master' of https://github.com/project64/project64 2016-10-06 23:00:47 +11:00
zilmar 1686e60b26 [Android] Fix CArmRecompilerOps::CompileReadTLBMiss 2016-10-06 22:59:03 +11:00
zilmar 2b3d26d260 Merge pull request #1209 from JunielKatarn/compile_functionmap_x64
Fixed includes for FunctionMapClass.
2016-10-05 15:06:11 +11:00
Julio C. Rocha d22fdef0eb Fixed includes for FunctionMapClass. 2016-10-04 20:19:16 -07:00
zilmar a278a2cde6 [Project64] Fix CPU profiling 2016-10-05 06:58:11 +11:00
zilmar fd69ab6b18 [Project64] Add Profiling 2016-10-03 08:46:05 +11:00
zilmar 3be044ba71 [Android] Fix up compilation issues 2016-10-02 07:22:10 +11:00
zilmar bd2d5b507a [Android] in CArmRecompilerOps::CompileInterpterCall load the variable after BeforeCallDirect 2016-10-02 07:05:37 +11:00
zilmar 9a6c8419e9 [Android] Optimize CArmRecompilerOps::UpdateCounters 2016-10-02 07:03:12 +11:00
zilmar c2a960771c [Android] make sure the working reg set is not changed in CArmRecompilerOps::CompileSystemCheck 2016-10-02 07:00:23 +11:00
zilmar f3ebb20bb1 [Android] Have CArmRecompilerOps::CompileExit write back as the working reg set 2016-10-02 06:55:59 +11:00
zilmar 41baaa015b [Android] Get CArmRecompilerOps::CompileCop1Test to use temp registers 2016-10-02 06:54:22 +11:00
zilmar d8bab5ac7f [Android] Push the rest of the register on enter/exit code block 2016-10-02 06:53:18 +11:00
zilmar a302c17a76 [Android] get CArmRecompilerOps::COP1_S_MUL to use register caching 2016-10-01 22:01:58 +10:00
zilmar 56cbe56482 [Android] CArmRecompilerOps::SPECIAL_XOR use register caching 2016-10-01 21:59:52 +10:00
zilmar 4a5ede2287 [Android] get CArmRecompilerOps::SPECIAL_JALR to use dynamic registers 2016-10-01 21:40:58 +10:00
zilmar 8f6ca9c15a [Android[ void CArmRecompilerOps::SPECIAL_JR() 2016-10-01 20:52:33 +10:00
zilmar 75fba4be38 [Android] get CArmRecompilerOps::LWC1 to use reg caching 2016-10-01 20:35:02 +10:00
zilmar b2ebefd767 [Android] fix CArmRecompilerOps::CACHE() 2016-10-01 20:33:17 +10:00
zilmar 047d8b6d84 [Android] Get CArmRecompilerOps::LB to use reg caching 2016-10-01 20:31:35 +10:00
zilmar 6e8b25ecf0 [Android] do not try to unmap reg 0 2016-10-01 20:24:42 +10:00
zilmar b427722113 [Android] Get CArmRecompilerOps::ADDI() to use register caching 2016-10-01 19:05:15 +10:00
zilmar aa241e61a0 [Android] fix CArmRecompilerOps::JAL 2016-10-01 18:40:12 +10:00
zilmar aa6f026e04 [Android] get CArmRecompilerOps::BGEZ_Compare to use reg caching 2016-10-01 18:39:06 +10:00
zilmar db65ab1ef0 [Android] Get CArmRecompilerOps::BLTZ_Compare to use reg caching 2016-10-01 18:38:03 +10:00
zilmar 189e3b25f7 [Android] Get CArmRecompilerOps::BLEZ_Compare to use register caching 2016-10-01 18:33:48 +10:00
zilmar ffd791404d [Android] get CArmRecompilerOps::BGTZ_Compare to use register caching 2016-10-01 18:27:02 +10:00
zilmar ff4093938f [Android] get CArmRecompilerOps::BEQ_Compare to use register caching 2016-10-01 18:16:11 +10:00
zilmar 71875c0d7b [Android] Get CArmRecompilerOps::BNE_Compare to use register caching 2016-10-01 18:12:46 +10:00
zilmar cf698d7076 [Android] Add CArmRegInfo::ResetRegProtection 2016-10-01 17:05:33 +10:00
zilmar 9c8e7309de [Android] Fix up CArmRegInfo::Map_TempReg 2016-10-01 16:55:06 +10:00
zilmar a0b3a02f5f [Android] Fix up CArmRegInfo::UnMap_ArmReg 2016-10-01 16:52:33 +10:00
zilmar 81ebd33304 [Android] Move CArmRegInfo::FreeArmReg and CArmRegInfo::UnMap_AllFPRs 2016-10-01 15:32:01 +10:00
zilmar 516985ba21 [Android] fix up CArmRegInfo::WriteBackRegisters 2016-10-01 15:27:34 +10:00