Commit Graph

155 Commits

Author SHA1 Message Date
zilmar 2708be5577 fixed change for mthi and mtlo in 32bit core 2012-10-05 19:22:32 +10:00
zilmar 0a320a2953 update cycles before SI dma read/write 2012-10-05 19:22:01 +10:00
zilmar ad10525303 Cleaned up more warnings (on warning level 4) 2012-10-05 19:20:53 +10:00
zilmar b809b57faa Clean up warning level (warning level 4) from profiling class 2012-10-05 19:18:02 +10:00
zilmar 856e9838dc clean up warnings (warning level 4) in debugger files 2012-10-05 19:16:54 +10:00
zilmar 18420c0e8b removed 32bit version of mthi & mtlo (only using 64bit version) 2012-10-05 19:11:30 +10:00
zilmar 74066e0b04 added trace protected memory (changed from error to protected memory) 2012-10-05 19:10:18 +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 2b24f49b84 Merge remote-tracking branch 'origin/head'
Conflicts:
	Source/Project64/N64 System/Mips/FlashRam.cpp
2012-10-04 12:33:04 +10:00
zilmar c291ab8457 Fail to start if sync core plugins fail to initialize 2012-10-04 11:43:42 +10:00
zilmar 236f2a1ddb do not fail on write invalid non memory address (failure should be for a tlb miss, not unhandled register 2012-10-04 10:07:26 +10:00
zilmar ff564bc11a Update changes to deal with debug warning 2012-10-04 10:04:08 +10:00
Emmet Young cf761b3f70 Fix up the Load and Save as options by using direct calls to the LoadState and SaveState function, pausing the cpu stops the event queue from being processed from the looks of it so we get stuck on trying to load and save a state. Zilmar you might want to tell me if I'm wrong here XD 2012-10-04 00:22:13 +10:00
Emmet Young ac0108a9b8 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2012-10-03 16:34:21 +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
Emmet Young 2e6fc68897 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2012-10-03 06:44:52 +10:00
zilmar aa76a1d641 Cleaned up some of the initialization code from the C Core refactoring 2012-10-03 05:42:06 +10:00
zilmar 6dc3d85ff6 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2012-10-02 21:15:40 +10:00
zilmar f973674718 Removed clear on write (needs to be refracted) 2012-10-02 21:04:14 +10:00
Emmet Young 721e56c94c Add a bitmask in FlashRam.cpp to resolve a potential loss of data error being caused in DOUBUTSU NO MORI (Animal Crossing) 2012-10-02 17:40:14 +10:00
Emmet Young 730655dda2 Finishing up on refactoring of the "C Core Interface.cpp" file
Added a 'header guard' to 7zip.h to stop multiple definitions

TODO: Refactor/clean up Mempak.cpp more
2012-10-02 01:32:32 +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
zilmar 977631bfd8 Add writing to PI DOMAIN2 registers 2012-10-01 13:47:35 +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
Emmet Young 74ea476d05 More refactoring 2012-10-01 00:37:40 +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
Emmet Young 8d9e7df438 Core: [-] Remove the Win32Timer since it is not longer used 2012-09-29 23:23:40 +10:00
zilmar 076fecf43b Fixed sign issue in OR and NOR 2012-09-29 20:07:42 +10:00
zilmar 46bfe664aa fix issue with SDL and SDR using recompiler m_opcode 2012-09-29 19:46:13 +10:00
zilmar cece44d21c Added SDL and SDR for recompiler 2012-09-29 19:04:45 +10:00
zilmar 322c85802b Refracted and cleaned up code related to tlb read/write miss 2012-09-29 17:58:16 +10:00
zilmar 249d2a33f1 added tlb checking to syncing the cores 2012-09-29 06:17:44 +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 77d68a5aad Optimized reset stack pointer when stack pointer was already mapped 2012-09-28 08:54:38 +10:00
zilmar 07286c302a Fixed delay overflow with jump instruction 2012-09-28 08:13:59 +10:00
zilmar 52427bb87f Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2012-09-27 14:10:37 +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
Emmet Young 383446bdd3 Remove the extra IsValidRomImage from Rom browser, and make it use the one from within the n64 rom class.h file 2012-09-27 00:42:28 +10:00
Emmet Young a5befbcc87 Fix up a silly mistake of mine -.- 2012-09-26 20:42:12 +10:00
Emmet Young 8e1b58a7fa Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2012-09-26 20:38:12 +10:00
Emmet Young 04e21bea16 Slightly re-order the PifRam.cpp file.
Add in support for the Real time clock, it reads the current time and date straight from the computer.
2012-09-26 20:36:52 +10:00
zilmar e12e24f572 Reset recompiler code when buffer gets to full 2012-09-26 20:32:39 +10:00
Emmet Young 920e376298 Change our PIF response to use X-scales algorithm, removes the requirement for the PIF responses to be stored in any way. 2012-09-26 20:26:17 +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 47e8774315 fixed up interpreter use of tlb 2012-09-25 18:35:15 +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
zilmar b372675796 fixed a spelling mistake of tranlate to translate 2012-09-24 16:49:14 +10:00
zilmar f2a5df90f9 Added Game Settings class, with removing the global of tlb use 2012-09-24 11:14:02 +10:00
zilmar fe2b8eae9b Fixed that Interpreter and cpu will both have same cycle count after MT CP0 Compare 2012-09-24 08:21:56 +10:00
zilmar 35890965a0 Fixed where timing was off slightly between Interpreter and recompiler when going in to a permanent loop 2012-09-24 08:20:43 +10:00
zilmar cb46a4cc6b Added better syncing of timing between Interpreter and recompiler 2012-09-24 08:18:44 +10:00
zilmar 86397d912c commit the local changes I had on my hard disk 2012-09-22 15:53:39 +10:00
zilmar e815584b59 git-svn-id: https://localhost/svn/Project64/trunk@51 111125ac-702d-7242-af9c-5ba8ae61c1ef 2011-01-04 09:10:28 +00:00
zilmar d4c874abca git-svn-id: https://localhost/svn/Project64/trunk@50 111125ac-702d-7242-af9c-5ba8ae61c1ef 2011-01-02 10:40:00 +00:00
zilmar 8fc98904a9 git-svn-id: https://localhost/svn/Project64/trunk@48 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-11-30 10:47:43 +00:00
zilmar f6cfb46c57 git-svn-id: https://localhost/svn/Project64/trunk@47 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-11-12 05:30:08 +00:00
zilmar 49d660df78 git-svn-id: https://localhost/svn/Project64/trunk@46 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-10-29 03:20:25 +00:00
zilmar dae4e73c89 git-svn-id: https://localhost/svn/Project64/trunk@45 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-10-23 18:53:01 +00:00
zilmar aa45579e34 git-svn-id: https://localhost/svn/Project64/trunk@44 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-09-22 21:43:42 +00:00
zilmar f92a2c67ba git-svn-id: https://localhost/svn/Project64/trunk@43 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-07-23 10:45:35 +00:00
zilmar 0db60d35c2 git-svn-id: https://localhost/svn/Project64/trunk@42 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-07-05 11:29:46 +00:00
zilmar edcaea006b git-svn-id: https://localhost/svn/Project64/trunk@41 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-30 21:35:44 +00:00
zilmar 5b2b21cd08 git-svn-id: https://localhost/svn/Project64/trunk@40 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-29 02:11:22 +00:00
zilmar 40df433273 git-svn-id: https://localhost/svn/Project64/trunk@38 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-22 20:36:28 +00:00
zilmar a67155f8e4 git-svn-id: https://localhost/svn/Project64/trunk@37 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-17 11:01:42 +00:00
zilmar 7bbfde5297 git-svn-id: https://localhost/svn/Project64/trunk@36 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-16 07:31:47 +00:00
zilmar 1c585a93bd git-svn-id: https://localhost/svn/Project64/trunk@35 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-14 21:14:58 +00:00
zilmar a5bfa92557 git-svn-id: https://localhost/svn/Project64/trunk@34 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-12 02:02:06 +00:00
zilmar 41d4f7ff04 git-svn-id: https://localhost/svn/Project64/trunk@33 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-07 02:23:58 +00:00
zilmar b00856cd86 git-svn-id: https://localhost/svn/Project64/trunk@32 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-06-04 06:25:07 +00:00
zilmar 8624a415b9 git-svn-id: https://localhost/svn/Project64/trunk@31 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-31 00:21:08 +00:00
zilmar ce1ff4d421 git-svn-id: https://localhost/svn/Project64/trunk@30 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-30 01:54:42 +00:00
zilmar 142187aafb git-svn-id: https://localhost/svn/Project64/trunk@29 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-25 09:15:19 +00:00
zilmar 4200b4b6af git-svn-id: https://localhost/svn/Project64/trunk@28 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-23 10:05:41 +00:00
zilmar f9db52309f git-svn-id: https://localhost/svn/Project64/trunk@27 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-22 04:47:15 +00:00
zilmar f148d1b94c git-svn-id: https://localhost/svn/Project64/trunk@23 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-16 06:27:33 +00:00
zilmar 4723cc7407 git-svn-id: https://localhost/svn/Project64/trunk@22 111125ac-702d-7242-af9c-5ba8ae61c1ef 2010-05-14 23:28:15 +00:00
zilmar 3e0e336a52 git-svn-id: https://localhost/svn/Project64/trunk@20 111125ac-702d-7242-af9c-5ba8ae61c1ef 2009-12-28 22:22:50 +00:00