Commit Graph

4608 Commits

Author SHA1 Message Date
zilmar 5cfb80fcfc Core: Improve R4300iOp::COP1_S_CVT_W 2023-04-24 19:02:00 +09:30
zilmar 71ef28fd55 Core: Add R4300iOp::COP1_W_CVT_W 2023-04-24 18:55:06 +09:30
zilmar ab8b004b71 Core: Add a setting for fpu reg caching 2023-04-17 18:47:33 +09:30
zilmar cba01b2063 Core: Improve R4300iOp::COP1_L_CVT_D 2023-04-17 18:08:51 +09:30
zilmar d9e69fee65 Core: Improve R4300iOp::COP1_D_CMP 2023-04-17 18:07:58 +09:30
zilmar 0cc6d21ad1 Core: Improve R4300iOp::COP1_S_CMP 2023-04-17 18:06:42 +09:30
zilmar 9297b1c4b8 Core: Improve COP1_S_CVT_D, COP1_W_CVT_D, COP1_D_CVT_S, COP1_W_CVT_S, COP1_L_CVT_S, 2023-04-11 16:20:24 +09:30
zilmar 9a04293a67 Update arm/arm64 to use asmjit 2023-04-05 10:16:21 +09:30
zilmar 2c40d47a34 Start to look at x64 recompiler 2023-04-04 17:44:42 +09:30
zilmar fe35d950f3 x64: Change MemoryStackPos to be a pointer 2023-04-03 09:08:43 +09:30
zilmar 422a42cae3 Core: More work improve the accuracy of cop1 2023-03-28 13:12:59 +10:30
zilmar ce69324dbe Core: Update R4300iOp::COP1_S_MUL to handle exceptions 2023-03-21 10:49:49 +10:30
zilmar cbf67cede4 Core: Update sub.d to handle exceptions 2023-03-20 17:17:31 +10:30
zilmar 96787690c7 Core: Fix CoprocessorUnitNumber on exception 2023-03-20 12:09:06 +10:30
zilmar 7f7aee7232 Core: remove FAKE_CAUSE_REGISTER 2023-03-14 12:14:10 +10:30
David Benepe 96792b18c8
Fixed DPI scaling issue in some debugger windows (#2353) 2023-03-12 16:58:32 +10:30
zilmar 9093b42d47 Core: improve the accuracy of COP1_S_SUB 2023-03-06 20:58:47 +10:30
zilmar 306f21b5fa Core: Improve accuracy of add.d 2023-03-06 18:28:32 +10:30
zilmar a25e5ca4c0 x64: Fix rom browser showing columns 2023-03-04 07:19:35 +10:30
Matando f048fb26e2
Fix MBC30 transferpak support in nrage input plugin (#2292) 2023-03-03 09:58:24 +10:30
zilmar ea70218d1c Clean up warnings 2023-02-28 10:09:08 +10:30
zilmar cb124b7009 x64: Get PluginRSP to build for x64 2023-02-27 11:25:22 +10:30
zilmar 0e5b6cd0e8 Common: update stdstr::Replace with the version of replace being used 2023-02-27 11:02:25 +10:30
zilmar 1864adcb35 Core: improve the accuracy of COP1_S_ADD 2023-02-21 14:54:22 +10:30
jarupxx 3aef396007
Add editbox to choose directory dialog (#2340) 2023-02-14 08:12:38 +10:30
zilmar 3acd56ae61 Core Fix up clang formatting 2023-02-14 08:05:40 +10:30
zilmar 2db5c81af5 Core: Change Project64.rdb so it use 1's and 0's instead of "Yes" or "No" 2023-02-13 21:05:57 +10:30
zilmar e14e10f4b0 Core: Fix handling of R4300iOp::COP1_S_CMP and R4300iOp::COP1_D_CMP 2023-02-13 16:22:50 +10:30
zilmar baa5dbe257 Core: Add some error message when failing to load rom 2023-02-13 12:04:31 +10:30
zilmar 4390a0926c Remove _Pairib usage 2023-02-13 08:55:56 +10:30
zilmar a8a553b316 Core: fix code to make clang happy 2023-01-31 07:54:47 +10:30
zilmar 83a7d9e3f2 Core: Start to improve the accuracy of R4300iOp::COP1_S_ADD 2023-01-30 20:36:58 +10:30
zilmar 7affd514c0 Core: Convert TEST_COP1_USABLE_EXCEPTION from a macro to a function 2023-01-30 11:40:03 +10:30
zilmar f802b18cdc Core: Change to using fenv.h instead of including the code directly 2023-01-30 10:07:51 +10:30
zilmar fb6bda321c Core: SW_Register needs to protect the register 2023-01-23 15:30:39 +10:30
zilmar 0e52bfb185 Core: Fix the allocation of rdram size if set in the rdb 2023-01-23 08:30:13 +10:30
zilmar 210ebd42de Core: have an option for rdram to be different between known and unknown roms 2023-01-16 20:53:48 +10:30
zilmar dbd360f676 Core: Handle exception of mov word ptr ds:[E01F4F52h],ax 2023-01-09 17:53:16 +10:30
zilmar 531a7df959 Core: Improve StoreInstruc 2023-01-09 14:26:35 +10:30
zilmar ccae22afc5 Core: Revert SPECIAL_SRA and SPECIAL_SRAV to old version when running as 32bit 2023-01-09 13:47:41 +10:30
zilmar b6629ac1d3 Android: Fix build warning with CX86Ops::CallThis 2023-01-03 14:49:35 +10:30
zilmar e0373025ef Core: Have user rom settings in Project64.rdb.user 2023-01-03 13:08:00 +10:30
zilmar 80aecdc5e3 Core: Improve R4300iOp::COP1_CT 2023-01-02 19:49:19 +10:30
zilmar 3c73c06b01 Update Project files to remove some headers that no longer exist 2023-01-02 17:56:12 +10:30
zilmar 811aaf9d36 Core: Fix up SPECIAL_SRAV for 64bit copy 2022-12-26 18:34:53 +10:30
zilmar c619b71b26 Core: get sra to handle 64bit shift 2022-12-26 18:13:45 +10:30
zilmar b217428fee Core: fix up masking in CX86RecompilerOps::COP1_CT 2022-12-26 17:35:58 +10:30
zilmar 0cc7ede816 Core: Fix up BGEZALL in recompiler 2022-12-26 17:19:32 +10:30
zilmar 2c6d3429b7 Core: Fix handling of BGEZAL ra in recompiler 2022-12-26 16:14:05 +10:30
zilmar f6e4443dda Core: Revert Unaligned DMA to fix some hacks 2022-12-26 15:15:28 +10:30
zilmar f380d326fe Core: Start to handle jump in delay slot 2022-12-26 12:54:04 +10:30
zilmar 620aabcf9e Core: Add clang script and check on building release 2022-12-19 15:51:02 +10:30
zilmar bd1b1b4dbb Core: Missed file for code clean up 2022-12-19 15:36:08 +10:30
zilmar c0341bb759 Core: Code clean up for clang 2022-12-19 15:35:17 +10:30
zilmar ae62981aef Core: Remove unaligned dma 2022-12-19 10:15:31 +10:30
zilmar cbacddb65e Core: Make 32bit CPU recompiler only setting 2022-12-19 09:07:26 +10:30
zilmar 6c154f6547 Core: Add Cop2/Cop3 handling exception 2022-12-12 21:29:16 +10:30
zilmar c8bb04b6b0 Core: Mask COP1_CT reg 31 2022-12-12 19:04:03 +10:30
zilmar d3afe97d38 Core: Initialize FPR_Ctrl[Revision] to 0xA00 2022-12-12 15:27:07 +10:30
zilmar ff56992542 Android: Some more core changes for asmjit 2022-12-07 09:04:55 +10:30
zilmar 72705cf66a Android: Get it to build asmjit 2022-12-07 08:33:34 +10:30
Johan Mattsson c100d527fc
Small fixes (#2314)
* Assign the null pointer

* Initialize variable

* Fix while-conditions
2022-12-05 19:33:48 +10:30
zilmar 6b04b908bf Core: Handle bgezal ra in the recompiler 2022-12-05 14:09:03 +10:30
zilmar d35d2e6abe Core: Move ReadsGPR, WritesGPR, ReadsHI(), ReadsLO(), WritesHI(), WritesLO() out of OpInfo and into R4300iInstruction 2022-12-05 12:23:09 +10:30
zilmar 138868d9ac Core: Get x64 compiling 2022-11-30 17:19:15 +10:30
zilmar ed357e5d97 Core: Get recompiler to call PifRamHandler when in pif address space 2022-11-27 11:07:28 +10:30
zilmar 1e3fff2b41 Core: ignore memory stack pointer when stack pointer is reset 2022-11-25 09:34:54 +10:30
zilmar 1f2fe96d76 Merge branch 'develop' of https://github.com/project64/project64 into develop 2022-11-24 09:10:50 +10:30
zilmar 79d749e33d Core: fix bug in CX86Ops::CallFunc when not logging opcodes 2022-11-24 09:10:15 +10:30
Squall Leonhart 8eecb0c823
Extend mempak Index Table to the intended 256 bytes, so that the default checksum is actually correct, and include the backup of that data. (#2304)
* just a test to see what happens

* duplicate the full 256 bytes.

* Didn't need to duplicate it after all.

The index table wasn't actually 256 bytes as intended, so the checksum was invalid.

Cruis'n'USA 1.0 didn't like this one bit.

* fully duplicate it after all just in case of a rare case

where a game breaks without the backup of the checksum and table.

* this looks properly duplicated now.

perhaps
2022-11-24 07:49:48 +10:30
zilmar e3aa2514c1 Core: Fix bug in CX86RecompilerOps::SPECIAL_DIV 2022-11-23 20:16:38 +10:30
zilmar 8e94b3086b Core: Change recompiler to use asmjit 2022-11-23 14:46:55 +10:30
zilmar 2a6d3cd519 Core: remove #ifdef toremove block in CX86RecompilerOps::SPECIAL_DMULTU() 2022-11-21 08:55:51 +10:30
zilmar 9743f12b1d Core: Remvoe #ifdef LinkBlocks code block 2022-11-21 08:52:19 +10:30
zilmar 989827cb77 Core: Do not set m_MemoryReadMap/m_MemoryWriteMap if tlb mapping is outside rdram 2022-11-14 21:20:28 +10:30
zilmar 97e3f50007 Core: Update mask of registers in CRegisters::Cop0_MT 2022-11-14 20:56:21 +10:30
zilmar cabcd2cc95 Core: Handle masking of random in CSystemTimer::UpdateTimers 2022-11-14 11:19:02 +10:30
zilmar 02660c2f62 RSP: dma to either DMEM or IMEM based on address 2022-11-08 20:17:57 +10:30
zilmar 48da86bea1 Core: if Rom is larger than ISViewerHandler, then use rom handler 2022-11-08 10:54:01 +10:30
zilmar 529812fdca Core: Switch to use asmjit registers in recompiler 2022-11-07 21:03:32 +10:30
zilmar 0e1a72a0b1 Add asmjit code 2022-11-07 16:36:46 +10:30
zilmar a4c49a3567 Core: rearrange XorVariableToX86reg parameters 2022-11-07 16:30:09 +10:30
zilmar 2fcce6cdd5 Cote: TestVariable rearrange parameters 2022-11-07 16:25:54 +10:30
zilmar fe1f99ae1c Core: rearrange TestConstToX86Reg parameters 2022-11-07 16:22:51 +10:30
zilmar ce939100c5 Core: rearrange OrVariableToX86Reg parameters 2022-11-07 16:18:54 +10:30
zilmar 697397f1dd Core: Rearrange OrConstToX86Reg parameters 2022-11-07 16:03:45 +10:30
zilmar 40259d01ca Core: rearrange OrConstToVariable parameters 2022-11-07 15:55:19 +10:30
zilmar c95aae8e38 Core: rearrange MoveZxVariableToX86regHalf parameters 2022-11-07 15:48:39 +10:30
zilmar 96eed54a1d Core: rearrange MoveZxVariableToX86regByte parameters 2022-11-07 15:44:10 +10:30
zilmar 4570d9eab5 Core: rearrange MoveZxHalfX86regPointerToX86reg variables 2022-11-07 15:40:01 +10:30
zilmar 8a2197707b Core: rearrange MoveZxByteX86regPointerToX86reg parameters 2022-11-07 15:38:36 +10:30
zilmar 59892a266b Core: rearrange MoveX86regToVariable parameters 2022-11-07 15:30:25 +10:30
zilmar 91a192cead Core: rearrange MoveX86regToMemory parameters 2022-11-07 14:40:28 +10:30
zilmar 891d487fdd Core: rearrange MoveX86regPointerToX86regDisp8 parameters 2022-11-07 14:38:34 +10:30
zilmar d74694d16f Core: rearrange MoveX86regPointerToX86reg parameters 2022-11-07 14:36:11 +10:30
zilmar ebca0854d7 Core: rearrange MoveX86regHalfToX86regPointer parameters 2022-11-07 14:29:33 +10:30
zilmar efac334136 Rearrange MoveX86regHalfToVariable parameters 2022-11-07 14:26:06 +10:30
zilmar 1966b842f3 Core: rearrange MoveX86regByteToX86regPointer parameters 2022-11-07 14:24:22 +10:30
zilmar bb51c3d11d Core: rearrange MoveX86regByteToVariable parameters 2022-11-07 14:23:09 +10:30
zilmar d19fc10f0c Core: remove MoveVariableToX86regByte, MoveVariableToX86regHalf, MoveX86regByteToN64Mem 2022-11-07 14:21:26 +10:30
zilmar 8702e6b67c core: Rearrange MoveVariableDispToX86Reg parmeters 2022-11-07 14:18:15 +10:30
zilmar 10dd2c662a Core: rearrange MoveSxVariableToX86regHalf parameters 2022-11-07 14:08:23 +10:30
zilmar eb5d0ce363 Core: rearrange MoveSxVariableToX86regByte parameters 2022-11-07 14:05:08 +10:30
zilmar 1584d25cd9 Core: Rearrange MoveSxHalfX86regPointerToX86reg parameters 2022-11-07 13:41:49 +10:30
zilmar fe7b8afa92 Core: Rearrange MoveSxByteX86regPointerToX86reg parameters 2022-11-07 13:37:29 +10:30
zilmar 288fe4d222 Core: reorder MoveConstToX86regPointer parameters 2022-11-07 11:35:11 +10:30
zilmar b68caed6c4 Core: reorder MoveConstByteToX86regPointer parameters 2022-11-07 11:32:46 +10:30
zilmar eb0aa05a48 Core: remove x86 functions referencing n64mem 2022-11-07 11:30:51 +10:30
zilmar 40456f12db Core: Change order of MoveConstToVariable 2022-11-07 11:26:17 +10:30
zilmar 5c7390324a Core: reorder MoveConstToMemoryDisp parameters 2022-11-07 10:45:28 +10:30
zilmar 8272d18aa6 Reorder MoveConstHalfToX86regPointer parameters 2022-11-07 10:43:27 +10:30
zilmar 0123100233 Core: reorder MoveConstHalfToVariable parameters 2022-11-07 10:37:29 +10:30
zilmar bdb2d040f9 Core: reorder MoveConstByteToVariable parameters 2022-11-07 10:34:25 +10:30
zilmar eb8b36603b Core: remove MoveConstByteToN64Mem, MoveConstHalfToN64Mem, MoveConstToN64Mem, MoveConstToN64MemDisp 2022-11-07 10:27:22 +10:30
zilmar 9dd2df36d4 Core: remove CX86Ops::CompVariableToX86reg 2022-11-07 10:18:55 +10:30
zilmar 09fb90117e Core: reorder CompConstToVariable parameters 2022-11-07 10:11:55 +10:30
zilmar ade6787e6d Core: Reorder AndVariableToX86Reg parameters 2022-11-07 10:00:35 +10:30
zilmar 513ca57f46 Core: Reorder parameters for AndVariableDispToX86Reg 2022-11-07 09:51:41 +10:30
zilmar 897fd39a0e Core: reorder AndConstToVariable parameters 2022-11-07 09:40:12 +10:30
zilmar c13080d7c3 Core: Reorder AddX86regToVariable parameters 2022-11-07 09:34:34 +10:30
zilmar c7ac150b91 Core: Capitalize Reg in x86ops 2022-11-07 09:31:37 +10:30
zilmar dbd20dd993 Core: Reorder AddConstToVariable parameters 2022-11-07 09:29:06 +10:30
zilmar 6a69e2e86a Core: remove CX86Ops::AdcX86regToVariable 2022-11-07 09:25:31 +10:30
zilmar b3c6858b69 Core: Change COP0 registers to use an enum 2022-11-07 09:24:58 +10:30
zilmar fd71b2dfcb Core: Handle branch/jump in a delay slot in the Interpreter 2022-11-01 08:59:15 +10:30
zilmar 94247ce1a6 Core: handle better CX86RecompilerOps::ResetMemoryStack 2022-10-28 16:41:24 +10:30
zilmar edeaf14471 Update SortRdb code and add it to project 2022-10-24 21:00:51 +10:30
zilmar 6c9237f603 Core: Get recompiler to handle RESERVED31 2022-10-24 16:50:12 +10:30
zilmar d06d1526d9 Core: Change the order of MoveVariableToX86reg parameters 2022-10-24 16:05:19 +10:30
zilmar af3c31b0ff Core: Change the order of MoveConstToX86Pointer 2022-10-24 15:09:24 +10:30
zilmar 538933e0a5 Core: reoder MoveConstToX86reg parameters 2022-10-24 15:05:31 +10:30
zilmar dd61a4351d Core: Reorder the order of MoveX86regToX86regPointer 2022-10-24 12:56:38 +10:30
zilmar fdbc31961f Core: Change the order of MoveX86RegToX86Reg 2022-10-24 12:48:51 +10:30
zilmar 8713878994 Core: Change order of MoveX86regToX86Pointer parameters 2022-10-24 12:13:48 +10:30
zilmar ef8067cf12 Android: Make a skeleton for arm to start over arm recompiler 2022-10-24 11:15:46 +10:30
zilmar ae6157427f Recompiler: Handle stack if it is in IMEM/DMEM 2022-10-21 10:03:33 +10:30
zilmar 4525e8b6f3 Core: Move IMEM/DMEM into SPRegistersHandler 2022-10-17 17:29:05 +10:30
zilmar 96244cd6fd Core: Update NonMemory Access to pifram 2022-10-17 11:31:54 +10:30
zilmar 53e00b8023 Core: Clean up masking of COP0 registers 2022-10-17 09:06:22 +10:30
zilmar 9186dcab39 Core: Allow reading from ISViewerHandler 2022-10-17 08:59:26 +10:30
zilmar 305648f02f Core: Do not allow byte aligned blocks after the first block 2022-10-17 08:53:41 +10:30
zilmar 60969607c8 Core: Ignore EverDrive - 64 X7 Serial Registers in PI_DMA_READ 2022-10-17 08:48:30 +10:30
zilmar 65bbc375b9 Core: Fix R4300iOp::LWC1 to have 64bit address 2022-10-17 08:36:17 +10:30
zilmar c16307ec0f Core: Move Pifram code into PifRamHandler 2022-10-17 08:27:52 +10:30
zilmar 315231d439 Core: Writing to 0x0410000C was not calling AfterCallDirect() 2022-10-11 17:31:28 +10:30
zilmar 2199c9cd1f Core: Inherit STATE_CONST_64 in CX86RecompilerOps::InheritParentInfo 2022-10-11 17:24:06 +10:30
zilmar 801a3e29fc Core: Handle more with LW and invalid addresses 2022-10-10 20:25:16 +10:30
zilmar 082ec9c22e Core: Handle unaligned LH 2022-10-10 17:17:56 +10:30
zilmar ca037abf2b Core: Update counters when updating wired 2022-10-10 15:44:52 +10:30
zilmar 29e1468338 Core: Ignore next targeting branch if last op in block 2022-10-10 14:30:20 +10:30
zilmar 0848bab003 Core: do not predefine temp reg 2022-10-10 13:57:10 +10:30
zilmar 46dcf967e1 Core: Change StackPos to be a reference 2022-10-10 13:42:52 +10:30
zilmar 6044222be0 Core: Remove temp usage of Name 2022-10-10 13:38:43 +10:30
zilmar 0ffaf43418 Core: fix CX86RecompilerOps::LD when rt==base 2022-10-10 12:41:12 +10:30
zilmar 96cece6cd9 Core: Update timing around exception in DADD/DSUB 2022-10-10 12:34:11 +10:30
zilmar 3a87c3c5ad Core: Update timing around exception in ADD/SUB 2022-10-10 12:28:06 +10:30
zilmar 3b57424b86 Core: DMTC/MT should not be updating registers 2022-10-10 12:16:27 +10:30
zilmar 481f1c50c8 Core: Add break op to recompiler 2022-10-10 12:07:04 +10:30
zilmar fc247fd953 Core: Get recompiler to handle DADDI/DADDIU 2022-10-10 11:53:30 +10:30
zilmar a8add093d1 Core: Add CPO_DMF/CPO_DMT to recompiler 2022-10-10 11:38:55 +10:30
zilmar 761a1ee52a Code clean up 2022-10-10 10:52:17 +10:30
zilmar 0d7f25138c Core: Do not check sign extension in 32bit core 2022-10-04 09:47:45 +10:30
zilmar 8391cdafde Core: Fix masking of context 2022-10-03 21:48:09 +10:30
zilmar da138bf38b Project64: Exception when address not sign extended 2022-10-03 18:35:50 +10:30
zilmar 92054583d4 Common: Code clean up of common 2022-10-03 18:34:42 +10:30
zilmar 82d9027374 Core: Fix up XContext 2022-10-03 11:29:21 +10:30
zilmar 42cc34964b Core: Sign extend cop0 2022-10-03 09:34:13 +10:30
zilmar 0c078049c0 Android: Update android build 2022-09-26 12:53:14 +09:30
zilmar 3f681101f6 Project64: Missed some files in code cleanup 2022-09-26 12:02:33 +09:30
zilmar 179282043f Project64: Code cleanup 2022-09-26 12:01:54 +09:30
zilmar a65086579f Project64: Code clean up 2022-09-21 14:46:07 +09:30
zilmar a2981ff4d8 Core: Make Load/Store use 64bit vaddr 2022-09-19 21:36:36 +09:30
zilmar 1c77f6f0fd Core: Make Cop0 64bit 2022-09-19 16:36:44 +09:30
zilmar 21b193152a Core: Fix CMipsMemoryVM::MemoryValue64 for sdl/sdr 2022-09-19 12:13:19 +09:30
zilmar 05d46c9487 Core: Handle reserve instruction 31 2022-09-19 12:12:08 +09:30
zilmar a79a8a9276 Core: Clean up arm recompiler changes 2022-09-12 22:44:42 +09:30
zilmar 457937f039 Core: Map temp pass in flag for 8 bit register 2022-09-12 06:01:43 +09:30
zilmar a640ecfbc0 Core: CMipsMemoryVM::SB_NonMemory should return false just on exception 2022-09-05 21:20:07 +09:30
zilmar 479e2e518c Core: Syscall should increment cycle count 2022-09-05 20:00:28 +09:30
zilmar 43c89a517b Core: Execute CPU should not trigger Loaded game state 2022-09-05 19:56:23 +09:30
zilmar c380571d8b Core: Update when branch goes to the opcode after the delay slot 2022-09-05 19:42:22 +09:30
zilmar 8a01017ef5 UI: Update rombrowser windows so controls are vertical 2022-09-05 17:55:43 +09:30
zilmar 17b78bc705 Core: Clean up CExitInfo::EXIT_REASON enum 2022-09-05 17:42:41 +09:30
zilmar 524f56eda7 Core: fix srav in the interpter 2022-09-05 17:42:15 +09:30
zilmar e171adfef6 Core: Clean up formatting of register names 2022-09-05 16:47:51 +09:30
zilmar 29526583a6 Core: Give cop0 registers names 2022-09-05 16:38:30 +09:30
zilmar 18b9892bc7 Core: Add handling of overflow exception 2022-09-05 16:35:13 +09:30
zilmar 0371c20d32 Core: Use BreakOnUnhandledMemory in SPRegistersHandler when breaking 2022-09-05 11:00:15 +09:30
zilmar 7d55fdca37 Core: Fix bug in CX86RegInfo::FreeX86Reg where x86RegIndex_Size was introduced 2022-09-05 10:42:49 +09:30
zilmar a5c6f25ee3 Core: CX86RecompilerOps::BaseOffsetAddress should not unprotect unless it actually protected 2022-09-05 10:41:18 +09:30
zilmar e8adf78e84 Core: Fix up that x64 files only build in x64 2022-08-29 20:52:15 +09:30
zilmar f7b1891c91 Core: Add base 64bit Recompiler classes 2022-08-29 17:57:17 +09:30
zilmar 54ef913eaf Installer: Update installer to have version 4.0 2022-08-29 12:03:56 +09:30
zilmar d82a370e59 Core: Create a x86RegIndex enum 2022-08-29 11:49:20 +09:30
zilmar b88a1ccc1e Core: Fix bug in div for recompiler 2022-08-29 08:33:13 +09:30
zilmar 6782599687 Core: Create a x86 call for calling this functions 2022-08-29 08:32:02 +09:30
zilmar 4218cbad23 Core: R4300iInstruction::DecodeSpecialName - Fix up SLL param 2022-08-29 08:27:47 +09:30
zilmar 52a30b78fb Core: Handle div/0 better 2022-08-22 22:13:53 +09:30
zilmar 9e1d69bcb5 Core: Move m_DMAUsed into PeripheralInterfaceHandler 2022-08-22 13:11:20 +09:30
zilmar f3a392489a Core: Do not fail on checking delay slot, if it is invalid memory 2022-08-22 13:02:25 +09:30
zilmar 9b16d29792 Core: Add rom write decay and some code clean up 2022-08-22 12:47:44 +09:30
zilmar 4b0966a264 Core: RomMemoryHandler Set PI_STATUS_IO_BUSY when write to rom 2022-08-22 12:09:42 +09:30
Squall Leonhart cc2aa4783a
add [f] to good name in lines with goodtool codes, and updates rom information window for M-type carts. (#2275)
* add [f] to good name in lines with goodtool codes.

* added M type media to Rom Information.

so it doesn't show (Unknown)
2022-08-15 21:25:14 +09:30
zilmar 3e198d04a8 core: change CX86RecompilerOps to have a variable for CX86Ops instead of inheriting it 2022-08-15 12:39:34 +09:30
zilmar 71ddfd885d Core: Add BGEZALL to interrupter 2022-08-15 10:18:51 +09:30
zilmar e724595ac2 Core: Add DADDI 2022-08-15 10:05:16 +09:30
Squall Leonhart 630778a41e
media id patched dragon sword 64 U added to rdb (#2274)
* media id patched dragon sword 64 U added to rdb

* adds M Type Cartridge media as N64 Development Cartridge

* adds unpatched Dragon Sword U and differentiates the two
2022-08-11 12:35:27 +09:30
zilmar 6c1df6c6a0 Core: Fix compile issue in android bridge 2022-08-09 20:42:31 +09:30
zilmar 51c9867e76 Core: Get the recompiler to be use globals less 2022-08-08 20:22:51 +09:30
zilmar 5ea06d958e Core: have SB/SH be able to write to rom handler 2022-08-08 19:33:16 +09:30
zilmar cd3b326a83 Project64: Move menu options from notification to r43000 2022-08-08 18:51:09 +09:30
zilmar 18870634a5 Core: Clean up some 64bit warnings 2022-08-01 13:15:52 +09:30
zilmar 0419ba232e Core: Add option to step code at break opcode 2022-08-01 11:43:17 +09:30
zilmar 4b60f4f3e9 UI: Always show rom information 2022-08-01 11:25:32 +09:30
zilmar b987a1693c Core: Do not end emulation by default on perm loop 2022-08-01 10:59:16 +09:30
zilmar 10d23486c6 Core: Add option to break on address exception 2022-08-01 10:38:12 +09:30
zilmar cffeceef70 Core: Handle rom written to better 2022-08-01 10:15:56 +09:30
zilmar d6a217ca86 Core: fix issue with R4300iOp::SPECIAL_SRA 2022-08-01 10:03:06 +09:30
zilmar d37d0dc7a5 Core: Dissasm of DMFC0 was showing the wrong reg 2022-08-01 10:02:07 +09:30
zilmar d1a938d280 ISViewerHandler: Stop copying data at null 2022-08-01 10:00:57 +09:30
zilmar 7b851e6b6e Core: Break on unhandled memory 2022-08-01 10:00:07 +09:30
zilmar 63051df71e Core: Another fix at 64dd 2022-07-25 22:00:41 +09:30
zilmar ba0ac0ebe5 Core: try to fix 64dd 2022-07-25 21:25:56 +09:30
zilmar 48db44710a Video: Fix windows compiling from android tweaks 2022-07-25 17:56:33 +09:30
zilmar f117b5d93a Android: Fix CArmRecompilerOps::Compile_Branch 2022-07-25 17:52:44 +09:30
zilmar 06b303afa0 Android: Some tweaking of video plugin 2022-07-25 17:52:14 +09:30
zilmar 6634d4252e Video: Do not call setPattern in InitGfx 2022-07-25 17:38:08 +09:30
zilmar c59a0efcab Core: fix LB_KnownAddress for reading rom 2022-07-25 17:22:47 +09:30
zilmar efb2c39a9d Core: Fix DelaySlotEffectsCompare in arm 2022-07-25 17:22:13 +09:30
zilmar 09b535551d Core: Move DelaySlotEffectsCompare into R4300iInstruction 2022-07-25 16:35:42 +09:30
zilmar 0abc7ccaa4 Core: Move OpHasDelaySlot into R4300iInstruction 2022-07-25 14:23:12 +09:30
zilmar 15466b6a9b Core: Fix unaligned rom access with LH/LB 2022-07-25 14:08:09 +09:30
zilmar c3cae358a1 Core: Open debugger on unknown opcode 2022-07-25 14:07:12 +09:30
zilmar 1a8a4dd50f Core: Fix some bugs added to R4300iInstruction Param 2022-07-25 11:57:19 +09:30
zilmar 35c2da49b1 Android: Clean up getting input plugin working 2022-07-18 22:26:29 +09:30
zilmar 763cba7b8a Android: Do not use std::make_unique 2022-07-18 20:31:45 +09:30
zilmar acd5f8ecd5 Core: Add ISViewerHandler 2022-07-18 19:06:34 +09:30
zilmar f0ee90990a Merge branch 'develop' of https://github.com/project64/project64 into develop 2022-07-18 18:57:41 +09:30
zilmar f62f8207ec Core: Initiate PREVID 2022-07-18 18:56:52 +09:30
zilmar 62a245cfc8 Android: Fix changes with R4300iInstruction 2022-07-18 18:55:52 +09:30
zilmar 7f3b8e3601 Core: Start to add R4300iInstruction to do analysis of an opcode 2022-07-18 18:01:00 +09:30
zilmar 64c0e93cde Android: SyncEvent::IsTriggered should not call reset 2022-07-11 21:18:59 +09:30
zilmar de5a8460fd x64: some code clean up and remove warning on Common and 3rd party 2022-07-11 19:30:25 +09:30
zilmar 47e27b591c Android: Fix some compile issues 2022-07-11 13:39:57 +09:30
zilmar 3576bb2b7a Plugin Spec: Fix up video plugin spec 2022-07-04 19:58:30 +09:30
zilmar 079e493728 Core: Improve PI Dma 2022-07-04 17:14:27 +09:30
zilmar 8b2c66cc07 Core: Move plugin specs to a central location 2022-06-27 19:32:38 +09:30
zilmar 3913fb5c28 Core: Improve accuracy of SP_DMA_READ and SP_DMA_WRITE 2022-06-20 14:21:32 +09:30
zilmar 837e93d775 Core: Move PI_DMA_READ & PI_DMA_WRITE into PeripheralInterfaceHandler 2022-06-20 09:10:01 +09:30
zilmar cec55c7fd9 Core: clean up some read/writes to SP register for recompiler 2022-06-13 15:44:07 +09:30
zilmar 81b52143ca Core: CX86RecompilerOps::CompileLoadMemoryValue should not minus count any more 2022-06-13 14:23:31 +09:30
zilmar f0760ff1cf Core: Move SP_DMA_WRITE into SPRegistersHandler 2022-06-13 11:46:06 +09:30
zilmar 86aa483a38 Core: Move memory exceptions out of interrupter ops and in to Memory Manager 2022-06-13 11:24:36 +09:30
zilmar d2b33022fb Android: Remove 3rdParty/png/CMakeLists.txt 2022-06-06 21:20:27 +09:30
zilmar b557dcf187 Android: Do some work to try to get it to build 2022-06-06 19:49:44 +09:30
zilmar d83f90f2d2 Core: Have store/load use non memory functions 2022-06-06 12:01:47 +09:30
zilmar 8f1f7e9cf3 core: move add opcode count from pre to post op for recompiler 2022-06-06 11:53:31 +09:30
zilmar dc106c0df8 Core: Start to add store instruction self mod 2022-06-06 11:41:09 +09:30
zilmar c8defc4dca Core: Fix logging in RDRAMRegistersHandler 2022-06-06 11:36:25 +09:30
zilmar 8e5efea6f7 Core: AudioInterfaceHandler::m_Status not being reset on game load/reset 2022-06-01 11:21:34 +09:30
zilmar fae1de846a Core: Fix audio issue with save states 2022-05-31 23:13:19 +09:30
zilmar 603ed853bc Core: Some code clean up for load/store non memory 2022-05-30 20:20:25 +09:30
zilmar 535de2ad49 Core: Modularize Load Memory Value 2022-05-23 16:20:13 +09:30
zilmar 17a7f31bc2 Core: allow CompileStoreMemoryValue to generate address 2022-05-23 07:14:26 +09:30
zilmar 068fad47e5 Core: remove Compile_StoreInstructClean 2022-05-23 06:52:31 +09:30
zilmar 9cc35bbe0e Version: Have year in copyright use the current time at building 2022-05-23 06:37:30 +09:30
zilmar cc0c139f7e Core: modularize store memory values using CompileStoreMemoryValue 2022-05-23 06:24:56 +09:30
zilmar f95c0f7ef1 Core: Fix bug in SDC1 2022-05-20 10:32:15 +09:30
zilmar 1b871fcb15 Core: x86RecompilerOps rename m_TempValue to m_TempValue32 2022-05-16 15:51:37 +09:30
zilmar 487ed8b54d Core: If SMM_PIDMA, clear physical memory code before doing the dma 2022-05-16 15:33:36 +09:30
zilmar 1617e63b84 Core: make memory reads/write to go through new CMipsMemoryVM::MemoryPtr 2022-05-16 15:26:20 +09:30
zilmar 7fb67450a1 Core: X86 recompile modularize loading address in store/load ops 2022-05-16 11:01:18 +09:30
zilmar 1fe8fd1299 Core: have MemoryValue32 be able to read from rom 2022-05-16 11:00:20 +09:30
zilmar 718d7e0359 [Core] Clean up load/store usage in MemoryVirtualMem 2022-05-09 10:06:10 +09:30
zilmar de366db6c1 [Core] Clean up some warnings 2022-05-03 22:46:12 +09:30
zilmar 5a49331c0b Core: Direct tlb method to read and write to memory 2022-05-02 20:22:31 +09:30
zilmar bac3517c86 [Core] Change tlb empty to be -1 and remove rdram from tlb value 2022-05-02 19:10:35 +09:30
zilmar b74a2dc69f [Core] Change TranslateVaddr to VAddrToPAddr 2022-05-02 07:36:50 +09:30
zilmar 4f07f52fed Core: Fix the dma write length 2022-04-27 09:20:33 +09:30
zilmar 2f1074a287 Core: Add handler for cartridge domains 2022-04-25 17:12:07 +09:30
zilmar 016ded2b56 Core: Move Save types 2022-04-19 11:17:43 +09:30
zilmar e9d2b9793f Core: Add Pif Ram Handler 2022-04-19 09:37:57 +09:30
zilmar 653e15a296 Core: Add RomMemoryHandler 2022-04-18 20:57:59 +09:30
zilmar d976aaf22b [Core] Better updating of controller in sync core 2022-04-11 09:26:11 +09:30
zilmar 075e3ab3c2 Core: reduce using global Plugins variable usage in CN64System and use member instead 2022-04-11 09:25:09 +09:30
zilmar f683d080ed [Core] CX86RecompilerOps::SW always update counters on unknown addresses 2022-04-11 09:07:47 +09:30
zilmar a3d32d5b46 [Audio] Make sure m_MaxBufferSize is not bigger than MAX_SIZE 2022-04-11 09:05:04 +09:30
zilmar fbf65bce12 Core: Add a look up table for Memory Reads or Writes 2022-04-04 10:30:27 +09:30
zilmar a249705bce Core: Add CartridgeDomain2Address1Handler 2022-03-21 20:57:57 +10:30
zilmar 2b646677ac Core: remove Write32SerialInterface 2022-03-21 15:22:42 +10:30
zilmar e1d3222a8a Core: Move Serial interface into handler 2022-03-21 15:04:59 +10:30
zilmar c28bc27c27 Core: Move audio code into AudioInterfaceHandler 2022-03-21 13:14:56 +10:30
zilmar fcdda04da5 Core: Move Audio Interface code in to handler 2022-03-21 10:59:02 +10:30
zilmar d7e732a7eb Core: Add callback when game resets/loads state 2022-03-14 21:07:06 +10:30
zilmar df422238c9 Core: Fix up handling VideoInterfaceHandler in recompiler 2022-03-14 15:29:10 +10:30
zilmar 80d8e6edaa Core: Move Video Interface code in to handler 2022-03-08 10:18:56 +10:30
zilmar 928dfe3a16 Core: Add MIPSInterfaceHandler 2022-03-04 22:53:30 +10:30
shyguyhex efb934165b
[Debugger] JSAPI: Fix interval finalizer (#2200) 2022-03-01 10:27:42 +10:30
Andrew 3eec9435c3
Fix Stack Trace option typo (#2199) 2022-02-22 11:02:08 +10:30
zilmar db50dac063 Core: Add DisplayControlRegHandler 2022-02-21 21:56:25 +10:30
zilmar 390fe897a2 Core: Add RDRAMRegistersHandler 2022-02-21 19:47:14 +10:30
shyguyhex 6225654b46
Fix #2188 (#2189) 2022-02-08 07:47:56 +10:30
zilmar f7618f29c0 Core: Move SP_DMA_READ into SPRegistersHandler 2022-02-01 13:24:25 +10:30
Anders 4a3aab54d3
Graceful label truncation (#2179)
* Graceful label truncation

* Undo UTF-8 GitHub conversion
2022-01-28 08:57:37 +10:30
Anders 5c8f87d4f8
Don't use PROCESS_ALL_ACCESS when it is not required (#2181)
* Request SDK neutral PROCESS_ALL_ACCESS

* Use basic version test

* Just ask for the access required
2022-01-28 07:04:24 +10:30
zilmar 05bf0f9fb4 Project64: Fix deleting an enhancement 2022-01-27 14:02:32 +10:30
shyguyhex b26de13d64
[Debugger] Start commands window at PC address (#2178) 2022-01-27 10:03:22 +10:30
zilmar 2b008cc278 Core: Create Memory handler for SP Registers 2022-01-24 23:13:10 +10:30
LuigiBlood e60f7ec648
Change CRC for 64DD Disks + better ROM Browser support for 64DD (#2164)
* Change CRC for 64DD Disks + Properly provide Disk Info for ROM Browser/Info

* Change CRCs for 64DD Titles + Rename RDB as needed
(And add English Mario no Photopi to RDB and english cheats for english Polygon Studio)

* [RDB] Add Extra Dezaemon 3D Expansion
2022-01-21 09:54:39 +10:30
shyguyhex 9e99ef1855
[Debugger] Alphabetize script lists (#2174) 2022-01-21 09:53:21 +10:30
shyguyhex 93740c612f
[Debugger] JS API: Fix socket closing itself (#2173) 2022-01-21 09:52:44 +10:30
zilmar 7fd239cf82 Core: Change NextInstruction to PipelineStage 2022-01-18 18:17:21 +10:30
shyguyhex de0a59ac54
[Debugger] JS API: Add script.abort() (#2170) 2022-01-14 07:09:21 +10:30
shyguyhex 8559be556b
[Debugger] JS API: Expand AddressRange class, misc fixes (#2168) 2022-01-13 07:06:30 +10:30
LuigiBlood 16667ec4f9
[Core] Proper Dezaemon 3D SRAM 96KB save support (#2165) 2022-01-12 07:33:56 +10:30
zilmar 7452dd44db Core: Removed CRecompiler::RecompilerMain_Lookup_validate when I should not have, putting it back in 2022-01-10 19:28:38 +10:30
zilmar 30a40ea0a8 Core: Remove the option to turn off tlb 2022-01-10 17:46:01 +10:30
LuigiBlood 5d82837984
[Project64-input] N64 Mouse Support (#2160)
* [Project64-input] Unpolished Mouse Support
(Use Present value as Device Type)

* [Project64-input] Use Forced N64 Mouse config (using System Mouse)

* [Project64-input] Disable Mouse Scanning

* [Project64-input] Polish UI by adding Mouse image + Prevent Controller setup when using N64 Mouse

* [Project64-input] Revert Controller Save/Load changes

* [Project64-input] Seperate N64 Mouse into its own configuration

* [Project64-input] Add Mouse Locking + Shortcut System

* [Project64-input] Make Cursor invisible when locked

* [Project64-input] Make sure to unlock mouse when opening config

* [Project64-input] Working Lock/Unlock Shortcut + Only emulate mouse when locked

* [Project64-input] Use ClipCursor instead of DirectInput Exclusive Level

* [Project64-input] Add Mouse Sensitivity option + Change to SetCursorPos

* [Project64-input] Add WM_KillFocus and EmulationPaused functions

* [Project64-core] Move EmulationPaused call to really make sure it is called in all cases
2022-01-09 21:43:12 +10:30
zilmar 40683ecf79 Core: Remove legacy code 2022-01-05 08:59:12 +10:30
zilmar 226ebe68d9 Core: Remove ROM_IN_MAPSPACE 2022-01-05 08:31:27 +10:30
zilmar beb4c4378f Core: Remove Old CFB_READ code 2022-01-05 08:24:58 +10:30
zilmar 79b03c9ee0 Core: Move Peripheral Interface handling in to handler file 2022-01-05 08:14:03 +10:30
zilmar eafcb96c01 Project64-core: Move handling of RDRam Interface Register handling to its own file 2022-01-04 16:11:52 +10:30
zilmar 7e80d952cb Project64-core: General Code clean up 2022-01-04 10:26:14 +10:30
zilmar d88ea539b1 Project64: Have DebugMMU directly access imem/dmem, not through rdram 2022-01-04 10:13:03 +10:30
zilmar 09f90d9b53 Project64-core: Make Setting_EnableDisk be a setting in GameSettings 2022-01-04 10:07:52 +10:30
shyguyhex 219b9149d6
[Debugger] JS API: add fs.exists (#2158) 2022-01-01 14:26:03 +10:30
shyguyhex 9b5f45ea23
[Debugger] Fix nested JS callback registration (fix #2147) (#2157)
* [Debugger] Fix nested JS callback registration (fix #2147)

* [Debugger] Handle JS socket ungraceful disconnect
2021-12-28 18:01:19 +10:30
Andrew 6d2e6774fa
Add missing argument to mem.setblock (#2154) 2021-12-26 09:26:46 +10:30
zilmar ce6042fe9d [Android] Fix up accessing settings in bridge 2021-10-18 05:14:07 +10:30
zilmar 0423ceb72b [Android] Some tweaks to jni bridge 2021-10-14 16:56:42 +10:30
shyguyhex 9a287a53ee
[Debugger] JS API: Improve callback checks (fix #2123) (#2125)
* [Debugger] JS API: Fix project64#2122

* [Debugger] JS API: Improve callback checks (fix #2123)

* [Debugger] JS API: Improve callback checks (fix #2123)
2021-10-11 13:38:48 +10:30
shyguyhex 921c12e4d0
[Debugger] JS API: Fix project64#2122 (#2124) 2021-10-08 08:11:54 +10:30
LuigiBlood 8b90894d0f
Add Aleck64 CIC, rename 64DD IPL Dev CIC (#2120)
* Add CIC-NUS-5101 support (Aleck64)

* Rename CIC_NUS_DDTL (64DD IPL Dev) to CIC_NUS_8401 (actual chip ID)
And properly support it in the Rom Browser

* Forgot to check nullptr before putting Aleck64 CRC info
2021-10-05 09:54:36 +10:30
shyguyhex 1606b23ef9
[Debugger] JS API: Add PJ64_JSAPI_VERSION constant (#2119) 2021-09-29 08:22:19 +09:30
shyguyhex ac94f2505e
[Debugger] Rewrite script API (#2110)
* [Debugger] Rewrite script API

* Update js api paths in installer script
2021-09-03 14:41:04 +09:30
shyguyhex 56911cef58
[Debugger] Symbols: improve performance, implement filter textbox (#2102) 2021-08-26 12:28:34 +09:30
shyguyhex 29a40ba57b
[Core] Set GameRunning_InReset=false after reset (#2098) 2021-08-13 06:55:24 +09:30
shyguyhex 5c085db70b
[Debugger] Fix script directory bugs (fix #2094) (#2095) 2021-08-08 20:28:54 +09:30
zilmar b0c5bbe0ae [Android] Be able to create version.gradle 2021-07-20 11:33:40 +09:30
Rosalie e55cec5ea6
[Project64] Fix hidden statusbar (#2086) 2021-07-18 08:08:12 +09:30
zilmar fc996df8ec Add Author to enhancement file 2021-07-13 08:17:16 +09:30
Kimberly J Ortega 416205ed5f
Enhancements: Add spaces to tags (#2079)
- Matching RDB format.
- Keep checks for old version to avoid breaking user enhancements, due to lack of a fixed control mechanism for upgrading
2021-07-12 13:30:28 +09:30
Kaja, Kyle 6d9c88f1e2 Fix controller settings not saving the Controller Pak plugin
This fixes issue #2019
2021-07-09 13:01:36 -05:00
zilmar 9ad8d49d0e Some code clean up to help build android 2021-06-28 11:27:35 +09:30
Squall Leonhart 8907a47a00
the n64 analog stick cannot ever hit 127
only making it to between 93 and 95 on a brand new pad

most games stop scaling beyond 83, but buck bumble appears to develop negative returns when the control is allowed to go too far resulting in barely any movement.
2021-06-24 18:21:47 +10:00
zilmar bfd206e0a7 Get Controller plugin to update at request 2021-06-15 14:30:38 +09:30
zilmar 2850cc78c8 Make showing nag window a temp setting 2021-06-14 16:55:37 +09:30
oddMLan bad103568a Enhancement -> Enhancements (Updated package scripts as well)
Enhancement-User -> Enhancements-User
2021-06-13 14:55:36 +09:30
zilmar 542aec05f0 change version number for develop to 4.x 2021-06-13 13:07:20 +09:30