Commit Graph

177 Commits

Author SHA1 Message Date
zilmar e814eb967b Recompiler: deal with edge condition of Normal_NoSysCheck 2013-01-29 21:42:15 +11:00
zilmar a1ac10fc42 Recompiler: tweaked protect register and DSLL values 2013-01-28 19:37:59 +11:00
zilmar 3933cdef08 recompiler: Remove double check of timer done for branch when delay slot effects compare 2013-01-16 06:00:57 +11:00
zilmar 884b408b2d r4300: Cleaned up code for checking interrupts on JAL and JALR 2013-01-14 17:12:11 +11:00
zilmar 196b8ee100 Recompiler Ops: Jal to use relative address 2013-01-12 08:16:35 +11:00
zilmar 14bd317e40 Bug: Fix bugs in allocation with function map 2013-01-05 09:47:28 +11:00
zilmar 8c48ba4f70 Mips: Refactor loading of plugins and how game is shut down 2013-01-03 19:51:00 +11:00
zilmar 42dbc691bd Fix bug in TLB writes 2012-12-31 18:02:54 +11:00
zilmar 47e393e498 CRecompilerOps::Compile_BranchLikely: handle the case of continue fall through on 0xFFC 2012-12-22 19:45:52 +11:00
zilmar 5cc6a91a41 CCodeBlock::AnalyzeInstruction: better handling of R4300i_REGIMM_BLTZ 2012-12-22 19:44:26 +11:00
zilmar 4f6d6effa3 Added GPL header 2012-12-19 20:30:18 +11:00
zilmar a444ad3e52 add __FUNCTION__ to trace messages 2012-12-17 11:21:29 +11:00
zilmar c3b743adf1 Game settings: Moved from recompiler settings, moved to n64system as base 2012-11-29 22:23:35 +11:00
zilmar 6067e5b0de Global Variable: rename _TLBLoadAddress to g_TLBLoadAddress 2012-11-17 21:50:11 +11:00
zilmar 7f00d50dc6 Global Variable: rename _NextTimer to g_NextTimer 2012-11-17 14:45:50 +11:00
zilmar 0410fafd3b Global Variable: rename _SystemEvents to g_SystemEvents 2012-11-17 14:43:02 +11:00
zilmar e8b96dd915 Global Variable: Rename _TransVaddr to g_TransVaddr 2012-11-17 13:35:36 +11:00
zilmar 2bebce913e Global Variable: Rename _SystemTimer to g_SystemTimer 2012-11-17 13:31:46 +11:00
zilmar 3a73b759ad Global Variable: Rename _Reg to g_Reg 2012-11-17 13:18:14 +11:00
zilmar c219c0ab6a Global Variable: rename _TLB to g_TLB 2012-11-17 13:16:38 +11:00
zilmar 6c954c690c Global Variable: Rename _MMU to g_MMU 2012-11-17 12:18:00 +11:00
zilmar 278f99cf39 Global Variable: Rename _Recompiler to g_Recompiler 2012-11-17 12:15:55 +11:00
zilmar 4e1d29d322 Global Variable: Rename _SyncSystem to g_SyncSystem 2012-11-17 12:12:54 +11:00
zilmar c3df4cf49d Global Variable: Rename _BaseSystem to g_BaseSystem 2012-11-17 12:09:19 +11:00
zilmar 299df0e293 Global Variable: rename _System to g_System 2012-11-17 12:07:04 +11:00
zilmar d09a8adf10 Global Variable: rename _Settings to g_Settings 2012-11-17 12:02:04 +11:00
zilmar ab57cdbc7e Global Variable: Rename _Notify to g_Notify 2012-11-17 11:58:31 +11:00
zilmar ca161dfd07 Recompiler: Add perm loop check for R4300i_REGIMM_BGEZ in CheckLoopRegisterUsage 2012-11-17 11:53:29 +11:00
zilmar 8242822aa1 Recompiler: Add R4300i_REGIMM_BLTZAL to Analyze Instruction 2012-11-17 11:52:23 +11:00
zilmar 3e99f09243 Fixes to protected memory 2012-11-06 19:23:59 +11:00
zilmar b02959e7bb Changed function names for getting/setting reg information 2012-11-06 19:23:57 +11:00
zilmar 4b03d36b62 Change of initial block code with 64bit system 2012-11-05 21:09:15 +11:00
zilmar ef8c9b02c3 Added DSRAV and Clean up usages of SetJump8 2012-11-05 21:08:33 +11:00
zilmar f1a0c788ed Fix loop analysis for BGEZ 2012-11-03 12:38:18 +11:00
zilmar 464c280fa6 Change some of the Reg Info functions to be get and setters 2012-11-03 12:18:08 +11:00
zilmar 8af55ad6c0 cleaned up more warnings 2012-11-03 10:26:11 +11:00
zilmar 6490277a31 compile TLB Miss with const 2012-10-25 19:38:58 +11:00
zilmar ec106c94b8 Cleaned up clear related to tlb write 2012-10-25 19:37:52 +11:00
zilmar 9818ea1f8b Cleaned up warnings on warning level 4 2012-10-25 19:35:04 +11:00
zilmar d72f2c2c55 More bug fixes related to ABL change, paper mario now boots 2012-10-24 22:57:57 +11:00
zilmar 39d57a5750 More fixes related to changes in ABL 2012-10-23 19:06:13 +11:00
zilmar cf1ea3484e clean up jump check 2012-10-23 04:03:49 +11:00
zilmar f6e7199118 cleaning up type and formating 2012-10-22 21:36:57 +11:00
zilmar 4a3073af6d More bug fixing related to changes ABL 2012-10-22 19:02:53 +11:00
zilmar d8d5379e2a Changed how find the next block to analysis 2012-10-22 04:03:32 +11:00
zilmar 0a84d1a0a3 Keep track of register modified in loop analysis 2012-10-21 10:19:09 +11:00
zilmar 966349aeb4 changed how linking to enter section 2012-10-20 15:19:06 +11:00
zilmar de5f7d543f clean up pc == target for REGIMM_BGEZL 2012-10-20 09:15:58 +11:00
zilmar d6a1a8cf52 Reset compile PC on delay slot section 2012-10-20 09:06:15 +11:00
zilmar 5f41558e49 Fixed delay slot at edge condition 2012-10-20 06:06:30 +11:00
zilmar 5f09adbc49 More fixes to ABL core, mario now booting 2012-10-19 17:32:42 +11:00
zilmar e638b161f2 more bug fixes with ABL refactoring, mario now boots 2012-10-18 20:58:24 +11:00
zilmar 9ba2812062 fix analysis of BEQ and Perm Loop 2012-10-17 22:34:55 +11:00
zilmar 22fd128452 fixed bug where if fall in to next section, and section fails to compile then it was not working correctly. 2012-10-17 22:25:25 +11:00
zilmar 923576c93c Added tracking of end block to detect if block should be split 2012-10-17 20:04:11 +11:00
zilmar b5bee95acb More code cleanup with getting ABL to try and work for super mario 2012-10-16 22:17:18 +11:00
zilmar aad58b8866 Cleaned up more code related to ABL 2012-10-16 08:47:05 +11:00
zilmar ccb1de6682 Firedemo and n64 stars now runs under ABL 2012-10-15 18:41:30 +11:00
zilmar b83e4dcf7b Added more logging and fixes to the refactoring of ABL 2012-10-15 08:37:48 +11:00
zilmar 347d358e39 Cleaned up more code related to the code block 2012-10-14 17:33:51 +11:00
zilmar afedaf38d6 Initial refractoring of ABL 2012-10-14 12:05:52 +11:00
zilmar 47f184d201 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2012-10-06 14:10:49 +10:00
zilmar 9dd62a9998 Cleaned up more warnings (on warning level 4) 2012-10-06 14:09:17 +10:00
Emmet Young 25a0bd6f11 Add some entries to the RDB for recently leaked games
Remove the break point in COP1_S_CEIL_W  since Taz requires this function to work properly in recompiler, the function appears to be working properly.
2012-10-06 13:08:23 +10:00
zilmar 2708be5577 fixed change for mthi and mtlo in 32bit core 2012-10-05 19:22:32 +10:00
zilmar 523b1eb3ff cleaned up warnings (warning level 4) in Reg Info.cpp 2012-10-05 06:28:59 +10:00
zilmar a3c225ecf5 changed some of the functions to set/get register information to be clearer setters and getters 2012-10-04 21:01:10 +10:00
zilmar 19cb5e0e6c fixed dsubu 2012-10-04 13:17:19 +10:00
zilmar 0eacb90197 fixed typo in NOR 2012-10-03 09:17:13 +10:00
zilmar 2b83842076 Cleaned up NOR 2012-10-03 09:03:21 +10:00
zilmar 15894a0e6c added more error checking around clearing code 2012-10-01 13:53:21 +10:00
zilmar 95e2b17796 Remove delay slot table 2012-10-01 13:49:31 +10:00
Emmet Young ee3abe73a8 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development
Conflicts:
	Source/Project64/N64 System/Interpreter/Interpreter Ops.cpp
