summaryrefslogtreecommitdiff
path: root/libpcsxcore
Commit message (Collapse)AuthorAgeFilesLines
* Consider sockets less than zero as invalidXavier Del Campo Romero2020-12-301-1/+1
|
* Provisionally redirect RawReadSocket to ReadSocketXavier Del Campo Romero2020-11-031-1/+4
|
* Notify gdb stub whenever a break instruction is executedXavier Del Campo Romero2020-11-031-3/+12
|
* Call perror on socket.cXavier Del Campo Romero2020-11-031-2/+6
|
* Do not continue program on add/remove breakpointXavier Del Campo Romero2020-10-261-2/+4
|
* gdb halt command was not being sent to CPU interpreterXavier Del Campo Romero2020-06-082-7/+16
|
* Implemented port-specific wrappers and logic for gdb stubXavier Del Campo Romero2020-06-044-5/+68
|
* Replaced in-house gdb stub by MIT-licensed implementationXavier Del Campo Romero2020-05-239-148/+8
| | | | Imported from a fork of https://github.com/mborgerson/gdbstub
* Started implementing GDB serverXavier Del Campo Romero2020-05-239-25/+169
|
* Added GDB server on CpuCfg UI dialog, rearranged layoutXavier Del Campo Romero2020-05-221-2/+3
| | | | | | The layout was rearranged to make it fit on smaller screens e.g.: 768pix height as featured on many laptops. GDB server not implemented yet.
* client_socket was being accidentally reset to -1Xavier Del Campo Romero2020-05-222-6/+21
| | | | | That was making the telnet debug server to crash, so fortunately that solved it while also having the neat features from dynstr.
* Introduced dynstr, other breaking changesXavi Del Campo2020-05-025-231/+327
|
* Added dynstr, fixed NULL pointer accessXavi Del Campo2020-05-021-18/+18
|
* Support for multiple socketsXavi Del Campo2020-05-022-63/+61
|
* Disable autoselect for PPC dynarec since it's brokenMystro2562019-02-131-2/+5
|
* * Fix file and folder permissionsStelios Tsampas2018-03-1964-0/+0
|
* * CMake messagesStelios Tsampas2018-03-191-1/+1
|
* Merge pull request #7 from loathingKernel/sync-with-codeplexiCatButler2018-03-1925-344/+458
|\ | | | | Sync with codeplex
| * * Remove autotools build system.Stelios Tsampas2018-01-121-102/+0
| |
| * * Fix CMake to include PGXP sources. Import updated translations.Stelios Tsampas2017-07-313-22/+31
| | | | | | | | | | | | Includes some small fixes on CMake, such as prettier status messages, host and target arch detection (taken from PCSX2), and various other small errors.
| * * Import CMake build system from codeplexStelios Tsampas2017-07-311-0/+105
| |
| * * Sync with codeplex branch (libpcsxcore, linux gui)Stelios Tsampas2017-07-3119-186/+263
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
| * * Revert parts of the per game memory card patch.Stelios Tsampas2017-07-307-52/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | The previous implementation was doing file paths manipulation deep inside sio.c, and it was hardcoding windows style paths. This was breaking on linux in more than one ways and it is incompatible with the dynamic apppath handling from codeplex branch. Moreover, SaveMcd and LoadMcd functions already take memory card file paths as arguments, making any such logic redundant. This patch rewrites the global Config.Mcd# variables during game startup, which makes it more compatible across all platforms. It also has the added benefit that it doesn't update the configuration file with the each game's memory cards, i.e. at PCSXR startup the default memory cards will be loaded.
* | Merge branch 'master' into fix-linux-buildiCatButler2018-03-134-90/+144
|\ \ | |/ |/|
| * Fix PGXP support in 64bit dynarec on OSX/LinuxMrLavender2017-06-293-89/+143
| |
| * Fix OSX debug buildMrLavender2017-06-272-1/+4
| |
* | Bring cdriso.c up to date to enable CCDDAStelios Tsampas2017-07-162-307/+374
| |
* | Fix compilation on linux.Stelios Tsampas2017-07-163-6/+23
|/
* Prevent incomplete vertices using precise NCLIPiCatButler2017-04-253-2/+3
| | | | - Fixes errors ocurring in +CPU mode where NCLIP is used for collision detection
* Add support for arbitrary clock multipliersiCatButler2017-03-172-27/+2
| | | | Allows users to set an arbitrary floating point value to multiply CPU clock speed by. Drop box provides access to all the previous presets.
* Fix OSX buildCarter Li2016-08-052-2/+2
|
* Add PGXP support to 64bit dynareciCatButler2016-08-052-10/+384
| | | | - Copy over PGXP integration from 32bit version
* Fix possible function pointer initialisation problemiCatButler2016-08-033-4/+3
|
* Fix NCLIP related crashiCatButler2016-08-013-26/+30
| | | | - provide wider window where NCLIP can return 0 as this was causing a crash in RR:Revolution
* Various CPU updatesiCatButler2016-07-307-167/+923
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Sign extend values read using LH - Add conversion functions to represent Signed/Unsigned 16-bit ranges - Add overflow and truncation functions for 16-bit ranges - Sign extend imm value in ADD(U) - Add component overflow and truncation to ADD/SUB functions - Construct new value in logic operators where result using inputs is undefined - Return a valid W component from logic operators (if either input has one) - Compare against high value (y), then low value (x) in less than operators - Use doubles and implement overflow for Multiply operations to try to increase accuracy - Use unsigned values in both MUL and DIV operations to make output as accurate as possible - Implement several variants of shift operators. Trying both arithmetically correct and more analytical approaches with varying success. Debug updates - Added ability to force all values to be equal to low precision values before operating on them - Added feature to test output of operations against a tolerance and print only those which fail GPU updates - Colour vertices with valid XY coordinates but no W as cyan to make them easier to spot - Remove cyan colouring for stale vertices (wasn't useful) - Added ability to skip debug rendering when needed (like seeing the output of offscreen rendering applied to a sprite). - Added new mode which shows primitive type
* Use overclock on load stateiCatButler2016-07-301-0/+4
| | | | - Recalculate CPU counters using current clock speed on loading a new state
* Change "valid" flag to multiple bit flagsiCatButler2016-07-046-48/+76
| | | | Validity of a pgxp value can now be set for any of four components using individual bit flags. This also allows the potential expansion of more flag data for each component.
* Additional checksiCatButler2016-07-028-162/+387
| | | | | | | - 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
* Fix interpreter bugsiCatButler2016-06-302-21/+32
| | | | | | - Reset CPU on switching between interpret and recompiler - Call wrapped functions even when tests fail - Handle retrieved data overwriting address in load operations
* Initialise GTE and CPU regsiters (invalidate)iCatButler2016-06-305-2/+25
|
* Disable debug modeiCatButler2016-06-294-2/+7
| | | | - Also add stub for RFE operation
* Imporved CPU integrationiCatButler2016-06-2718-1398/+1207
| | | | | | | | | | | | | | | | | - 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
* CPU op fixesiCatButler2016-06-111-35/+42
| | | | | - SH: Use appropriate masking when validating 16-bit values before storing - Shift operations: on shifts larger than 16bits, first shift elements along, then apply arithmetic for remainder
* Initial PGXP CPU commitiCatButler2016-06-0713-486/+2715
| | | | | | | | | | - 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)
* Add PGXP configuration dialogiCatButler2016-05-162-3/+11
| | | | - Allows independent toggling of PGXP, vertex caching and texture correction
* Merge with OSX commitiCatButler2016-05-151-0/+5
|\
| * Fix build on OSXCarter Li2016-05-131-0/+4
| | | | | | | | Tested on OSX 10.11.4, Xcode v7.3
* | Implement vertex cachingiCatButler2016-05-155-23/+74
| | | | | | | | | | | | | | - 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
* | Track memory read and writes with constant addressesiCatButler2016-05-151-0/+80
| |
* | Define and initialise PsxClockSpeediCatButler2016-05-152-1/+4
|/ | | | - Fixes crash on entering bios