Commit Graph

692 Commits

Author SHA1 Message Date
cottonvibes 347e62e60b commented out some code i'm pretty sure isn't needed. please report if any games break with this revision. (i don't think any will)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@195 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 2356f75396 fixed some bad VU1 opcodes (some opcodes didn't even return the correct register, so the correct result would end up in the wrong reg lol) also cleaned up some DMA code a tiny bit, and added FreezeXMMRegs() where it was needed.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@194 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 d69dc9a554 Adjusted spu2ghz project file (vs 2008)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@193 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 14d14ec6b9 Added SPU2Ghz to the repository
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@192 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 09cf85f57d Fix a few spelling errors, make the Ok and Cancel buttons consistant in appearance on the gtk port, add some preliminary code for two dialogs, and get rid of the abomination that is a global variable named 'Window'.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@191 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 1d23c27200 changed the functions 64bit was having trouble with, to be the same for 64bit and 32bit without using the 64hack macro.
not sure yet why part of ADD32ItoM() was breaking 64bit, so i just commented that out.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@190 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 8d23a6c6ab Change a few things in ix86.c to the way they were originally *if* you are running the 64 bit version. I've marked what each section breaks, if rama wants to look at it. I also fixed up the indentation in the file...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@189 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 e90576254b Fix commit r186. Two header files weren't under version control, so didn't come over. :(
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@188 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 1420fa3840 Bring the changes made to iR5900-32.c over to iR5900-64.c, as well as correct an annoying typo. (Note: I suspect some of the non-playground changes aren't in sync either, but I haven't really had a chance to look at those).
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@187 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
arcum42 ba9157ef68 Add the Game Fix, Speed Hack, and Advanced Dialogs to the Linux port.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@186 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 7f8380e2ba this should fix Dark Cloud 2. please comment if it does/doesn't work :p
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@185 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes dcec162818 Magna Carta fix is now a toggable gamefix, since it broke Crash Bandicoot.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@184 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 800a634dc2 fixed some potential EErec problems.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@183 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes d63edda5ca formated and cleaned up counters.c a little bit.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@182 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 706dc3689b added some code to make the magna carta fix configurable by the macro SUPERVU_VIBRANCHDELAY2. when SUPERVU_VIBRANCHDELAY2 is defined, it uses the old way (the method that breaks Magna Carta)
this is just for easier debugging.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@181 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 0541f4a462 Just a reminder that counters don't work 100% yet.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@178 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
ramapcsx2 3b0f153dbb Magna Carta now works. Please report if you have any new bugs with this.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@176 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 60f42192e9 the document i was reading had incorrect information for the ORI opcode (said it should be a sign-extended immediate, but its really supposed to be zero-extended) took me hours to figure out the problem ><
anyways, I fixed the opcodes correctly...

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@175 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes bd17a637ba O
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@174 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 06d3b9731b some EE rec and interpreter opcode fixes. theres still some possible problems with the rec opcodes, not sure how i'm going to fix it yet. anyways, should be alot better than it was before.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@173 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes c734750dde very-minor spelling mistake change :O
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@172 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 7cbf3cec28 minor fpu changes
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@171 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 3774eedbae some fpu interpreter changes...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@170 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 34a196376b made the code i commented-out in r167 work correctly. games that had problems when the "disable underflow" speedhack was left Un-Checked, should now be fixed.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@169 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes e5ca03fc17 nasty error... i was clamping incorrect reg-vectors in recUpdateFlags(), so this could have caused problems...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@168 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 0875c6ef55 commented out some code for now. now, i know why leaving "disable underflow speedhack" unchecked sometimes breaks games.
i'll have to fix it later, but for now the speedhack is always on (this is more compatible)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@167 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes a85045b60f according to psxAuthor, branches wrap around when the result is less than zero; so i'm trying this. should fix some possible graphic problems/errors caused by incorrect VU branch addresses...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@166 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:23 +02:00
cottonvibes 9e850224c2 forgot to change this...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@165 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes ee5d3d02fb fixed possible allocation problems...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@164 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes ac7da51968 fixed some possible allocation problems... Fixes rockstar games that were broken in the last revisions..
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@163 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes a7a53d6205 very minor change...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@162 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 56255ae461 reverted something i commented-out along time ago.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@161 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 842b472a40 re-recoded the VU div opcode lol. now its more efficient, faster, and 1/6 the size :D
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@160 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes ae714c14b3 fix for last revision.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@159 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 55879992d8 some cleanup... this file is a mess...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@158 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes c3f5932904 optimized some retarded code...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@157 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 8039cdd8b7 Corrected a bug in a memory write function. Thanks to drk||Razi for spotting this one.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@156 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 937f8835c5 should fix x64 build compilation problems...
Note:
seems iR5900-64.c is pretty much a copy of iR5900-32.c just with a few x64 specific changes...
so any code-change made to iR5900-32.c will have to be mirrored to iR5900-64.c... sigh pretty annoying...

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@155 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes fe00d7871c minor change: lets x64 build use FPU interpreter if the processor doesn't support SSE...
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@154 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 42ce99eb21 major code clean-up for FPUs, removed alot of old/useless code, and organized stuff better. trying to clean-up pcsx2 a bit..
*note: FPU reg caching is always on now; which means you need a SSE processor to run the FPU recs, if not it will just run the interpreter code instead (not really a bad thing, the int-code isn't much slower)

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@153 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes e961ab6591 minor fix for linux.
btw, we have a new member on the team, drkIIRaziel :D
he's one of the author's of nullDC (a dreamcast emu) so this is good news :p

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@152 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 e6162687c1 One more inline hint and (hopefully) fixed Linux (again :p)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@151 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
cottonvibes 88ea5fb921 messed around with some DMA functions, might fix DMA errors. GIFdma should also be faster, since now it only freezes MMX and XMM regs when it needs to. also did some very minor code cleanups.
p.s. GIFdma() is a mess, it needs to get cleaned-up in the future.

git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@150 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 7a70299529 more inlining hints, more speed :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@149 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 1480f022b3 forgot those
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@148 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 c9d64d63e9 SSE opcodes now all inlined. Changed all new inlining hints to _inline.
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@147 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 d477c720e7 Modified opcodes headers and files so all functions use __forceinline now. This brings a nice, free speedboost of about 5% in all games :)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@146 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 437ac552f1 Changed pDsp so it *should* compile fine under Linux. (Can't test this :p )
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@145 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 c7ab67d8ce better x64 fix
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@144 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00
ramapcsx2 ad1f8a9e0f -Odd bug on PsxHw.c -Added "FreezeXMMRegs" before recompiling psx code in places that had that missing. (Fixes x64 builds a bit)
git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@143 a6443dda-0b58-4228-96e9-037be469359c
2016-05-24 22:40:22 +02:00