Commit graph

2808 commits

Author SHA1 Message Date
strmnnrmn
231816499b CPU_Step/CPU_Skip are still used on non-PSP builds
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@981 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:59:02 +00:00
strmnnrmn
6e2a84a03e Remove some dead code from ROMBuffer.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@980 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:58:57 +00:00
strmnnrmn
b01dae97d3 Replace a few magic constants with better-named macros
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@979 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 16:58:52 +00:00
strmnnrmn
27a5885334 Merge some cross-platform fixes to ROMBuffer.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@978 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:29 +00:00
strmnnrmn
b3a2bc8af3 DMA_PI_CopyToRDRAM doesn't seem to handle dom1 addr1/addr3 correctly any more
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@977 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:25 +00:00
strmnnrmn
776bf498c1 Merge OSX/W32 versions of SP DMA code. We probably should just have a single version of the code here, but I don't want to remove all traces of the count/skip logic just yet
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@976 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:21 +00:00
strmnnrmn
2994b74fdd Fix trailing whitespace
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@975 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:18 +00:00
strmnnrmn
c4cdc1ef51 Merge some W32 changes (can we remove RSP_Old.cpp, and just pull from source control if needed?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@974 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:13 +00:00
strmnnrmn
587ecd1592 Merge some W32 changes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@973 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:09 +00:00
strmnnrmn
3c49fa66b9 Add DebugConsoleImpl from OSX port
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@972 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:04:01 +00:00
strmnnrmn
fdebeb592e Reintroduce some cross-platform code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@970 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:52 +00:00
strmnnrmn
b4ce66e376 Reintroduce some cross-platform code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@969 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:48 +00:00
strmnnrmn
6bbcaea260 Reintroduce W32 system init stuff
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@968 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:43 +00:00
strmnnrmn
36d68c3c7b Merge some OSX/W32 fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@967 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:39 +00:00
strmnnrmn
2b7c4d964e Reintroduce some x86 dynarec support code
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@966 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:34 +00:00
strmnnrmn
fd982bc4dd Remove lots of spaghetti in RSP_HLE.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@965 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:30 +00:00
strmnnrmn
15e2447786 Need stdint.h for uint16_t
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@964 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:26 +00:00
strmnnrmn
9850f921dd Fix mixed line endings in JpegTask.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@963 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:22 +00:00
strmnnrmn
eaeb576ef7 [~] Fix stray redefine of R4300_Rand
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@962 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:18 +00:00
strmnnrmn
0aab28812d Fix some whitespace issues in R00.cpp, ROM.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@961 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:14 +00:00
strmnnrmn
4be3238748 [~] Tidy CPU.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@960 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:10 +00:00
strmnnrmn
8f6a9497c3 [~] Reintroduce some code in Memory.h for W32 (I'll try to factor this a bit more nicely once I've finished merging)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@959 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:06 +00:00
strmnnrmn
e097976442 [~] Reintroduce some code in Memory.cpp for W32 (I'll try to factor this a bit more nicely once I've finished merging)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@958 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-17 15:03:02 +00:00
Corn
da0a5b4461 [!] DKR: Use already available matrix stack(improve data cache locality) Removed global variable for stack indexing.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@957 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-16 12:36:39 +00:00
salvy
3c9d4dd45a [!] Clean ups in mtx code
[!] DKR, do not borrow from the mtx stack, just use an aligned variable (cheaper)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@956 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-16 08:17:10 +00:00
Corn
4be4e488f7 [+] Implemented DSRA and DSLL (used in Doom64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@955 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-12 20:53:04 +00:00
Corn
b11fa5b80e [!] corrected typo in DMULTU ASM
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@954 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-11 21:50:32 +00:00
salvy
aeb7992217 [~] Some optimizations to JPEGTASK
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@953 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-11 21:00:24 +00:00
salvy
7183ba415b [!] Updated JPEGTASK emulation to latest version
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@952 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-11 19:28:04 +00:00
Corn
b264f93b28 [!] Added DMULT & DMULTU to dynarec (nice boost in Doom64 and others)
[!] reverted sign extension removal of MULTU

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@951 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-11 19:16:30 +00:00
salvy
49da66be13 [!] Implemented correctly DMULTU and DMULT in interpreter (based from mupen64plus, currently disabled, will enable eventually as current impl only handles "small" numbers)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@950 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-11 11:00:12 +00:00
Corn
c04455bc57 [!] Dynarec now compiles code within a fragment so the result from MULT(U)/DIV(U) is taken directly from HI/LO regs.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@949 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-10 19:10:20 +00:00
Corn
1e81ff15b6 [!] Avoid using A1/V1 registers if possible (since these store current pre-calculated load/store base address)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@948 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-09 18:55:28 +00:00
salvy
5614839ad9 [~] mpPifRam is already swapped (DAEDALUS_DEBUG_PIF)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@947 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 20:32:34 +00:00
salvy
6fa7f7ba84 [!] Write to mempak file when N64 writes to it, instead of when the game is exit (this prevent any loss of saves if a game crashes suddenly, at the expense of performance if a game writes frequently the mempak file (have yet to see)
[!] PSP, only controller 1 is connected

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@946 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 19:58:42 +00:00
Corn
a469003dfa [!] Fix crash in Aerogauge
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@945 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 13:43:14 +00:00
salvy
a9bf33cf48 [~] Cleanups in PIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@944 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-07 07:38:57 +00:00
Corn
1984a9a9d9 [!] Ops seems all games but SM64 liked last commit, small fixed it
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@943 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-05 19:59:57 +00:00
Corn
f6d332ac84 [!] Additional improvements to Dynarec Memory opt.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@942 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-05 19:38:59 +00:00
Corn
13b4b02ff9 [!] Optimized Dynarec Memory opt. to keep both load and store regs also when COP1 opcodes are issued.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@941 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-05 15:12:14 +00:00
salvy
f40c2467c1 [-] Opps! Reverted previous commit
[~] Some minor clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@940 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 05:24:50 +00:00
salvy
ec720ad37c [!] Optimized Tri ucodes (convert MicroCodeCommand reference to pointer to easily access next command)
Note: We could avoid this convention by declaring MicroCodeCommand as pointer instead of reference, but this causes the compiler to no longer optimize our bitfields with (ext/inst)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@939 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 03:44:48 +00:00
salvy
55b6127d8d [!] Small optimization in DMA_Tri_DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@938 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 03:09:31 +00:00
Corn
fd472f60df [!] PspFastRand() is now just FastRand().
[!] Make sure to invalidate regs when exiting a fragment.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@937 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 21:59:04 +00:00
strmnnrmn
e98b883031 [~] Merge some changes to make ZlibWrapper work with newer versions of zlib (as used by OSX etc)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@936 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:50:11 +00:00
strmnnrmn
e9bd239685 [~] Leave a FIXME comment about the G_TT_ macros
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@935 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:46 +00:00
strmnnrmn
50717a5cb2 [~] Some minor OSHLE tidying
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@934 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:42 +00:00
strmnnrmn
1700a01222 [~] Is Patch_osContInit correct?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@933 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:37 +00:00
strmnnrmn
cce1750333 [~] gPatchesApplied can be static
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@932 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:33 +00:00
strmnnrmn
4b0b926e1a [~] Add a FIXME: this assert in MemoryHeap.cpp looks wrong
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@931 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:27 +00:00