2012-10-01 00:52:47 +10:00
zilmar 021c76fce7 refracted code up code related div by zero 2012-09-30 23:07:00 +10:00
Emmet Young 90b0f6d60d More refactoring of the remaining C code 2012-09-30 22:24:07 +10:00
Emmet Young 5c8cad4b5d Core: More refactoring of the remaining C code 2012-09-30 16:07:08 +10:00
Emmet Young 76ca53f8f2 Core: [-] Remove the old C style display errors
[~] Move everything over to the newer notification system
2012-09-29 23:52:06 +10:00
zilmar 076fecf43b Fixed sign issue in OR and NOR 2012-09-29 20:07:42 +10:00
zilmar 322c85802b Refracted and cleaned up code related to tlb read/write miss 2012-09-29 17:58:16 +10:00
zilmar 42408d5b4b Fixed an issue with perm loop when advance block linking is on 2012-09-29 06:15:02 +10:00
zilmar ca4c7fd107 Fixed up COPO_MT wirded and TLBWR 2012-09-29 06:13:15 +10:00
zilmar 9a5865fea7 SLT 32 bit core should always only do a 32 bit comparison 2012-09-29 06:11:16 +10:00
zilmar f0c7291cd7 Make sure we are still doing a tlb miss when executing from a non valid tlb location (even if we have valid code there) 2012-09-29 06:09:27 +10:00
zilmar c6c80c0f04 Refracted some settings locations, removed some extra code from C Core, added a tlb miss menu option 2012-09-29 06:07:45 +10:00
zilmar b0c2626137 Add reset SP when SP is the target for ADD, ADDU, SUB 2012-09-28 09:02:01 +10:00
zilmar 48f661a6d6 Got SUBU to reset stack pointer if dest reg is SP 2012-09-28 08:55:45 +10:00
zilmar 07286c302a Fixed delay overflow with jump instruction 2012-09-28 08:13:59 +10:00
zilmar a1832f6928 Directly call timer done after perm loop, do not need to check the timer 2012-09-27 13:43:24 +10:00
zilmar e12e24f572 Reset recompiler code when buffer gets to full 2012-09-26 20:32:39 +10:00
zilmar f391e1db6c Get it to always build the interpreter CPU 2012-09-26 17:11:56 +10:00
zilmar 3db4a1e595 added main look for the Recompiler where we are using Lookup and validate with TLB on 2012-09-26 17:10:47 +10:00
zilmar beb6b0c244 Fixed issues where JR did not check timer if jumping to constant 2012-09-26 14:01:27 +10:00
zilmar 5716e32ee8 cleaned up some code in Compile_Branch related to delay slot 4k overflow 2012-09-26 11:31:17 +10:00
zilmar 0976616c3c JALR now handles delay slot over 4k boundary 2012-09-26 10:55:09 +10:00
zilmar 4a52f9182c In overflow delay slot make sure TestTimer is set for jr 2012-09-26 10:38:29 +10:00
zilmar 89bc4087ef updated zlib, Moved and cleaned up the project settings in to property sheets also cleaned up some warnings 2012-09-26 09:23:20 +10:00
zilmar c07324ba53 fixed issue for sp hack where a jump delay slot which is on the 4k boundary modifies the stack pointer. 2012-09-26 08:07:49 +10:00
zilmar 114bcfa35e Changed what X86Breakpoint displayed in the cpu out put log file 2012-09-25 15:59:07 +10:00
zilmar f52f82e8b5 Changed handling of delay slot which goes over a 4k boundary to be executed by the interpret code instead of trying to be compiler. This means we do not have to care about the self mod of the delay slot 2012-09-25 15:58:06 +10:00
zilmar 5344507496 Re-added buffer check on lookup core 2012-09-25 08:07:51 +10:00