Commit Graph

49 Commits

Author SHA1 Message Date
Stelios Tsampas e11f002bf9 * Fix file and folder permissions 2018-03-19 11:47:21 +02:00
Stelios Tsampas a93c5c5420 * Fix CMake to include PGXP sources. Import updated translations.
Includes some small fixes on CMake, such as prettier status messages,
    host and target arch detection (taken from PCSX2), and various other
    small errors.
2017-07-31 17:09:40 +03: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 595034707b Fix possible function pointer initialisation problem 2016-08-03 19:30:54 +01:00
iCatButler 03cfe9e6c2 Additional checks
- Change processor transfer functions to use take both source and destination values
- Add enum values to all debug functions to double check instructions are correct
- Temporarily store instruction codes in interpreter wrappers as these are sometimes changed by branching
- Change recompiler wrapper functions to store register values in global variables in case they're changed by the original function
2016-07-02 16:52:21 +01:00
iCatButler e634f60589 Fix interpreter bugs
- Reset CPU on switching between interpret and recompiler
- Call wrapped functions even when tests fail
- Handle retrieved data overwriting address in load operations
2016-06-30 11:52:48 +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 fed5120857 Track memory read and writes with constant addresses 2016-05-15 16:24:55 +01:00
iCatButler 8b4350fee7 Bring up to date with PCSX-R master (97809) 2016-03-30 15:07:35 +01:00
iCatButler e3df273095 - Fix memory addresses as each mirrored address range is further mirrored 4 times... :(
- Catch 8bit reads/writes and invalidate registers and memory as needed
- Prevent reading over the end of stride and count arrays when decoding primitive commands
2016-03-28 13:01:50 +01:00
iCatButler b1f5a6ce4d - Move pgxp_gpu source files into correct folder.
- Trace 16 bit reads and writes, invalidate register or memory (fixes UI glitches)
2016-03-26 10:07:46 +00: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\notaz_cp 38f9d3d4ee fix 32bit build
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82407 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-21 00:15:25 +00:00
SND\notaz_cp 8093a16450 dynarec: store cycles before psxBranchTest to better match interpreter
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82380 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-01-19 00:51:24 +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 065ccce6e9 Unix style EOL (thanks to darktjm);
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@81299 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2012-11-18 18:15:59 +00:00
SND\edgbla_cp c2c0e8eb18 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@78211 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2012-05-21 13:56:31 +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\MaddTheSane_cp 12ddb091ed Get rid of parentheses around IsConst and IsMapped macros. Quiets a warning on Clang.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@73976 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-12-31 21:46:51 +00:00
SND\edgbla_cp 4d55a8b825 Patch 10767 (Durandal_1707).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@72138 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-11-09 20:49:54 +00:00
SND\weimingzhi_cp 379a8879f7 Temporarily reverted r64524 until I (or someone else) find the time to sort out the stuff.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64536 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-03-13 08:26:16 +00:00
SND\dario86_cp a58cfdac40 Commited patch in issue #8171 (by darktjm).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64524 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-03-12 18:54:28 +00:00
SND\weimingzhi_cp 0b3c069d3b - dfsound (unix): Added mute option and freqresponse to the config utility.
- gxvideo: Fixed FTBFS.
- Fixed Run BIOS (Issue #7806).
- Updated gettext scripts.
- Credit where it's due.



git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61576 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-12-29 02:39:14 +00:00
SND\weimingzhi_cp 4b1597fce0 dynarec (x86): re-enabled some of the optimizations on memory access. Seems to be okay for V-Rally 2.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61378 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-12-21 09:13:21 +00:00
SND\weimingzhi_cp 0facac847f MaddTheSane:
- Clean up the Xcode projects a bit.
- Added 64-bit mode on Mac.
- Made it so that the SDK was set on the Xcode projects.
- Enabled PowerPC support.
(Patch #7730).

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@61171 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-12-14 08:15:46 +00:00
SND\shalma_cp 1047a456f7 ir3000a.c
- (nhyone) fix jr - bltz
- should improve stability

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59789 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-19 14:01:54 +00:00
SND\shalma_cp ae7f316242 Lode Runner - ir3000a.c
- Stop branch logic during jr - beq
- fixes boot (dynarec)

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59715 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-17 17:59:05 +00:00
SND\shalma_cp 56ab45f8f4 ir3000a.c
- use smaller dynarec block size
- improves dynarec clear speed hit

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59405 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-11 00:41:38 +00:00
SND\shalma_cp e2d0128e13 ir3000a.c
- extra dynarec clear

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59399 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-10 17:47:58 +00:00
SND\shalma_cp 9c4f83771a Pitfall 3D - Beyond the Jungle - ir3000a.c
- clear dynarec slot using old data
- fixes stage loading crash

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59398 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-10 17:46:54 +00:00
SND\shalma_cp 23d402a40c ir3000a.c
- add missing return to recsw


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59388 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-10 14:15:55 +00:00
SND\shalma_cp 35c4162f34 V-Rally 2 - ir3000a.c
- force the clear dynarec memory for sb,sh,sw
- fix corrupted tree sprite (dynarec engine)


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59387 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-10 14:14:58 +00:00
SND\weimingzhi_cp b6a7c5e5bc ported change in r59193 to dynarec (x86-32).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59209 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-05 06:11:21 +00:00
SND\weimingzhi_cp 28bd1fcb79 ported the change in r56828 to dynarec (is the check in psxBASIC() really necessary?), removed powerpc dynarec (cannot test and likely broken).
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56896 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-07 00:55:05 +00:00
SND\weimingzhi_cp b0063e567d changed cdrom timing value so that it behaves the same as older revisions.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@50743 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-06-03 00:41:00 +00:00
SND\weimingzhi_cp 54ef2e8a80 revert the previous revert, and fixed the value in mdec1Interrupt().
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48431 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-21 08:32:39 +00:00
SND\weimingzhi_cp 0956549379 Use SDL for sound plugin, reverted the change to BIAS in r48024. (and I'm too lazy to hunt down the bug with x64 dynarec :( feel free to revert this revert if not preferred :P)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48308 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-19 10:52:11 +00:00
SND\edgbla_cp 830a16adf3 BIAS was moved into rec/int.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-14 08:20:51 +00:00
SND\weimingzhi_cp 85cb5305c3 got rid of 0x80000000 flag in psxRegs.interrupt. such flag doesn't seem to exist in other emus and not likely in real hardware either.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47625 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-08 08:07:45 +00:00
SND\weimingzhi_cp 4d39defcb5 more cleanups.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47580 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-08 01:16:38 +00:00
SND\edgbla_cp 462adb7558 Root counters code was written from scratch.
Final Fantasy 8/9, Vandal Hearts 1/2, Wipeout, Lifeforce Tenka work properly now.
Parasite Eve 2 and InuYasha weren't fixed - it's impossible right now, an overall
emulator's precision is too low. It's needed to count the proper CPU timing and to get rid of BIAS.
Because of the same reason it's useless to set the vsync interrupt on vblank, even if it
would fix some games - Pandemonium for example, but would also broke the
others - Final Fantasy IX for example, I've chosen the last one.
Savestate compatibility is lost.


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47077 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-05-02 16:52:05 +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 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 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 3aa6ae9fd8 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@30152 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2009-09-20 13:36:40 +00:00
SND\weimingzhi_cp c0891807a8 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@23067 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2009-04-16 11:59:29 +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