Commit graph

2808 commits

Author SHA1 Message Date
Corn
046527245a [!] Matrix stack is max 18 now (according to manual)
[!] scissors default to 0,0 320,240 at ROM boot
[!] DMA memcopy was optimized a bit further

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@111 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-31 22:29:45 +00:00
Salvy
87cc1d6486 [!] Optimized osSpSetStatus,osSpRawStartDma, and osSpTaskLoad
[!] Disabled __osContGetInitData (still too buggy, was breaking FZero)
[~] undef DISPLAY_AI_READS

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@110 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-31 07:26:28 +00:00
Corn
b4982b27fe [!] BranchZ is made Aerogauge only for now
[!] Fixed order of Zbuffer clear with FillRect (Zbuffer clear has priority)
[!] Updated some Dlist debug output info

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@109 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-29 17:27:30 +00:00
Salvy
a3a57ea3f1 [!] Simplified abit osSpTaskLoad (shoved down over 30 ops, will continue tomorrow)
[~] Committed ROM.cpp/h changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@108 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-29 01:02:29 +00:00
Salvy
2658f4d69a [~] Minor change to osEepStatus (saves around 4 ops)
[!] Re-enabled __osSetFpcCsr (I disabled it by error :d)
[!] Tyde up osContGetInitData (seems games don't care as long as is in the range of 0x0BBBFDFF)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@107 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-28 21:01:03 +00:00
bdacanay
418707b480 git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@106 42e9bfbe-799a-4a2d-bad1-236e862a387a 2011-01-28 20:42:32 +00:00
Salvy
775866259d [+] Implemented osContGetInitData (can't find out why SSV doesn't like it :( so bail out in the meanwhile)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@105 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-28 08:15:17 +00:00
Salvy
a5b8cfaee5 [~] Fixed both release and debug build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@104 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-27 22:57:18 +00:00
Salvy
7fa484411b [!] Set return value in osSpSetPc to 32bit
[~] Optimized abit osEnqueueAndYield_Mario
[~] Simplified osSpGetStatus

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@103 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-27 21:00:42 +00:00
Corn
d157bfa524 [!] Better balance between code size and speed on loading matrices (fit better in cache)
[+] Blends, Wave racer sky, Sin and punishment, (hack for blend used by both RR64 and OOT) .

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@102 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-27 16:32:48 +00:00
Corn
4aced74ea1 [+] blendmodes -> SM64 head, pilot wings sky
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@101 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-26 14:32:33 +00:00
Corn
bac2d45f55 [!] Reset SM64 star hack after each frame
[~] forgot to change in Rice blend function

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@100 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-26 10:27:05 +00:00
Salvy
e711446600 [~] Opps reverted change in osSendMesg/osRecvMesg (I didn't test it and was breaking Aerogauge)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@99 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-26 03:42:20 +00:00
Salvy
2293cca5e2 [!] Set various return values to 32bit in OSHLE (Note: Only changed the funcs I could test, seems safe to change em all, I could save from 2-19 ops per func!)
[~] Reverted adding back libs from 623 ( It didn't fix the freezing issue in MM when oshle is off...)
[~] Avoid linking unnecessary libs
[!] Updated profiler for memcpy, also added back original memcpy_vpfu( newer memcpy_vpu mostly LE version got really slow, should we revert the changes to it? )

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@98 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-26 03:20:31 +00:00
Corn
8e6ad69e23 [!] Fix branchZ for aerogauge (hides stuff once it gets far away.) (need to check other games)
[+] weapons blend for doom64
[!] even better dither matrix combo

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@97 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-25 20:12:19 +00:00
Salvy
ac57f6b97e [~] Speculative fix to Doom's alpha issues on the weapons
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@96 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-25 18:31:35 +00:00
Salvy
bba192baf2 [~] Removed bad blender ( was breaking Doom's weapons)
[~] Removed Nascar hack (tested several games and depth source check seems safe, risky though)
[~] Fixed menu writing in Tarzan and also added proper fix to the alpha issues Tarzan had
[!] Set new blender as default ( I find it alot easier to work with, as far as right now there's no case that it breaks anything)
[=>]Merged from 632-636 (Yamagushi)
[~] Updated About Screen.
[~] Added message boxes for reset settings confirmation.
[~] Added new quit window.
[!] Fixed Dpad+Analog UI Bug
[!] Fixed 2 Rom UI Bug
[!] Fixed Graphical UI Bug

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@95 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-25 02:56:57 +00:00
Wally4000
9328ee9c35 Updated to fix several blends
Added Bdacanays Blends :D (Thanks mate)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@94 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-25 02:22:29 +00:00
Corn
c37b736e68 [~] Some minor house keeping
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@93 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-22 21:22:52 +00:00
Corn
87b132b149 [!] Fixed 3D rendering in RR64 (palettes are still glitchy in some places)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@92 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-21 23:10:54 +00:00
Corn
9571eaf042 [!] Reinserted old blender as default since it now uses same amount of ASM (fixed to match old debug too)
[!] Fixed OS HLE progress in debug console (will show the patches)
[!] Removed some text output from blender for "release" compile

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@91 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-21 16:30:51 +00:00
Corn
53872168bb [!] combined the old and new blender.cpp version (for reference)
[!] fixed some compile errors

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@90 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-20 23:11:42 +00:00
Corn
bdf4a8970a [+] Combiner explorer will color code also the defaulted inexact blends (CYAN)
[!] Some cosmetics to the Dlist debugger 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@89 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-20 16:20:38 +00:00
Wally4000
e24e14fcb3 Added Blenders for SpiderMan, Doom, Bust a move 3, Starwars Racer
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@88 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-19 19:36:03 +00:00
Corn
403f7c624c [!] Made Combiner explorer a bit friendlier (WIP)
[!] Default Blendmode in explorer is MODULATE_RGB / force MAGENTA
[!] Changed Blendmodes.cpp functions names to reflect proper use

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@87 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-19 19:03:19 +00:00
Wally4000
a359401e21 Added several more blends :D
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@86 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-19 02:29:31 +00:00
Corn
443e87e656 [+] Added back some Kirby blends
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@85 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-15 10:42:48 +00:00
Salvy
33a72c397b [~] Workaround for kirby freezing with new unstable fpu exceptions
[+] Handle non-inexact and brought back hacks for Mario 64's star and Tarzan's bird
[!] tyde up CATCH_NAN_EXCEPTION


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@84 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-15 05:54:28 +00:00
Corn
ee9303a4b5 [!] Fix crash in Ogre battle 64
[+] Added hack for Paper mario and MEM OPT.
[+] Added Blend for Road Rush 64
[~] Use only 32bit in IRQ updates

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@83 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-14 21:57:56 +00:00
Salvy
cc9083fe93 [+] Set Wally's blendmode file as default (this will allow us to concentrate on only blendmode that don't work with default case)
[+] Added a few blendmodes for Fzero and GE007's sky

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@82 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-14 20:35:20 +00:00
Wally4000
e452ea696d [~] Removed blends which are handled by default
[+] Added more Blends

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@81 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-14 08:25:04 +00:00
Salvy
6ddb40153f [+] Implemented generic blendmode (which in theory should handle over 50% of all inexact blends) - Huge Clean up is needed in our blendmode file !!!!
[~] Only check for blendmodes when muux has been marked as inexact (this needed for generic blendmode to work, read notes for more info, mario 64's star hack is broken though)
[+] Adapt inexact highlighter and dumping mux to work with generic blendmode method)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@80 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-14 07:48:45 +00:00
Corn
675123f48c [!] improved blendmode for Fzero ships
[!] removed passing return value on XXXrect

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@79 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-13 20:35:57 +00:00
Salvy
9bc291106b [-] More clean ups to dynarec
[!] Forgot to enabled mem access opt for cache op

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@78 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-13 07:32:55 +00:00
Salvy
04f8b89782 [~] Simplified a couple of parameters in dynarec codegen
[~] Disabled mem opt for LW op (breaks Paper Mario)
[~] Do mem access opt for cache op (balances speed lost from LW)
[!] Made RDP_SetOtherMode debug only (we no longer use gRDPOtherMode._u64 anyways)
[+] Added locally a modified build.mak, also restored -MD flag and old makefile style) 


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@77 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-13 06:33:20 +00:00
Wally4000
a8a487bde5 [+] Added more blendmodes (Should be most of the Zelda ones done)
[~] Fixed some faulty blends.


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@76 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-12 20:58:26 +00:00
Corn
e1028faa69 [!] Fixed bug in static Zbuffer variables in function RenderUsingRenderSettings
[!] removed return value for Rect code
[!] We now pre-clip in all 6 sides for CuLL Dlist and post transformation.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@75 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-12 20:52:27 +00:00
Salvy
aeffd0b0e3 [~] More fixes to allow Daedalus to work with latest minpspw (it compiles perfectly now)
[-] Temporarily disabled dependency generation (Is broken, sent bug report to minpspw author)
[+] Added example how to get fps natively (doesn't seem to work, is commented out)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@74 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-12 06:36:09 +00:00
Wally4000
506f959fa9 Added various more blends for Zelda
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@73 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-12 06:16:36 +00:00
Salvy
27724c812d [!] Fixed R4300 to compile with the latest version of minpspw
[!] Redid abit the makefile, otherwise Daedalus won't compile with latest minpspw
[+] Added fpu.h lacally, we can support other dev enviroments other than minpspw (note I commented the math functions we were already using, we need to clean math.h..)

Note : seems that when compiling, the compiler generates d files, that causes the compiler to get confused we are compiling d code..

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@72 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-12 05:24:35 +00:00
Salvy
d88e1c42c6 [~] Moved Nascar hack out of RenderUsingCurrentBlendMode
[~] Commented out scissor fix (no longer needed)
[!] Set mem region 0xA500 0xA5FF as invalid (Pokemon Stadium 1 and FZero U boots now)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@71 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-11 22:13:13 +00:00
Corn
f6df5ba96d [-] Rice Alpha was removed (didn't improve anything)
[+] added  EnvColour.ReplicateAlpha to the Blender explorer

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@70 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-11 19:45:18 +00:00
Corn
dcd586b1c1 [!] Properly fixed PrimDepth (no need for SSV/Road Rush hacks)
[+] Added Rice Alpha test checks
[+] Road Rush tree blend


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@69 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-11 17:47:58 +00:00
Corn
8b31e15bd3 [!] Forgot to add White to the Force RGB list
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@68 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-10 19:46:41 +00:00
Corn
90687f0bd6 [+] Blend Explorer now takes a selection from Combiner Explorer
[+] Added Force RGB color to the blender options

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@67 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-10 19:07:31 +00:00
Corn
a8bbdc2e35 [!] fix for SSV HUD
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@66 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-10 17:19:11 +00:00
Salvy
b14a08ec32 [+] Added blendmode for power spheres in SSV
[~] Corrected an small error I made on the blender in my last commit and simply it abit more.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@65 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-10 08:07:52 +00:00
Wally4000
c7a26b079d [+] Added more blendmodes for Zelda / SSB and other titles
[+] Added new blender for Zelda

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@64 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-10 04:19:36 +00:00
Wally4000
f5bdf17bed Added several OOT blends which are 100% correct without Second Texture.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@63 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-09 23:06:51 +00:00
Corn
b669334f27 [+] Fix/Hack for FZero to proper Zbuffer rendering of geometry
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@62 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-01-09 23:01:03 +00:00