Commit graph

3037 commits

Author SHA1 Message Date
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
strmnnrmn
a64b8252fa [~] Some minor ucode cleanup
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@917 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:23 +00:00
strmnnrmn
6caf71c225 [~] Strip some defunct files from the Daedalus.vcproj
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@916 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-03 17:41:17 +00:00
strmnnrmn
7b26f510d4 [~] pspFastRand only exists on PSP. TODO: add a wrapper for this to avoid ifdef DAEDALUS_PSP everywhere
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@915 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:33:38 +00:00
strmnnrmn
e99609635a [~] Merge some minor alignment changes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@914 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:33:12 +00:00
strmnnrmn
8d02eaa1e8 [~] Fix inconsistent line endings (no functional changes)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@913 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:12:00 +00:00
strmnnrmn
34004d0248 [~] Merge some minor whitespace fixes to RDP.h
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@912 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:11:51 +00:00
strmnnrmn
6a3dc1b215 [~] Add some ifdef DAEDALUS_PSP guards for the OSX/W32 builds
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@911 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:11:47 +00:00
strmnnrmn
0f7e430619 [~] Merge whitespace fixes to some dynarec files
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@910 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:11:42 +00:00
strmnnrmn
b032afb3f0 Merge some whitespace fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@909 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-02 12:11:36 +00:00
salvy
432d158b54 [+] Handle size 32bit in fillrect (fixes the sky in SuperMan 64, Lambo's intro bg looks correct now too)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@908 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-01 02:44:39 +00:00
salvy
aa22f40a05 [+] Optimized FetchNextCommand
[!] Yoshi_MemRect only need to fetch one instruction 
[-] Removed my previous optimizations to Texrect* cmds, FetchNextCommand now gives the same asm anyways 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@907 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-31 06:38:58 +00:00
Corn
be3e511061 [!] Some cleanup and optimization in DynaRecStubs.S
[!] fixed CRLF on additional files

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@906 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-30 19:47:24 +00:00
strmnnrmn
a9074c5714 [~] OSX doesn't (yet) define InputManager::GetConfigurationName etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@905 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 20:44:15 +00:00
strmnnrmn
84b5f81098 [~] Merge some minor whitespace fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@904 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 20:44:09 +00:00
strmnnrmn
6d36f77ca0 [~] Define memcpy_swizzle first - it's a bit tidier
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@903 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 19:31:58 +00:00
strmnnrmn
422823e52e [~] FastMemcpy.h was a bit broken for big-endian targets. fast_memcpy_swizzle correctly just called memcpy, but memcpy_swizzle ended up incorrectly byteswapping. I've renamed the underlying implementations to _byteswap (which always byteswap, regardless of enianness) and make the _swizzle functions correctly select between memcpy/memcpy_byteswap as appropriate. I think it would probably be clearer to rename memcpy_swizzle to n64_memcpy, or something like that?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@902 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 19:31:53 +00:00
strmnnrmn
64b82bda28 [~] Cast is not needed here
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@901 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-27 19:31:47 +00:00
salvy
351f9656ef [!] Simplified emulation's main loop (CPU is stopped in CPUMain anyways)
[~] Changed priority of CPU_STOP_RUNNING to least likely (happens only when emulator is stopped)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@900 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-26 16:13:07 +00:00
Corn
ed3a2cf7f6 [!] Made it possible to print values from ASM ( make sure value is in A0 and call JAL( CCodeLabel( (void*)_printf_asm ), true ); )
[!] small optimization of HandleException_extern()

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@899 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-26 13:29:01 +00:00
salvy
bf5e76d078 [!] Optimized CPU_FetchInstruction
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@898 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-25 07:21:38 +00:00
salvy
ef2777cea3 [!] Optimized R4300_SWL/SWR/SDL/SDR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@897 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-24 07:12:54 +00:00
salvy
9ea723a616 [~] Some misc changes
[+] Init/reset FlashRam
[!] Simplified ReadInvalid to take advantage of the movn instruction
[!] Need to check for interrupts when writing to DPC_END_REG

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@896 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-24 06:14:30 +00:00
salvy
d242daf73c [!] Simplified DacrateChanged (only PAL or NTSC are used anyways)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@895 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-18 22:33:41 +00:00
salvy
df78281e03 [!} Optimized when fetching instructions for Texrect, Texrect_Flip, Yoshi_Memrect and TexRect_Last_Legion
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@894 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-18 01:06:40 +00:00
salvy
12273ad7cc [!] Change abit detection when jumping to the same addr in speedhack (saves 1 op li v0,-1)
[!] Changed a suspicious speedhack in R4300_BLEZL (why was added?)
[!] Added defines to disable speedhack and sim doubles in interpreter (sim doubles is only enabled for PSP)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@893 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-17 20:23:27 +00:00
salvy
012b803f5d [!] Optimized speed hack in interpreter (use cached instruction pointer to check next op, also removed a very unlikely speed hack)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@892 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-17 01:49:08 +00:00
Corn
63abfdd381 [!] Optimization (interpreter) avoid excessive branching for floating point compare instructions
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@891 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-16 21:34:57 +00:00
salvy
b9378e1b4e [+] Implemented FLOOR_W_S in dynarec (used in Yoshi Story)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@890 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-11 18:56:13 +00:00
Corn
8cb35c0708 [!] Simulated CVT_D_S causes issues (in EWJ/PPGirls/Tom&Jerry/Mario Party) It is now made compatible with both interpreter and dynarec simdoubles
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@889 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-11 13:59:23 +00:00