Commit Graph

29 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 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 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\ckain_cp 2ee144472e Fix Toshinden Subaru with a hack for now. Seems that xa.c needs some further debugging.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87349 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-10-02 16:19:04 +00:00
SND\ckain_cp 4917b2a1a1 Vampire Hunter D title screen hack revisited. Fixes Tomb Raider II opaque water effect.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@87330 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-09-27 13:45:20 +00:00
SND\ckain_cp d0c76b09e9 mem2vram: delay based on BS size. Fixes X-Files videos. Seems not break other videos or games.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@83403 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-03-06 17:49:50 +00:00
SND\ckain_cp 6fd2ccec50 Fix Vampire Hunter D title screen by handling special DMA CHCR 0x0401 (not start/busy).
http://nocash.emubase.de/psx-spx.htm#dmachannels

DmaExec looks fugly now. :/


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82841 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2013-02-13 12:36:00 +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 5d5a8db6c6 git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@64466 e17a0e51-4ae3-4d35-97c3-1a29b211df97 2011-03-11 20:08:35 +00:00
SND\shalma_cp c8edcac4e1 Experimental patches
- cdrom.c - burst dma 0.3333x
- cdrom.c - mono xa attenuation (Tales of Phantasia)
- misc comments cleanup

Disabled by default

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62851 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-02-02 17:26:59 +00:00
SND\shalma_cp 8162b50769 Experimental patches
- gpu.c - use 1/3x dma time (max time allowed by X-Files - system interrupt timing)

- cdrom.c - fix dma wrap pointers

Disabled by default - enable yourself for now


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62840 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-02-02 14:42:02 +00:00
SND\shalma_cp b0cf7dd03d Experimental patches
1- gpu.c
We don't emulate bus conflicts. Especially with DMA.

Lower vram2mem, mem2vram times (1 -> 0.25)
- fixes X-Files videos

2- cdrom.c
Duke Nukem - Time to Kill uses CD attenuation values for XA music, speech
- fix volume slider

3- cdrom.c
Add cdrom dma wrapping
- possible Ape Escape additional fixes (>2352 transfers in several places)


All disabled - view diff and activate at your own risk (accuracy regressions)


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@62832 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2011-02-02 03:10:33 +00:00
SND\shalma_cp dbd09982f8 gpu.c
- remove 1.5x chain hack
- wait for someone to do real fix

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60291 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-28 00:30:45 +00:00
SND\shalma_cp d78e8986a1 gpu.c
- reinstall old compatibility hack (1.5x dma chain)
- fix this later I guess

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@60186 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-26 20:35:06 +00:00
SND\shalma_cp 1068fd8f6e gpu.c
- demolish ugly gpu chain slice hack
- now many broken games should run okay again

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59547 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-13 19:02:15 +00:00
SND\shalma_cp 717eb57fbb gpu.c
- Repair chain slice: prim48, prim4c, prim58, prim5c (thanks gschwnd)
- Repair chain slice: packet80 (peops)
 
- FF9: remove battle hangs, garbage


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59545 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-13 18:47:20 +00:00
SND\shalma_cp 96e3916b33 Final Fantasy 4 - gpu.c
- detect internal vram transfers ($80 packet)
- fixes backdrops
 
- remove dma chain timing hack


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59501 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-12 21:03:59 +00:00
SND\shalma_cp 50077afa22 Tekken 3 - gpu.c
- Add infinite dma loop check to chain slice
- Fixes post-replay flicker

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59480 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-12 14:00:21 +00:00
SND\shalma_cp 143dcb6825 Vampire Hunter D - gpu.c
- Use DMA2 chain slicing to GPU sync better
 
- Fixes Skullmonkeys menus, gameplay backdrops


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59451 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-12 02:31:37 +00:00
SND\shalma_cp f65388d4a2 Vampire Hunter D - gpu.c
- allow changes to linked list in middle of dma2 chain before GPU gets to it
- fixes title screen
- also fixes Einhander gallery images

git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@59304 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-11-08 02:09:55 +00:00
SND\shalma_cp 111694051e Rebel Assault 2
- MDEC: Fix DMA timing (byte ptrs)
- GPU: Fix DMA timing (word sizes, chain counting)


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57226 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-16 00:48:29 +00:00
SND\weimingzhi_cp 177c42d114 a little cleanup
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57141 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-13 07:01:43 +00:00
SND\weimingzhi_cp 71a6d4942d Merged change from http://forums.ngemu.com/pcsx-discussion/116599-developers-wanted-pcsx-revival-9.html#post1902678 with minor amendments.
GPU DMA chain timing (FF7 opening CG and maybe other games too - not tested with rebel assault 2 though).


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@57139 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-13 06:43:32 +00:00
SND\shalma_cp 319977f3f0 Gpu - Disable extra safety check (test this later)
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56984 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-09 13:20:37 +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 dcc46e2d30 Chrono Cross interlace fix (ePSXe version)
GameShark Lite needs GPUSTATUS_READYFORVRAM off when not IDLE. Also fixes CDROM swapping.
- Enable 'Fake GPU Busy States' to work
- Perhaps we should fix PEOPS GPU to turn off READYFORVRAM instead of gpu.c (my temp solution)

Please add gpu.c / gpu.h to your makefiles.


git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@56824 e17a0e51-4ae3-4d35-97c3-1a29b211df97
2010-09-05 01:11:09 +00:00