Commit graph

2745 commits

Author SHA1 Message Date
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
strmnnrmn
7b66c40d61 Merge some changes to DaedalusTypes.h - keep the big endian struct ordering around
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@930 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:23 +00:00
strmnnrmn
e5a16569f0 [!] WriteValue_8440_844F should only skip graphics plugin ops on PSP
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@929 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:19 +00:00
strmnnrmn
bae4242007 [~] Merge some framerate limiter changes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@928 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:14 +00:00
strmnnrmn
d63a8cbf5a [~] Remove duplicated chunk of code (bad merge?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@927 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:09 +00:00
strmnnrmn
030378e583 [~] Remove unused header
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@926 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:06 +00:00
strmnnrmn
23617a2540 [~] Add a FIXME for a warning to check later
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@925 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:42:02 +00:00
strmnnrmn
f611a3b3d9 Remove the need for a stub Dynamo_SelectCore when DAEDALUS_ENABLE_DYNAREC is not defined
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@924 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:58 +00:00
strmnnrmn
077a2e10eb [~] Tag an #endif that spans many lines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@923 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:52 +00:00
strmnnrmn
9db4090a6d [~] Remove lots of DAEDALUS_ENABLE_DYNAREC checks in Dynamo.cpp - do a single check for most of the file
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@922 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:47 +00:00
strmnnrmn
3e18c63840 [~] RDP_SetTile and RSP_SetTileSize are no longer defined
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@921 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:43 +00:00
strmnnrmn
1f2d4ff37e [~] Fix a misnamed variable
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@920 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:38 +00:00
strmnnrmn
a1e3d5f1b4 [~] Fix some formatting
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@919 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:32 +00:00
strmnnrmn
46dec91c54 [~] RDP_NOIMPL macros aren't used. Merge some formatting changes.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@918 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:27 +00:00