Commit graph

1873 commits

Author SHA1 Message Date
PSI-Rockin
a6af1b310f Draw right sides of triangles and sprites if they intersect the scissoring boundary
Fixes black lines and bottom screen garbage seen in certain games
2019-03-19 20:41:59 -04:00
PSI-Rockin
704ec82126 Fix bad disassembly 2019-03-19 19:42:57 -04:00
water111
52ad9de43c Fix maxi instruction to use correct register (#149)
Also update printf for JALR to print JALR
2019-03-19 10:57:51 -04:00
PSI-Rockin
4c31f95290 Merge remote-tracking branch 'origin/master' into scheduler 2019-03-17 21:18:32 -04:00
Kojin
8dbced1278 fix vs build (#148) 2019-03-17 20:52:27 -04:00
PSI-Rockin
92e3489b3a Fix to prevent segfaults on Linux 2019-03-17 20:34:58 -04:00
PSI-Rockin
b7841add77 Remove bugged FlushCache HLE and implement CACHE IXIN
This should fix some timing issues, especially if games flush cache a lot
2019-03-17 19:54:54 -04:00
PSI-Rockin
e791fc8725 Fix build and COP2/VU0 sync bug 2019-03-17 18:36:21 -04:00
PSI-Rockin
9659c9d594 Implement basic EE instruction cache
The CACHE instructions are unimplemented, though FlushCache is HLE'd. This will change soon.
Also update VU0 for the correct number of cycles on a COP2 instruction, rather than a static 16
2019-03-17 17:57:36 -04:00
water111
67a9e2682c Only save microprograms if crc is unique (#147)
Also terminate emulation if a Deci2Send message is too long
2019-03-17 13:25:58 -04:00
water111
beecfcdd14 initialize variables at reset (#146)
fixes occasional freeze on startup
2019-03-15 12:57:35 -04:00
PSI-Rockin
ed89ba9446 Merge branch 'master' into scheduler
blorp)
2019-03-14 23:31:07 -04:00
refractionpcsx2
173de0520f Keep correct decoder state across branches (#145) 2019-03-14 18:58:56 -04:00
PSI-Rockin
b8ca96fed6 Implemented PSMCT24 local-to-local transmission 2019-03-14 14:44:05 -04:00
PSI-Rockin
fc62fb3b44 Reworked VRAM->VRAM transmissions
Implemented different transfer directions and added checks for both source and dest formats
Also implemented SIGLBLID masking
2019-03-14 14:06:57 -04:00
PSI-Rockin
145832c06f Implemented ESADD 2019-03-12 23:15:19 -04:00
PSI-Rockin
81ee072b58 Implemented VIOR 2019-03-12 21:02:40 -04:00
PSI-Rockin
d385a35e21 Implemented ESUM 2019-03-12 19:32:37 -04:00
PSI-Rockin
b464537cb4 Fixed dumb bugs 2019-03-10 22:19:32 -04:00
PSI-Rockin
5dc5174e98 Implement IOP scratchpad 2019-03-10 21:43:34 -04:00
PSI-Rockin
2156df76c4 Remove instructions_ran 2019-03-08 20:08:28 -05:00
Kojin
2b06dc5928 Update README with windows build information (#143)
Just adds some notes about building with visual studio.
And adds the readme to the project file.
2019-03-07 18:39:57 -05:00
Kojin
c36db597e6 Windows build updates (#142)
- remove qt tools dependency
- purge qt references from libdeflate
- properly include libdeflate and remove a win32 define
- add appveyor.yml, no deployment for now

You will need to manually set QTDIR in your environment variables (qt tools may set it but it happens too late on my machine).
2019-03-06 14:23:00 -05:00
PSI-Rockin
c1ebbeb47c Implemented VBLANK start and VBLANK end as scheduler events 2019-03-06 10:55:41 -05:00
Flávio Monteiro
c553a5b161 Remove outdated information about -s flag from README.md (#140)
It's no longer needed for full game boot since 61b622b116
2019-03-05 12:27:01 -05:00
PSI-Rockin
61b622b116 Get full boot working 2019-03-04 18:13:18 -05:00
PSI-Rockin
17fa1f5c90 Stub for scheduler 2019-03-04 15:20:20 -05:00
Flávio Monteiro
f73635f930 Add key bindings to readme and additional -s flag info (#139) 2019-03-04 14:02:01 -05:00
PSI-Rockin
e3a7f37a6e Fix address alignment bug in DMAC::read8 2019-03-03 14:41:50 -05:00
PSI-Rockin
6243b354f5 General logging and code cleanup
Added a few extra DMAC 8-bit and 16-bit writes
2019-03-03 14:00:43 -05:00
refractionpcsx2
1a009d7ae1 VU JIT: Save and restore pipeline states between blocks (#135)
Remember branch/ebit state if XGKick stalls one one of them
Clamp min/max instructions (fixes GT4)
2019-03-02 15:58:28 -05:00
PSISP
eea758b3da
blorp (#136)
* Implemented ADDAq in the interpreter

* Add proper support for 2340-byte CD reads

Habitual Hamster Ball now boots
2019-03-01 22:37:18 -05:00
Kojin
d347813f66 Fix some build stuff (#134)
- remove libdeflate.vcxproj.user
- git ignore instances of *.vcxproj.user in git
- purge win 10 platform dependency
2019-03-01 11:53:53 -05:00
PSISP
cb312579d4
Merge pull request #133 from tadanokojin/dmac-spr-from-8bit
DMAC SPR_FROM 8bit read/write
2019-03-01 11:41:21 -05:00
Kojin
43ceee9cae DMAC spr from 8bit read/write
Implement 8bit write for dmac transfer from scratchpad to main memory.
Fixes an issue in Dark Cloud 2 that was causing it to hang before the title screen on a bc0f op.

I also did the read, not sure if this is useful or correct.
2019-03-01 11:27:42 -05:00
PSISP
4da9dda288
Merge pull request #129 from PSI-Rockin/vu_jit
VU1 Recompiler
2019-03-01 10:14:38 -05:00
PSI-Rockin
ce1f27cd18 Added PSMCT32Z texture format
Also clamp initial S, T, and Q values
2019-02-28 21:00:21 -05:00
PSI-Rockin
b134c27d7c Move PATH1/PATH2 stall check after microprogram ends
Fixes regression in FF2... oops
2019-02-28 19:16:11 -05:00
refractionpcsx2
fde75a1955 Fix for Libdeflate VS Project (#132)
Disabled some printf's
2019-02-28 19:09:58 -05:00
PSI-Rockin
f3bef6041e Modify FLUSH to only check the active path
Also prevent PATH3 from getting interrupted if neither PATH1 nor PATH2 are queued
2019-02-28 18:25:02 -05:00
PSI-Rockin
cded05ac63 Don't stall on FLUSHA if PATH3 is masked
Also add PATH1/PATH2 stalling to FLUSHA and MSCALF
2019-02-28 16:03:54 -05:00
refractionpcsx2
7ae2befa92 Fix Windows Compilation (#131) 2019-02-28 15:30:15 -05:00
refractionpcsx2
6799b02dbc Update VS project for new CSO reader (#130) 2019-02-28 15:09:49 -05:00
PSI-Rockin
c4289856c7 Fixes to get DS to compile again 2019-02-28 13:16:41 -05:00
PSISP
3cf1ca78d0
Update application.pro 2019-02-28 13:05:41 -05:00
PSISP
47ea09f61c
Merge branch 'master' into vu_jit 2019-02-28 13:01:55 -05:00
refractionpcsx2
efdc64605e Added double+ branch handling for VUs (#128)
Fixed XGKick delays when stalled
Improved timing for integer branch delays (Stops KH2 hanging)
2019-02-28 12:38:52 -05:00
PSI-Rockin
ce86f71a1c Make FLUSH wait for PATH1/PATH2 to finish executing
Fixes unrecognized primitive error in Fatal Frame 2
2019-02-27 21:10:10 -05:00
PSI-Rockin
e4e9602915 Adjusted normal SPU DMA to transfer one word per 4 cycles
Also forced IOP to check for interrupts every cycle. This allows Atelier Iris to load its FMVs, and will possibly fix other games as well
2019-02-27 15:50:04 -05:00
PSI-Rockin
db5188bdd5 Add missing header 2019-02-25 20:35:45 -05:00