Commit Graph

198 Commits

Author SHA1 Message Date
zilmar ffb69091a1 Updated how Fixed audio works with dual buffers and AI Interrupts 2012-11-03 10:27:19 +11:00
zilmar 8af55ad6c0 cleaned up more warnings 2012-11-03 10:26:11 +11:00
zilmar 62efa0fa4a Updated tlb check in Compile LW 2012-11-03 10:25:23 +11:00
zilmar 9c245e3c39 Changed the RSP test to be one if statement 2012-11-02 17:05:08 +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 4be9e911b8 Cleaned up RSP audio setting and SW when const value is a tlb address 2012-10-25 19:36:47 +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 0cdb90fa6d If RSP did not halt, re run it after a few cycles 2012-10-24 22:56:58 +11:00
zilmar 14eff29e3a removed mention of CC_Core 2012-10-24 22:55:51 +11:00
zilmar 68d6692421 Merge branch 'ABL-Refactor' 2012-10-23 21:41:24 +11:00
zilmar 493831507d Merge remote-tracking branch 'remotes/origin/master' 2012-10-23 21:39:12 +11:00
zilmar 39d57a5750 More fixes related to changes in ABL 2012-10-23 19:06:13 +11:00
zilmar a75034a723 updated where counters get updated related to register writes 2012-10-23 19:03:43 +11:00
zilmar 3316e4736a Add sync to PC function and show fpu register in sync dump 2012-10-23 19:02:47 +11:00
zilmar 6e8b92d8bc Changed sqrt.s to use x86 asm version of sqrt 2012-10-23 19:01:42 +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
Emmet Young f3b672ec37 Fix some naming mistakes in Mempak.cpp from previous commit 2012-10-06 23:55:56 +10:00
Emmet Young c72f2150e3 Remove no longer used C files.
Clean up mempak.cpp's file loading method up.
2012-10-06 20:25:56 +10: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 ba27b5e423 Added delay DP interrupt + refractoring of some of the settings 2012-10-06 09:53:11 +10:00
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