Commit graph

1873 commits

Author SHA1 Message Date
refractionpcsx2
262f86fc67 Implemented RTC 2018-08-18 21:23:08 +01:00
PSISP
d1218da291
Merge pull request #89 from refractionpcsx2/master
Added remaining timers, prescales, and external clock support for IOP
2018-08-18 14:15:31 -04:00
refractionpcsx2
24d01bcf11 Removed some whitespace 2018-08-18 19:12:19 +01:00
refractionpcsx2
db51d40100 Added remaining IOP Timers
Added IOP Timer Prescales
Added External Clock support for IOP Timers
2018-08-18 19:08:27 +01:00
PSI-Rockin
444740894e Rewrote ADMA
Atelier Iris gets further in its movie but still runs out of data; GTA 3, disturbingly, loops
Fixed DVD reads/seeks being 6x as slow
Added logging toggle for main IPU file
2018-08-18 12:24:13 -04:00
PSISP
29371a7aed
Merge pull request #87 from refractionpcsx2/master
Fix for divu1 and multu1
2018-08-17 22:13:10 -04:00
refractionpcsx2
9cdb28d831 Fix for divu1 and multu1 2018-08-17 15:54:44 +01:00
PSI-Rockin
55671b9d01 Added VSYNC timer gates
Also added stub for SPU sample generation
2018-08-12 16:48:57 -04:00
PSI-Rockin
87a41fed9e Re-route unhandled PACKED cases to the GS 2018-08-12 14:34:57 -04:00
PSI-Rockin
288165f78c Integer width fix for CDVD_Drive::read_file
Also fixed a memory leak in fast_boot
2018-08-12 00:59:07 -04:00
PSI-Rockin
b5346f6d2e Fixed incredibly stupid fast boot bug 2018-08-11 23:12:09 -04:00
PSI-Rockin
e71175ca5a Moved ISO fast boot to eret
This should fix fast boot for other BIOSes
2018-08-11 20:34:34 -04:00
ssk97
0dd937344b Add support for FRAME/DISPFB formats (#85) 2018-08-11 19:19:28 -04:00
PSI-Rockin
b23503508d Added proper support for dual-layer DVDs
Made some changes to fast boot emulation, which stops God of War from hanging on SCEA screen
Added WriteConfig stub (allows BIOS to reach browser)
Added PSMCT16Z texture format
Reverted CYCLES_PER_FRAME speedhack
2018-08-11 19:18:10 -04:00
PSI-Rockin
b4722c58e4 Modify CDVD to use 64-bit integers
Should hopefully fix games that have a file size greater than 4 GB
2018-08-08 21:01:53 -04:00
PSI-Rockin
0ab9c5f695 More DS2 support, as some games are still unhappy 2018-08-07 20:03:51 -04:00
PSI-Rockin
ef0a683edf Added proper DS2 support
Both KH1 and KH2 get to menus! (The former only boots with a speedhack turned off, however)
2018-08-07 19:48:11 -04:00
PSI-Rockin
2f92a829de Possibly added DS2 support?
Needs more testing
2018-08-07 18:54:36 -04:00
refractionpcsx2
d55a034312 Fixes for GS, VIF and added DADDI for EE (#84)
Fixed some GS register writes and added missing DISPFB2 and XYZF3
Added Filling Writes to VIF
Fixed MARK command
Added VIF_CODE (read by Gran Turismo 4)
Added DADDI EE OP
2018-08-07 17:24:14 -04:00
PSI-Rockin
e820bf59be Add varying block sizes to CD reads 2018-08-05 20:15:49 -04:00
PSI-Rockin
0d5c5d750d Fix for Gregory Horror Show 2018-08-05 19:01:44 -04:00
PSISP
741635cd10
Merge pull request #82 from refractionpcsx2/master
Properly Added GS Vsync IRQs
Added some VU/VIF memory reads
Added UNPACK functionality according to PS2 Auto Tests
Tidied up a bunch of VU operations and added a CLIP flag pipeline to FMACs
Fixed link addresses on VU branch in branch delay slot
Fixed a chain mode bug in SPR
Altered DMA so the TADR properly follows MADR in CNT mode, also prepared for DMA Stall addresses on Dest Chain mode
Corrected SIF0 DMA register usage
Added run cycles to VIF for future situations where the CPU may have stalled
Adjusted VIF loop so we don't need double versions of VU waiting and VIF Stalls
2018-08-05 17:05:40 -04:00
refractionpcsx2
7101824903 freeze, not free 2018-08-05 21:39:34 +01:00
refractionpcsx2
c33e0df234 Requested changes 2018-08-05 21:28:34 +01:00
refractionpcsx2
8454b0d117 BIOS fix 2018-08-05 19:39:57 +01:00
refractionpcsx2
02c5f3f22c Added MSUBAbc and MAXi VU ops
Applied masking to the VU addresses during reads/writes and branches
Removed some old code from VIF and split the microprogram logs in to VU0/VU1
2018-08-05 18:08:00 +01:00
refractionpcsx2
e169bd8b72 Removed logging line I left in accidentally 2018-08-05 15:38:14 +01:00
refractionpcsx2
aa91303126 Fixed VIF Stall bug I introduced in my previous big commit
Added VIF STOP support
2018-08-05 14:11:04 +01:00
refractionpcsx2
e513585b90 Correct the sizes of VU memory reads 2018-08-05 13:21:29 +01:00
refractionpcsx2
4b18a51c5a Various changes
Properly Added GS Vsync IRQs
Added some VU/VIF memory reads
Added UNPACK functionality according to PS2 Auto Tests
Tidied up a bunch of VU operations and added a CLIP flag pipeline to FMACs
Fixed link addresses on VU branch in branch delay slot
Fixed a chain mode bug in SPR
Altered DMA's so the TADR properly follows MADR in CNT mode, also prepared for DMA Stall addresses on Dest Chain mode
Corrected SIF0 DMA register usage
Added run cycles to VIF for future situations where the CPU may have stalled
Adjusted VIF loop so we don't need double versions of VU waiting and VIF Stalls
2018-08-05 13:00:11 +01:00
PSI-Rockin
abe2ea2327 Reapply old CNT behavior 2018-08-04 23:37:49 -04:00
PSI-Rockin
aa04d65d5c Added VISUB and VMULAq
Also fixed minor CNT bug in DMAC
2018-08-04 21:52:03 -04:00
PSI-Rockin
b3340b4b47 Fixed edge case in IOP DMA - STAT should only be raised if MASK is set
Also fixed divide-by-zero bug
2018-08-04 19:43:07 -04:00
PSI-Rockin
8ef72e065a Fixed compiler errors
Also fixed COP2 and EE timer bugs
2018-08-04 09:24:21 -04:00
PSISP
2e819d0f9c
Merge pull request #74 from ssk97/optimizations
* use ldexp in LOD calculation
precalculate interpolations in render_sprite

* add precision to render_sprite, loop unswitching

* loop unswitching for render_triangle
fix precision on render_sprite
reduce math needed on LOD calculation

* use ints instead of uints, use 16 extra bits of precision instead of 8

* fix Q
2018-08-03 16:48:18 -04:00
ssk97
91f14c6ce5
Update gs.cpp
fix Q
2018-08-03 12:42:18 -07:00
PSI-Rockin
8b22d7138a Added various VU ops
Also fixed some VU disasm bugs
2018-08-02 17:04:27 -04:00
PSISP
342fe3d38a
Merge pull request #73 from refractionpcsx2/master
VU and VIF changes
2018-08-02 16:13:54 -04:00
ssk97
02a33ab46f use ints instead of uints, use 16 extra bits of precision instead of 8 2018-08-01 19:48:49 -07:00
ssk97
d03c80cffb loop unswitching for render_triangle
fix precision on render_sprite
reduce math needed on LOD calculation
2018-08-01 19:20:26 -07:00
ssk97
2c376f9c14 add precision to render_sprite, loop unswitching 2018-08-01 18:58:42 -07:00
ssk97
5abc0ff42a use ldexp in LOD calculation
precalculate interpolations in render_sprite
2018-08-01 18:19:31 -07:00
refractionpcsx2
d981e706a8 VU and VIF changes
Added basic handling of VPU_STAT
Change COP2 to use normal pipelining instead of just flushing
Added VIF UNPACK MODE support
Tweaked VU Execution so it cannot start one while one is already running
Added updating of VU Status register
Added FSAND, MULAq VU OPs
Properly clamped VU results
Added VU stalling for Q based commands and WAITQ gets priority over upper instruction
Fixed bug in LQD VU OP
2018-08-02 00:15:33 +01:00
PSI-Rockin
c6522fe3e0 Added "skipmpeg" hack
This allows us to get rid of the previous hack for Atelier Iris, which is somewhat good as this one is generic.

Why have this hack? FMVs are only a secondary consideration compared to getting the rest of the emulator functional. Once the core emulation is good, we can work on perfecting movie playback.
2018-08-01 19:00:36 -04:00
PSISP
7b7309e539
Merge pull request #72 from refractionpcsx2/master
Some IPU changes and added ERSQRT/RSQRT
2018-07-31 21:20:39 -04:00
PSI-Rockin
08c62bc4c2 Merge branch 'master' of https://github.com/PSI-Rockin/DobieStation 2018-07-31 21:17:58 -04:00
PSI-Rockin
4b0fc478b6 Added PSMCT4 to host-to-host transfers and also ITOF15
Some fixes to (hopefully) get Jak 1 further
2018-07-31 21:17:56 -04:00
refractionpcsx2
8656aaab20 Some IPU changes and added another VU op
IPU changes need work, but this puts us in a better state than we were in
2018-08-01 00:07:25 +01:00
ssk97
ae71a745ac fix LoD calculation (#71)
* round down LoD when very near 0
2018-07-31 18:52:21 -04:00
PSI-Rockin
9fd2e04c32 Hotfix for compiler issues 2018-07-31 18:31:46 -04:00