Commit graph

940 commits

Author SHA1 Message Date
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
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
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
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
Corn
cede927eb8 [!] small improvement to memcpy and some clean up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@881 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-01-02 12:03:50 +00:00
salvy
2bc64156e6 [!] Some clean ups
[!] Made guRotateF and volatile memory platform independent 
[!] Check for invalid reads/writes to PIF

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@870 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-20 21:50:27 +00:00
salvy
bf7f70dd41 [!] Fixed build not compiling
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@864 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-13 21:13:44 +00:00
Corn
da636325dd [!] Free up AT register for use as cached register in dynarec (case must be taken not to use A0 for load/store of variables)
[!] Removed usage of T0/T1 register (use V0/V1) except for in load/store OPs in dynarec.
[!] Some additional fixes to Fastmemcopy (and removed usage in PSPrenderer) tnx Salvy.
[!] Slight improvement of SW ep1 racer shadows (blendmode)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@859 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-10 18:57:31 +00:00
Corn
3b94307914 [!] Fixed normal and swizzled versions of VFPU memcpy
[+] Enabled VFPU memcpy in PSPrenderer and DMA 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@856 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 18:37:03 +00:00
strmnnrmn
0e698c385d Fix all the remaining mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +00:00
strmnnrmn
ba29dea5cc Fix line endings - mostly LF with a dash of CRLF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@851 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:44 +00:00
strmnnrmn
7fba1278a6 Fix more mixed newlines
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@850 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:28 +00:00
strmnnrmn
8ef65c6894 Fix mixed Windows/Unix line endings in a bunch of files. Add missing newlines before EOLs
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@849 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:20:20 +00:00
strmnnrmn
6f65366fb6 Fix compile error in Microcode.cpp in debug builds - custom_ucode wasn't defined
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@847 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:52 +00:00
strmnnrmn
22f9d4f0d7 Fix some CRLF/LF inconsistencies
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@845 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:43 +00:00
strmnnrmn
3a37f8ac57 Make FastMemcpy a bit more platform independenty and move to the main Utility dir. I removed the timing test and wrapped it up in a function (what it loses from the function call, it gains from being able to inline GetCurrent)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@844 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:19:36 +00:00
strmnnrmn
d7d116642a Fix more trailing whitespace (files with CRLF line endings?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@825 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 23:23:11 +00:00
strmnnrmn
767e4efd9c Fix line endings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@822 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-28 22:11:57 +00:00
Corn
d4c0029e2b [!] Fixed compile error with endian and svnversion
[!] Added twiddles to Fastmemcpy

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@820 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 20:07:02 +00:00
salvy
41bac1f809 [!] Reorder MatrixFromN64FixedPoint to trick compiler to optimize even more (Corn)
[+] Add back DAEDALUS_ENDIAN_MODE (very important for future ports)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@819 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 10:57:46 +00:00
salvy
e3e94b6e34 [~] Opps repacking 16bits values in memory is actually slower - thnx corn
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@818 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-26 09:34:00 +00:00
salvy
d947aa6315 [!] Simplified and optimized MatrixFromN64FixedPoint
[!] [OSHLE] Changed to 32bit when storing to a0,1,2,4 regs

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@817 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-25 22:58:37 +00:00
Corn
5a9178dd8a [!] Fixed bug that made textures fail in Kirby (fence disappear and other issues)
[!] Added hack for a forced blend in Sin and Punishment
[!] Additional clean up in Blend explorer 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@816 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-25 14:49:46 +00:00
Corn
05cc91268a [!] Clean up BlendExplorer
[!] Added more blend options to BlendExplorer

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@815 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-24 18:27:36 +00:00
salvy
71803d2823 [!] Simplify when setting custom ucodes (now ucode modifier offset and array building is cached)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@814 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-23 09:51:10 +00:00
Corn
fccfc49faf [!] Fixed blends for SSV and Sin & Punishment
[!] some cleanup in debug blends

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@812 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-17 18:32:13 +00:00
Corn
a4658c0a95 [!] Slimmed the size of TextureInfo
[!] improved SSV pickup/smoke blendmode 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@811 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-16 11:41:34 +00:00
salvy
eaa0f2b641 [!] Opps reverted previous commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@810 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:42:24 +00:00
salvy
ce36d63b82 [!] Use TI hash to check if the texture is the same (we'll reuse it in the cache too)
Note: T1 hack is broken!! FIX ME

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@809 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 20:29:08 +00:00
Corn
d5231e638f [!] brought back TUC hack for OOT (text is scrambled)
[!] Fixed some typos + clean ups 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@808 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-14 19:48:13 +00:00
salvy
1e3bfed221 [!] Some clean ups in Microcode cache, also removed overflow check (it should never happen)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@807 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-11 19:08:51 +00:00
Corn
7583bd0d59 [!] Some cleanup and minor (bug)fixes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@806 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-11 10:30:18 +00:00
salvy
0571cc7401 [!] Remove array for looking custom ucodes (We have a ucode cache anyways)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@805 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-10 01:00:48 +00:00
salvy
3e7389df90 [!] Simplified when setting TlutAddress
[!] Moved out gVertexStride outside the Tris loop 
[!] Call directly TlutAddress (saves function call)
[!] Bring back recolour white texture (Is needed by Krby's clouds)
[~] Code clean ups etc

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@803 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-07 19:37:58 +00:00
Corn
36c3058fb2 [-] Reverted NDC change for clipping (fails in Rocket Robot and Lego Racers)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@802 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-06 20:36:42 +00:00
Corn
d74cca018c [!] Optimized Joystick swap code (and uses JoystickSwap=A, JoystickSwap=B and JoystickSwap=C as tag label in the config.ini)
[!] Added "PSP.Select" and "PSP.Note" tags for support of the buttons with the same names in controller configs
[-] Removed Assert in rdpstatemanager as it gave false positives. 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@801 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-05 17:47:51 +00:00
Corn
b8d9c29c6c [!] Add support for mapping analog stick as digital button (PSP.JoyUp/JoyDown/JoyLeft/JoyRight)
[!] NDC clipping planes moved out since PSP hardware clipping does a better job (see edges in OOT and Lamborghini)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@799 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-03 13:19:08 +00:00
Corn
58d3ac9f70 [!] Fixes BSOD when loading a SS of SSV after running OOT (and possibly other similar BSODs)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@798 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-11-02 18:43:24 +00:00
Corn
86687f701c [!] Tidy up RDPStateManager
[!] Brought back old DYNAREC compiler with a #define in CodeGenerator.h (until new one is bug free)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@796 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-31 13:05:51 +00:00
Corn
678f294bac [!] Use less resources to handle valid TMEM entries
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@794 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-30 20:22:25 +00:00
Corn
8c078db793 [!] Reworked how texture info gets saved in RDPStateManager
[!] Fixed additional texture issues in SSV and Fzero

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@792 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-30 13:10:52 +00:00
Corn
7e02c26fd6 [!] Fixed blocky textures in Paper Mario (old blend not needed anymore)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@791 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-29 12:16:59 +00:00
Corn
396fcfe47a [!] Fixes some broken SSV textures
Note: probably need to rework how RDPStateManager loads textures for a proper fix.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@790 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-28 21:39:20 +00:00