Commit graph

1751 commits

Author SHA1 Message Date
PSI-Rockin
5c0b7717c8 Added basic savestate support
Limited VIF FIFO size to 64 words
Some code cleanup
2018-07-28 22:01:02 -04:00
refractionpcsx2
088a37d0f5 Added missing MMI Mutlidiv ops (#60)
Added new formats to int128
Modified set_LO_HI to work with 64bit values
2018-07-28 13:55:53 -04:00
ssk97
1936956fae Implement window scaling (#59)
Also fixed depth interpolation bug in render_triangle
2018-07-28 10:19:31 -04:00
PSI-Rockin
a8624b06c9 Hotfixes for error handling 2018-07-27 22:54:34 -04:00
ssk97
7676a42d26 Prevented fatal emulation errors from exiting (#58) 2018-07-27 22:16:58 -04:00
PSI-Rockin
72f76a6d7d Added MSUBbc and MULA
Come on Dark Cloud, stop being greedy
2018-07-27 20:50:33 -04:00
PSI-Rockin
3301e7dfa6 Added LQD and SQD 2018-07-27 20:30:26 -04:00
PSI-Rockin
26456e91a7 Added VU1 ops needed for Dark Cloud 2018-07-26 21:37:55 -04:00
PSI-Rockin
6417b4bcb7 Fixed my PSMCT24Z boo-boo
Also added FCOR, ISWR, and MR32 to VU interpreter
2018-07-26 21:07:00 -04:00
PSI-Rockin
60743caaee Implemented (untested) skipping UNPACK write
Added VMADDq to VU, PSMCT24Z to GS
2018-07-26 20:39:42 -04:00
PSI-Rockin
81f9682121 Added proper XGKICK stalling and fixed some VU bugs
FFX no longer has geometry problems, and goes in-game!
Fixed random crash on VS related to PACKED/REGLIST handling
Slight fix to MFIFO
2018-07-26 19:23:07 -04:00
PSI-Rockin
7bd3aae268 Rewrote swizzling algorithms using GSdx's code
Fixes garbled textures in several games
Added VMINIi instruction (allows FFX to go to menus)
Many changes to VU flags (FFX shows credits)
Added TEXA and destination alpha test (the latter of which is probably buggy)
Added SELECT button
2018-07-25 18:30:43 -04:00
refractionpcsx2
048940344f Various FPU & VU changes and some fixes (#56)
Implemented FPU flags and control register
Fixed a typo
Fixed link register write size for JALR
Adjusted the VU int registers to have signed and unsigned variants. Adjusted ops as appropriate.
Added a DISPLAY selector to the GS (temp code until it's implemented properly)
Added code to set the CPU rounding mode to Chop/Zero to match the PS2 (Fixes Torus demo)
2018-07-21 20:16:28 -04:00
PSI-Rockin
a9a40fdef7 Added bounds checking to tex_lookup and some VU ops
FFX renders the intro scene, but very badly
Also fixed issue with MFIFO introduced by last commit
2018-07-21 20:05:34 -04:00
PSI-Rockin
ad0339ddab Added triangle fan primitive and COLCLAMP to alpha blending
Fixes some problems in Atelier Iris and the BIOS
Cleaned up dead code
Added minor optimization to DMAC
2018-07-21 18:46:02 -04:00
PSI-Rockin
310b4cfd5f Added perspective correction to triangles
Fixed bug in PSMCT16 texture reading - these two changes make the BIOS look much better
Added vestigial COP2 class, for making VPU_STAT accessible to EE later
Fixed bug in CVT.W.S
Added V2-32 UNPACK format
2018-07-20 20:10:15 -04:00
ssk97
246378e7c2 Implement multithreaded GS (#55)
Also added optimization flags to CMakeLists
2018-07-20 19:18:40 -04:00
PSI-Rockin
9dab1d8417 Optimized scissoring test
SotC goes from 1-2 FPS to 4 FPS on the loading screen on my system
Also fixed bug in LQC2
2018-07-17 21:35:15 -04:00
PSI-Rockin
36ffee9034 Added proper control logic for GIF PATHs
Finally fixes junk data in FFX; unfortunately doesn't render credits just yet
Added various VU ops
Implemented VIF1_STAT and GIF_STAT
Fixed formatting issues in XYZF2 on GS side
2018-07-16 19:36:49 -04:00
PSI-Rockin
3d086d8928 Added XITOP, various minor fixes to VU and GIF 2018-07-15 15:56:48 -04:00
refractionpcsx2
26cbf2f26f Various VIF/VU changes (#52)
Implemented VIF Unpack Masking
Fixed Bug in ISW and implemented ISWR
Added Q pipeline and WAITQ instruction
Fixed COL masking implementation
2018-07-15 12:10:06 -04:00
PSI-Rockin
1adb12014c Fixed bug in FCAND
Affects execution of FFX but still ultimately crashes due to junk GIF data
2018-07-15 01:12:36 -04:00
PSI-Rockin
25176d8990 Added ADDbc and XITOP instructions 2018-07-14 22:29:10 -04:00
PSI-Rockin
c921dc4fc3 Fixed bugs in IADDIU, ISUBIU, BAL, and JR in the VU
Added SUBq and SUBi
Possibly fixed bug in MTIR?
Added nice little disassembler for VU microprograms. It executes automatically upon receiving an MPG command
Simplified MPG implementation
FFX is sending junk data to the GIF through VU1... still investigating the cause of this
2018-07-14 22:19:45 -04:00
PSI-Rockin
3c90028cb0 Major feature: implemented VU1 micro mode.
Implemented various UNPACK commands, MSCAL, MSCNT
Fixed bug in QFSRV
Added GIF_STAT register
Temporarily disabled ADMA
SCPH-39001 BIOS "boots", but with major graphical glitches
2018-07-14 12:43:51 -04:00
refractionpcsx2
d6e51eae22 Fixes for VU and FPU (#50)
Fixed bugs in VU IADDi, SQRT and FPU SQRT
2018-07-05 20:10:21 -04:00
PSI-Rockin
7ecf7c836c Added new tables and entries for IPU
Fixed bugs in CSC and SPR_TO DMAC
Added very basic and hackish AutoDMA handling
Added QFSRV
Fixed bug in interrupt handling when both INT0 and INT1 were asserted on EE
Implemented CD read speeds
All these changes allow GTA 3 to start displaying the intro movie
2018-07-05 20:09:02 -04:00
PSI-Rockin
1f4f6e331c Added VU ops needed to make torus.elf work at last
Requires DISPLAY1 though. There also seems to be a bug in the model generation (the torus is deformed)
Also fixed a bug in suba.s
2018-07-04 13:53:45 -04:00
PSI-Rockin
99fe4ba35c Revert AutoDMA to its "proper" value 2018-07-03 23:57:14 -04:00
PSI-Rockin
368ce883d3 Implemented VMSUBbc, VIAND, VITOF4, VMTIR, and VMFIR
Added BLTZAL and BGEZAL to the IOP
Fixed bug in ITOF12
2018-07-03 23:51:46 -04:00
PSI-Rockin
1f568af892 Added VMADDA, VMAXbc, and VMSUBAbc 2018-07-03 22:09:12 -04:00
PSI-Rockin
29806535c6 Added some VU and FPU ops 2018-07-03 21:30:24 -04:00
PSI-Rockin
9d7c76a86d Fixed bug in IOP MULT
Fixes hang in FFX caused by CDVD timing rewrite
Allowed CDVD BREAK to stop reads
Adjusted HSYNC timing
Added "RECV1" to SIO2
2018-07-03 20:17:33 -04:00
PSI-Rockin
f7907a8b22 Revamped CDVD timings to be much more accurate
Added several MMI instructions
Added checks for invalid memory accesses on the IOP side
Fixed bug in SLTIU
2018-07-02 20:26:57 -04:00
PSISP
ae9fd49d03
Update README.md 2018-06-30 18:54:09 -04:00
PSI-Rockin
492156a075 Added basic IPU implementation. Atelier Iris decodes first frame of movie
It gets stuck after this first frame though...
Added HLE implementation of Deci2Call
Added 4 cycle IOP interrupt delay
Added PPACB
2018-06-30 18:51:00 -04:00
PSI-Rockin
d2626e17a6 Added names for EE syscalls
Re-added SIF logging for debugging purposes
Also implemented "viaddi"
2018-06-10 11:50:00 -04:00
PSI-Rockin
27326f6689 Merge branch 'master' of https://github.com/PSI-Rockin/DobieStation 2018-06-09 13:26:50 -04:00
PSI-Rockin
494230330b Added missing break statements
Improved CPU state logging
Added proper execution for GS FINISH events
Added GS_IMR
2018-06-09 13:26:49 -04:00
András Ottó Földes
18342d02c8 Fixed assignment of the TEXCLUT register (#49)
Fixes some bad colors in Atelier Iris
2018-06-09 10:27:44 -04:00
refractionpcsx2
0c60f6e8f0 MFIFO: Moved MFIFO handling in to its own function for VIF/GIF (#48) 2018-06-08 06:07:40 -04:00
PSI-Rockin
57d3636fa9 Added small hack to make interlaced+frame games display better
Need to figure out how CRTC works...
2018-06-07 20:33:30 -04:00
refractionpcsx2
a487ca221b Fixes for MFIFO & Bools Vs Visual Studio (#47)
MFIFO: Fixes to transferring QWC from MFIFO
GIF/GS: Fixes for bool settings (VS hates big shifts when setting bools)
2018-06-06 19:15:34 -04:00
PSI-Rockin
7d6b89046b Added some MMI and VU ops. FFX now boots. 2018-06-05 19:44:08 -04:00
PSI-Rockin
85861e3340 Small compiler error fix 2018-06-05 18:18:42 -04:00
refractionpcsx2
3f22013e1a Added SPR DMA & MFIFO support (#45)
* Added SPR DMA & MFIFO support
Added GS FINISH interrupts
Added some missing DMA register read/writes
Added RSQRT Divide by Zero handling
Pass Emulator class to SPU2 for future interrupts

* Requested fixes
2018-06-05 18:16:26 -04:00
PSI-Rockin
745c46bb28 Fixed a stupid, stupid scratchpad bug in EmotionEngine::write16
Added basic memdump for GS
Added madda_s for FPU
Slightly improved unrecognized I/O access logging
2018-06-05 17:59:11 -04:00
PSI-Rockin
c74f158635 Make VS2017's compiler happy
You're welcome, ref :P
2018-06-02 20:41:26 -04:00
PSI-Rockin
6f35c0e1e9 oops 2018-06-02 20:01:16 -04:00
PSI-Rockin
c4d4c90a10 Implemented VFTOI12 and VFTOI15
Also added TTE support for VIF0
2018-06-02 19:59:21 -04:00