Commit Graph

31 Commits

Author SHA1 Message Date
Xavier Del Campo Romero 850010a96b Replaced in-house gdb stub by MIT-licensed implementation
Imported from a fork of https://github.com/mborgerson/gdbstub
2020-05-23 19:03:11 +02:00
Xavier Del Campo Romero 470da05658 Started implementing GDB server 2020-05-23 18:05:53 +02:00
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 595034707b Fix possible function pointer initialisation problem 2016-08-03 19:30:54 +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
SND\ckain_cp f16c114458 PSXCPU_LOG for dynarec64 (dumped only compile). Dump log only if PSXCPU_LOG defined and Config.PsxOut option is used. Minor code polishments.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@85183 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-06-07 10:35:59 +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\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 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\notaz_cp 1b70fa81fe psxinterpreter: do interrupt test after doing target instruction
otherwise in case interrupt happens, target insn is executed twice,
causing occasional glitches in Tekken 2.
Also clear branch flag for it - it's not in delay slot.

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64369 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-03-09 22:30:50 +00:00
SND\weimingzhi_cp f1da161879 notaz:
- libpcsxcore: add handling for a branch in delay slot. This fixes explosion effect in Shadow Master. Interpreter only. (Patch #8233).
- dfsound: don't stop a channel by adsr if we have potential irq. otherwise we miss irqs, causing lockups in Misadventures of Tron Bonne (Patch #8234).


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62781 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-02-01 02:15:55 +00:00
SND\weimingzhi_cp 27e8b5744d - Added -slowboot parameter.
- Load SBI file from patches/SLUS_xxx.xx.sbi instead.
- Inlined the I-cache code for performance improvement.
- Fixed endianness issue (not tested).


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62024 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-01-12 02:51:29 +00:00
SND\shalma_cp a8ffba8f7e psxinterpreter.c
- dobranch = peek, don't cache

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60334 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-29 19:18:58 +00:00
SND\shalma_cp 0cfe75b916 psxinterpreter.c
- (nhyone) fix load delay bgez, bgezal

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60032 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-23 13:55:51 +00:00
SND\shalma_cp 807a5644e8 Xenogears - psxinterpreter.c
- lbu v1 - beq v1 = no load delay
- fix battle loading (interpreter only)


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59863 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-21 00:33:16 +00:00
SND\shalma_cp fe689494e4 Xenogears Agemo translation - psxinterpreter.c
- load delay slot
- should pass emu detection
- only works with interpreter

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59194 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-05 01:34:18 +00:00
SND\shalma_cp 80b1d885d1 Threads of Fate - psxinterpreter.c
- divide by zero handling
- fixes Rue's quest house bug
- only works with interpreter

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59193 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-05 01:30:41 +00:00
SND\shalma_cp 031b39df59 Gpu - remove ePSXe Chrono Cross interlace hack (several reports it causes problems - use GPU plugin Chrono Cross fix + GPU fake busy states)
Interpreter - remove psxBASIC CP0 check (redundant)


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56983 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-09 13:07:14 +00:00
SND\shalma_cp 6dd9da932f Formula One 2001 - add CPU I-cache (fixes in-game racing controls + AI)
- Only interpreter mode works for now (enable at the loading screen with the question and points timer. okay to switch back to recompiler when the tracks shows up)


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56829 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-05 01:32:04 +00:00
SND\shalma_cp 193fa542ff Don't access GTE when CP0 disables it
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56828 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-05 01:27:34 +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 b8b814362e git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@48367 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2010-05-20 04:55:02 +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 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 c053578923 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@31468 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2009-10-09 10:00:15 +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