Commit graph

1873 commits

Author SHA1 Message Date
refractionpcsx2
9774cf9ddb Use integer min/max on VU JIT 2020-02-25 22:58:59 +00:00
PSISP
2fb47b1528
Merge pull request #307 from Souzooka/master
SQRT.S improvements, handle SQRT.S +/- 0
2020-02-25 15:59:15 -05:00
PSISP
2c41407362
Merge pull request #297 from refractionpcsx2/spu_addr_mask
SPU: Make sure 16bit and 8bit addresses are used where necessary
2020-02-25 15:56:57 -05:00
PSISP
6813f35778
Merge pull request #306 from refractionpcsx2/dma_signal_fix
Fix SIGNAL not pending IRQ when IMR masked
2020-02-25 15:53:09 -05:00
refractionpcsx2
748e050c67 revert dma loop, better to handle this a different way later 2020-02-25 20:46:35 +00:00
PSI-Rockin
e6914c0237 CDVD: Add proper CD/DVD detection
Fixes ATV Offroad Fury and other games incorrectly identified as CD
2020-02-23 23:31:40 -05:00
PSI-Rockin
6fe569101b COP2: Implement VSUBAI 2020-02-23 03:41:38 -05:00
PSI-Rockin
8ac8df0ae7 IOP: Stub out icache timings 2020-02-23 01:30:24 -05:00
PSI-Rockin
2af64886e0 GS: Mirror register writes to 0x11 with 0x01 (RGBAQ)
Fixes Ridge Racer V car shadows
2020-02-22 21:59:58 -05:00
refractionpcsx2
4bf53f831e Convert the SPU IRQ function to use a 16bit address 2020-02-22 22:44:30 +00:00
PSISP
8565a389a7
Merge pull request #302 from refractionpcsx2/path3_mask_fix
Improve PATH3 masking timing slightly
Treat zeroed GIFtag as a NOP
2020-02-22 15:51:58 -05:00
dakotachasesmith
4b2db3dcda SQRT.S improvements, handle SQRT.S +/- 0 2020-02-21 16:36:41 -10:00
refractionpcsx2
d1c78a1501 Fix SIGNAL not pending IRQ when IMR masked
Fix tag setting on DMA resume if the mode is changed, also handle tag IRQ's
Loop around DMA's 8 cycles per time when more than 8 cycles have been provided
Fix IPU SETIQ from accidentally fastforwarding the FIFO more than once if not enough data is available
2020-02-21 23:55:03 +00:00
refractionpcsx2
8e5efd6f4a
Added Denormals are Zero handling for both EE and VU JITs (#305)
Added Denormals are Zero handling for both EE and VU JITs
Fixed bug in RSQRT handling on EE JIT, fixes Futurama spinning
Added LDMXCSR and STMXCSR ops
2020-02-20 16:15:39 -05:00
refractionpcsx2
69c4369143
VU JIT: Fixed up some clamping issues (#293)
VU JIT: Fixed up some clamping issues
VU JIT: Optimized register loading and certain conditions for ops

VU JIT: Changed LQI and LDQ to still affect VI[is] even if the dest is VF00
Fixes TOCA 3, because stupid game is stupid
2020-02-20 04:53:20 -05:00
PSISP
7ab8268b3d
Merge pull request #304 from Ziemas/cpp14
Set C++ standard to C++14 for cmake.
2020-02-19 19:28:12 -05:00
Ziemas
9041bc0745 Set C++ standard to C++14 for cmake. 2020-02-19 13:47:46 +01:00
PSISP
0cb43505cd
Merge pull request #301 from tadanokojin/qt-fps-bug
qt: workaround for window title update
2020-02-18 15:12:43 -05:00
PSISP
38b54b2fcb
Merge pull request #300 from tadanokojin/vs-add-thirdparty-folder
vs-build: add ThirdParty solution folder
2020-02-18 15:12:25 -05:00
PSISP
176f07d0e3
Merge pull request #299 from tadanokojin/vs-cpp-standard
vs-build: force cpp14
2020-02-18 15:12:12 -05:00
refractionpcsx2
c57c5c7c0b Improve PATH 3 masking timing slightly.
Treat completely zero'd GIF TAG as a nop
2020-02-18 19:32:56 +00:00
Kojin
d764b5a848 qt: workaround for window title update
emuthread might update the title after it gets reset to default state
workaround this for now
2020-02-18 10:47:09 -05:00
Kojin
23cafc4949 vs-build: add ThirdParty solution folder
Getting ready for additional externals
2020-02-18 10:30:44 -05:00
Kojin
2b6d45f9c7 vs-build: force cpp14
prevent sou from being naughty
2020-02-18 10:19:22 -05:00
PSI-Rockin
8bcb1dc8c1 Update application to C++14
Fixes what seems to be a C++11 bug involving custom enums being used as hashes for unordered_map
2020-02-17 20:54:33 -05:00
PSI-Rockin
89252b19d0 PARTIAL COMMIT 2020-02-17 20:41:30 -05:00
PSISP
197d29d94b
Merge pull request #272 from Souzooka/dependency
Interpreter rewrite: record latency, throughput, and dependency information in interpreter
This allows us to simulate EE timings much more accurately than before, and the JIT takes advantage of this
Add a +1 cycle bias to all normal loads and stores to compensate for the lack of cache timings
2020-02-17 20:40:44 -05:00
dakotachasesmith
c7d94991b5 Add ra as dependency for JAL, fix slti dependency info 2020-02-17 15:32:14 -10:00
dakotachasesmith
814f91ae6c MMI Dependency cleanup 2020-02-17 15:19:51 -10:00
PSISP
dfcb7b3144
Merge pull request #296 from refractionpcsx2/dmac_stall_mfifo
Fix DMAC Stalls and IRQ's
Disable PATH3 when stalled by MFIFO Empty
Correct DMA Stall behaviour
2020-02-17 19:57:22 -05:00
PSISP
310565bd33
Merge pull request #298 from refractionpcsx2/gs_csr 2020-02-17 19:51:46 -05:00
refractionpcsx2
fa3bd0b1aa Clear PATH3 status after FIFO writes by hardware 2020-02-17 23:43:42 +00:00
refractionpcsx2
a15b255f05 Implement GS CSR FIFO field
Fix direct GS FIFO writes from HW to be under PATH3 path, not 0
2020-02-17 22:49:51 +00:00
refractionpcsx2
5423c85755 SPU: Make sure 16bit and 8bit addresses are used where necessary 2020-02-17 21:31:37 +00:00
refractionpcsx2
02f4609fac Merge branch 'dmac_stall_mfifo' of https://github.com/refractionpcsx2/DobieStation into dmac_stall_mfifo 2020-02-17 18:36:17 +00:00
refractionpcsx2
1a6e5e2b14 Bit of a sanity check, only disable PATH3 on DMA Stalls when PATH3 isn't mid way through a transfer 2020-02-17 18:36:01 +00:00
refractionpcsx2
144271713f
Removed rogue printf 2020-02-17 10:23:45 +00:00
dakotachasesmith
b2f6ad1f4f Correctly identify register as read dependency for MTHI1, MTLO1 2020-02-16 18:10:11 -10:00
dakotachasesmith
afe502edaf Change mtlo1 and such to have dependencies for LO1/HI1 2020-02-16 18:06:08 -10:00
refractionpcsx2
246d464213 Improved how stalled DMA's handle when waiting, improves Theme Park Rollercoaster loading and Parappa The Rapper 2 runs at 2-3x the speed 2020-02-16 21:57:47 +00:00
refractionpcsx2
5a6c3085e1 DMA Stall on 8qw boundaries 2020-02-16 20:18:40 +00:00
refractionpcsx2
5f65c38d4a Fix bug in GIF stalls double arbitrating when only 2 channels running
Fix IPU DMA requesting when empty on command 0x5
2020-02-16 17:21:12 +00:00
refractionpcsx2
7b762e873c Actually stop the DMA stall IRQ firing more than once 2020-02-16 16:10:11 +00:00
refractionpcsx2
d5d5b4c665 Added IPU_FROM STADR updating 2020-02-16 15:35:37 +00:00
refractionpcsx2
4ca91ec9aa update SIF1 DMA stall code 2020-02-16 15:25:44 +00:00
refractionpcsx2
e44fc22e64 Fix DMAC Stalls and IRQ's
Disable PATH3 when stalled by MFIFO Empty
Fixes Parappa the Rapper 2
2020-02-16 15:17:13 +00:00
dakotachasesmith
81a67b8347 Remove latencies on accessing the FPU's ACC 2020-02-14 15:13:30 -10:00
dakotachasesmith
c3b4afdd85 [EE_JITTRANS] Split waitvu0 and interlock checks into separate function 2020-02-14 15:10:13 -10:00
dakotachasesmith
e931245e39 Remove unnecessary COP2 comment in emotion.cpp; explain use of PC_now 2020-02-14 14:51:49 -10:00
dakotachasesmith
a5971979e0 Remove BNEL s1 == s2 optimization
this optimization made for more clunky Jump handling, and could probably be handled before translation even happens -- if we even wanted to, it's an exceedingly rare case
2020-02-13 23:20:51 -10:00