Commit Graph

44 Commits

Author SHA1 Message Date
Stelios Tsampas e11f002bf9 * Fix file and folder permissions 2018-03-19 11:47:21 +02:00
Stelios Tsampas 01f4990887 * Sync with codeplex branch (libpcsxcore, linux gui)
This commit reflects mostly changes that happened in upstream since the last sync.
    Commit messages in upstream are lacking information. Most important changes are
    commented below, the rest of them are either formating or just trivial stuff.

    Memory viewer, invalidate dynarec
        gui/DebugMemory.c
        libpcsxcore/cdrom.c
        libpcsxcore/gpu.c
        libpcsxcore/misc.c
        libpcsxcore/psxdma.c

    Load binary files and psx executables
        libpcsxcore/misc.c
        libpcsxcore/misc.h
        libpcsxcore/plugin.c
        libpcsxcore/plugin.h

    Support for psxida
        libpcsxcore/debug.c
        libpcsxcore/r3000a.c
        plugins/bladesio1/connection.c

    disable loading save states with digits
        gui/Plugin.c

    Fix psxDIV in interpreter
        libpcsxcore/psxinterpreter.c
2017-07-31 12:48:37 +03:00
iCatButler aafb74a6af Fix NCLIP related crash
- provide wider window where NCLIP can return 0 as this was causing a crash in RR:Revolution
2016-08-01 13:10:53 +01:00
iCatButler 42176205ce Imporved CPU integration
- Change PGXP integration to use wrapper functions
- Use modified function lookup tables to call wrappers or default funnctions based on mode
- Implement wrappers for interpreter too, recompiler sometimes calls interpreter functions
- Add UI elements for selecting CPU modes
- Only call precision version of NCLIP in modes where there are not going to be stale vertices in GTE registers

- Added support for CP0 co-processor functions
- Improve support for CPU functions (still broken in many games)

- Improved debug output to show values for inputs before they're modified

GPU plugin
- Ignore stale vertices (occurs when CPU  mode no longer writes to memory)
- Add Cyan vertex colouring for stale vertices
2016-06-27 15:28:33 +01:00
iCatButler f70082329d Initial PGXP CPU commit
- Restructured project to base interface on PSX instructions
- Support for all relevant CPU arithmetic and logic instructions
- Debug output available via deferred PGXP calls
- Remove most dependencies on PCSXR
- Still very much a work in progress (lots of errors)

- Add extra debug information to GPU plugin (w values)
2016-06-07 15:57:46 +01:00
iCatButler 2a24b74c12 Implement vertex caching
- Try using Blade_Arma's vertex cache to find untracked vertices
- Fix GTE_LOG
- Add more logging spew
- Update debug mode to track cached vertices
2016-05-15 16:26:39 +01:00
iCatButler ca61b53f6c More fixes for persective correct build
- Switch back to fixed point GTE
- Only clamp w to h/2 after divide
- Fix vertex function for multi-pass (was overwriting vertexon first pass)
2016-05-06 17:12:31 +01:00
iCatButler 216c2ff3ae Fix bugs from previous
Fix stray triangles
- Switch to full floating point RTPS/RTPT
- Clamp w values to near plane

Fix texture corruption in 1.78, copy 2.4 Tweak
- Remove matrix replacement
- Add W component to vertices
- Wrap glVertex3fv calls
- Use counter to call glVertex4fv for PGXP vertices only
2016-05-02 15:01:27 +01:00
iCatButler 153c8eb499 Perspective correct texturing
- replace calls to glOrtho with new matrix (z value becomes w)
- store w value for each vertex
- if any vertex does not have a w value set whole polygon to 1.0
- Reset vertex between draw calls to prevent stale w values persisting

- validate PGXP values using stored copy of original (allow greater variance)
- properly convert addresses before passing to plugin
- rework memory to use a single pool with offsets

