Commit graph

1873 commits

Author SHA1 Message Date
PSI-Rockin
12b9e4cef8 Merge branch 'master' of https://github.com/PSI-Rockin/DobieStation 2018-07-31 17:34:34 -04:00
PSI-Rockin
2863061fb6 Basic host-to-host reimplementation 2018-07-31 17:34:31 -04:00
ssk97
ff5ba3c265 Tex1 support (magnification filtering only) (#69)
Also fixed disappearing textures in Atelier Iris
2018-07-31 17:21:28 -04:00
PSISP
7534f8b80b
Merge pull request #67 from refractionpcsx2/master
Added lots of new instructions and also VU0 micro mode
2018-07-31 16:43:10 -04:00
refractionpcsx2
8f7db7cb68 Requested changes 2018-07-31 21:41:06 +01:00
refractionpcsx2
24aeba17bc Nothing to see here, move along 2018-07-31 17:31:56 +01:00
refractionpcsx2
bad56c0879 Added new variables to savestates 2018-07-31 17:30:14 +01:00
PSISP
a79d01f284
Merge pull request #68 from tokumeiwokiboushimasu/master
Added -h option to command-line
2018-07-30 22:04:52 -04:00
tokumeiwokiboushimasu
bf5fb5e327
Print the usage
I added -h option.
2018-07-31 09:24:08 +09:00
PSI-Rockin
65478f5ba9 Some adjustments to ADMA...
No clue what the hell's going on here
2018-07-30 19:48:19 -04:00
PSI-Rockin
81b9069a3e Quick hotfix for ELFs/ISOs not given 2018-07-30 18:46:24 -04:00
PSI-Rockin
5786cbaa0a Adjusted timings of AutoDMA transfers
This appears to fix the "SPU" loops that many games suffered from. Some movies are working now
Made some adjustments to command-line options
2018-07-30 18:35:47 -04:00
refractionpcsx2
065ffea3cb Corrected vu_sqrt disassembly 2018-07-30 22:24:09 +01:00
refractionpcsx2
9e92e553d6 Added lots of new instructions
Added PATH3 masking status from VIF
Added PSMCT16S to BITBLTBUF transfers
Added RSQRT and MSUBA to FPU
Added DMA 8/16/32bit reads of VIF0 control
Added VCALLMS/R, BC2, VADDA, VLQI, VLDQ, VSUBA to COP2
Added MSCALF to VIF
Added FMEQ, ITOF15, SUBA to the VUs
Added Branch in Branch Delay Slot handling
Fixed VU0 running
2018-07-30 17:52:32 +01:00
PSISP
767af7e1b2
Merge pull request #65 from ZirconiumX/arg
Improved argument parsing
2018-07-29 17:37:17 -04:00
Dan Ravensloft
5a27a4dd06 Add reference to 20h in README 2018-07-29 22:36:00 +01:00
Dan Ravensloft
bccd5239f0 Arg.h argument parsing 2018-07-29 22:13:13 +01:00
PSI-Rockin
2ff6078380 Reset added VIF variables properly 2018-07-29 12:15:20 -04:00
PSI-Rockin
7be0a27501 Added new VIF variables to savestates
Some code cleanup as well
2018-07-29 12:14:08 -04:00
refractionpcsx2
08c4bb1515 Added remaining VIF Unpacks (#61)
Added remaining VIF Unpacks
Added 16bit writes for some DMA channels
Added small speed up for EE wait loops (up to 40% speed up during loading)
Added VIF Stalling
Added a few VU commands to micro mode
Added some reg lookups for new VIF regs
Added detection for Branch/Jump in Branch/Jump delay slot
Fixed lock up condition in GIF PATH handling
2018-07-29 10:37:33 -04:00
PSISP
0d0e966d77
Merge pull request #62 from tokumeiwokiboushimasu/master
Build fix
2018-07-29 09:04:40 -04:00
tokumeiwokiboushimasu
56fa6bd0bf
Build fix
strncmp needs <cstring>.
2018-07-29 13:05:39 +09:00
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