- Implement floating point RTPS/RTPT transform, currently disabled.
2016-04-27 12:18:13 +01:00
iCatButler 7767ea4acb Initial upload of PGXP. 2016-03-25 16:25:15 +00:00
SND\edgbla_cp 0d1bc99a99 * GTE;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87357 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-06 16:51:35 +00:00
SND\edgbla_cp 1b05b0e973 windows gte fix; :/
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82894 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-14 18:04:00 +00:00
SND\edgbla_cp c415779167 gte (sum flag, gpf);
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82583 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-29 16:34:47 +00:00
SND\edgbla_cp 308cedf358 gte avsz3/avsz4;
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82547 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-27 21:28:10 +00:00
SND\MaddTheSane_cp 4e301cfdb8 Setting end-of-line metadata.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81971 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-12-24 21:25:14 +00:00
SND\edgbla_cp 9a63e31519 Configuration->CPU->Widescreen (16:9, GTE Hack).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78188 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-05-20 14:20:39 +00:00
SND\dario86_cp 79c267cda7 Updated Free Software Foundation address (Jem256).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@75156 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-02-19 02:15:18 +00:00
SND\edgbla_cp d935035451 revert patch from issue 8874 (shalma), break some games.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@69581 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-08-08 18:33:53 +00:00
SND\edgbla_cp 5ba139a4c3 gpu gte acuracy interface.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@68598 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-07-10 10:29:30 +00:00
SND\notaz_cp 0bc644c921 gte: fix MAC0 shift (pcsxr issue #8874, shalma)
fixes missing elements in Soul Reaver and Spyro.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@68249 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-06-29 22:53:29 +00:00
SND\shalma_cp 274efe6b3d Valkyrie Profile - gte.c
- use edgbla value of limH $1000
- seems to work, unverified value

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59726 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-18 01:04:25 +00:00
SND\shalma_cp 6b15677d78 Motor Toon Grand Prix 2 - gte.c
- repair mtc2 - r7,r29
- fixes disappearing objects


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59605 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-14 21:10:56 +00:00
SND\shalma_cp c9fdd9a891 Tales of Destiny 2 - gte.c
- repair SQR - IR output
- fixes underwater lighting


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59303 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-08 02:01:22 +00:00
SND\shalma_cp cac8fc7758 Valkyrie Profile - gte.c
- limH to use $ffff limit
- fixes world map loading

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59302 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-08 02:00:17 +00:00
SND\shalma_cp df333a45ed gte.c
- add some extra MAME changes (MTC2)
- experimental: not in use

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59188 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-05 01:21:22 +00:00
SND\shalma_cp 2a4bcc1bd7 Lego Racers - gte.c
- fix mfc2 r30 (and r29)
- fixes main menu loading


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59187 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-05 01:19:00 +00:00
SND\weimingzhi_cp e97aa8a634 gte divider by shalma
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47961 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-13 09:54:49 +00:00
SND\weimingzhi_cp 3adece8b48 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@46936 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-30 05:23:07 +00:00
SND\weimingzhi_cp 505d6c07d6 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45549 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-16 05:08:42 +00:00
SND\weimingzhi_cp 44be51f993 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45545 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-16 04:44:02 +00:00
SND\weimingzhi_cp 52f3675e10 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45453 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-15 12:50:12 +00:00
SND\weimingzhi_cp 8c939ea635 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45449 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-15 12:10:49 +00:00
SND\weimingzhi_cp 5810556c32 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45285 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-14 10:01:50 +00:00
SND\weimingzhi_cp 9729610b99 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@45071 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-13 16:21:29 +00:00
SND\weimingzhi_cp 7f6e23dcb3 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44990 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-13 03:29:05 +00:00
SND\weimingzhi_cp 486f0f42b7 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44987 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-13 03:05:58 +00:00
SND\weimingzhi_cp 45e4dcf4be git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44914 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 17:37:51 +00:00
SND\weimingzhi_cp 57b41149ae git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44913 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 17:35:46 +00:00
SND\weimingzhi_cp 8a0075e741 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44912 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 17:25:25 +00:00
SND\weimingzhi_cp 5480199bf9 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44911 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 17:15:21 +00:00
SND\weimingzhi_cp cab096cda7 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44908 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 16:42:08 +00:00
SND\weimingzhi_cp 31112098bb git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44907 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 16:41:28 +00:00
SND\weimingzhi_cp ed0bed6286 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@44905 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-04-12 16:34:44 +00:00
SND\weimingzhi_cp 8139fbf820 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23061 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2009-04-16 06:22:51 +00:00