Commit graph

980 commits

Author SHA1 Message Date
Salvy
934cd00733 [!] Code clean up
[!} Made static functions in Microcode.cpp to hint compiler to optimize (~30 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@285 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-23 21:55:22 +00:00
Salvy
6e9a3d8ab4 [~] Changed priority of bIsOffScreen
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@280 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:27:51 +00:00
Salvy
971b20520e [!] Several clean ups here and there
[~] Removed pilot wings' shadow hack (this is now handle by a cheat, only added the U version, I'll add the rest later)
[+] Added cheatcode deletion (this is disabled since is not used, will enable it if is a highly requested feature)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@279 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-14 18:05:55 +00:00
Salvy
00131952fa [!] Bail out offscreen tris earlier (fixes BSOD in Conker due clipping too many tris)
[!] Fixed debug build
[+] Added hack superman (sky and in game show up now)
[~] Forgot something else from previous commit... 


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@278 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-10 23:46:28 +00:00
Salvy
22549f4a82 [+] Remove offscreen rects and tris [WIP] (Removes annoying black box in Conker)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@275 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-07 21:19:57 +00:00
Salvy
6646b5f72e [+] Cache custom ucodes
[~] Minor clean up in CheatCodes_Clear

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@270 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-03 08:16:03 +00:00
Salvy
5c1a260ce1 [~] Bit of commenting and clean up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@268 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-05-02 06:40:17 +00:00
Salvy
e638274721 [~] More corrections to the cheat frequency option
[~] Removed a couple of dead variables

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@264 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 22:32:08 +00:00
Corn
5758f3acd0 [!] Reduced and changed texture update frequencies
[!] Corrected cheat update frequencies
[!] Fixed compile warning

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@263 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-29 19:45:12 +00:00
Salvy
e26c59e5b1 [~] Stick pc addr directly in GBI1_DL (saves 16 ops)
[~] Tidy GBI1/2 Texture ucode (saves 2 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@251 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-24 07:16:22 +00:00
Salvy
607c47fc6d [!] Corrected ucode map for Wave Racer, should be Tri2, not Tri1 (Is never called though, I just nop'd it to be safe)
[!] Eliminate division in Tri1 (saves 30 ops yay)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@250 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-24 05:50:40 +00:00
Corn
a5f0c4c144 [!] Small optimization for loading/adding triangles
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@244 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-22 20:22:19 +00:00
Corn
f6ea4b530c [!] Corrected Ucode description for Conker when debugging Dlists
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@240 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-19 18:58:04 +00:00
Corn
b648e527a4 [!] reverted IRQ optimization that made Animal crossing fail(salvy)
[+] Some minor optimizations to the VFPU TnL
[+] Ucode names for Conker BFD to debug Dlist 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@231 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-15 21:05:11 +00:00
Corn
a3bc5aeb56 [!] Alpha channel gets passed along even when doing lighting on a tris
[+] Added rendered Rects as screen debug info

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@230 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-14 22:06:47 +00:00
Corn
330f34a973 [!] Fixed graphics bug (and Dlist counter bug) in Conker
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@228 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 22:22:34 +00:00
Corn
604234c066 [!] fix compile error from prev rev
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@227 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 20:44:29 +00:00
Salvy
c3e2731455 [!] MemoryUpdateMI only write back when there's an interrupt (faster but risky)
[!] Fixed Conker's eyes
[!] Fixed Bad ucode detection in DrMario
[+] Added counter for rects clipped

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@226 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-11 20:19:59 +00:00
Corn
2216ecec34 [!] Back/Front face culling now handle tris protruding near plane and culls zero area tris if in back face mode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@225 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-10 17:48:01 +00:00
Salvy
2f0ed7232e [!] Corrected (huge)mistake from 597 that caused slim cache to be ignored (small speed up in slim and newer models)
[+] Added PSP model in about screen
[!] Removed old blender and made debug text for blender not to spam.
[+] Added blendmode for fences in SSV
[~} Minor clean up here and there.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@223 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 23:38:37 +00:00
Corn
2495000fc6 [+] Added display render stats on screen as an option (only available in Display list debug mode)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@222 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 19:00:20 +00:00
Corn
d4a3d9082d [+] Speed up using early FRONT/BACK tris culling in software.
[!] Some minor optimizations in VFPU rendering

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@221 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 15:26:53 +00:00
Salvy
d9ffcd338a [!] Corrected typo that caused tv out not to work anymore
[~] Fixed bug that caused PSP screen to stretch when tv out cables were connected
[!] Removed software clipping option (Been optimized over time, there's no benefit to disable it anymore)
[+] Added PSP info and other stats in BSOD
[+] Cull texrects and fillrects
[~] Removed microcode debug code which is now useless

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@220 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-09 01:49:25 +00:00
Salvy
e2d8c1bf68 [!] Read command in one go, copy done in 64bit (saves 6 ops)
[!] Disabled Epak for StarWars Racer (fixes scaling issues, in game still dodgy though)
[!] Do not force clean scene for StarWars Racer (no longer needed)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@219 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-06 22:43:13 +00:00
Corn
0772a46ba8 [!] Reverted microcode changes to cure compile error with Debug Dlist
[!] Reverted Fzero ship blend to shiny look
[!] Fixed proper and independent Zfight/Zbuffer checks

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@218 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 15:54:45 +00:00
Salvy
312c3ce216 [-] Small typo from last commit
[!] Simplified DaedalusFWCheck
[!] Removed alot of flags in RenderUsingCurrentBlendMode (they cause more overhead than good)
[!] Only apply zfighting fix when zbufer is enabled

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@217 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 06:48:30 +00:00
Salvy
558e6b9a0d [!] Removed "feature" that allowed to swap home with select button (no longer needed)
[+] added more comments and removed legacy debug code from ucode detector
[+] Spread randomly cache ucode entries if we hit max of entries allowed
[+] Block users with lower FWs than 6XX when imposectrl.prx is either missing or damaged

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@216 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-05 05:17:06 +00:00
Corn
7fd50fa64e [+] Made CPU rendering compatible with VFPU rendering (insert-matrix and ENV MAP)
[!] Rearranged Clip_tri_to_frustum and made CPU and VFPU versions accessible

Note: CPU->Clip_tri_to_frustum is broken and has been so for quite some time.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@215 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-04-03 16:59:26 +00:00
Salvy
e34a3ea876 [!] Fixed clean scene no longer working in Mario Party and other games
[!] Simplified texture filter
[!] Checked if viewport changed earlier

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@214 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-30 06:50:12 +00:00
Salvy
79c08d2aab [-] Forgot to delete some debug code..
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@213 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:18:48 +00:00
Salvy
36369a5ff1 [!] Fixed bug that caused to keep rehashing Conker's ucode
[!] Fixed bug that caused viewport to to be override if it didn't changed
[!] Made if viewport changed check less hacky and cheaper

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@212 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 21:16:19 +00:00
Corn
43a5099793 [-] Removed sm64 unneeded blendmode
[-] Removed leftover printouts
[-] Reverted change that made compiling fail if only DEBUG_DLIST and CONSOLE are defined
[+] Added back struct for Conker_tri4 as option (with more optimizations)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@210 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 12:26:34 +00:00
Salvy
4ece6adfe9 [!] Reverted changes from last commit (was causing Conker to keep reloading its ucode)
[~} Some clean ups to ROMImage.cpp
[~] Small optimization to DLParser_RDPHalf1_GoldenEye (saved around 12 ops)
[!] Implemented correctly DLParser_TexRect_Last_Legion (fixes BSOD in sub menus)
[!] Fixed bug I introduced when viewport not being changed in some occasions

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@209 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-27 07:04:06 +00:00
Corn
da6a107f76 [!] Fix for Conker_Tri4
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@208 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 18:42:45 +00:00
Salvy
06cffcecdb [+] Unlocked extra memory for all psps, except phat of course (note : if using a loader, make sure is supported)
[!] Silly mistake from last commit
[~] Move mem access opt to advance settings
[+] Added info for mem access in crash dump

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@206 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 06:46:14 +00:00
Salvy
75b65f650b [+] Added hack to work around the wrapping issues we have in Zelda [can't think a proper way to handle this :(]
[+] Ucodedef for SetOthermode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@205 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-26 06:22:57 +00:00
Salvy
3614850d94 [!} Workaround for MM crashing with Memory Access opt
[!] More work for viewport codebase (less hacky than my previous attempt)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@203 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 07:18:58 +00:00
Salvy
083eefae8e [!] Reworked Viewport codebase (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@202 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-25 01:16:13 +00:00
Corn
9ba3ca3d57 [!] Re-adjusted envmap so OOT stones looks nice
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@201 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-24 21:15:02 +00:00
Corn
b857cfe707 [-] Revert env map changes from last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@200 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 19:06:41 +00:00
Salvy
4c52813af1 [!] Some housecleaning around
[+] Added correct blendmode for OOT Lens of Truth
[+] Blendmode for bubbles in Quest 64 (bdacanay)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@199 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 18:50:29 +00:00
Corn
dfc76294f7 [!] Env mapping trimming
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@198 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 18:19:28 +00:00
Salvy
194428adc2 [+] Rewrote display list PC stack (this heavily based from Rice plugin) (Note: This a large commit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@197 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-23 09:02:57 +00:00
Salvy
d371a898c6 [!] Fixed blocks in New Tetris lining up backwards (Corn)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@196 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-21 07:15:26 +00:00
Salvy
3b54c04239 [!] undef EXPERIMENTAL_INTERRUPTS
[+] Check viewport etc only when is changed (ex: user changed it in menu)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@195 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-21 06:44:51 +00:00
Corn
f60df4e34e [!] Corrected a lightning bug (I introduced earlier)
[!] Env mapping is now done (very fast) in the VFPU
[~] Move some defines

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@194 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-20 19:34:18 +00:00
Corn
971e6d3bc3 [-] Reverted modifyVTX change (always better to bail as soon as possible)
[+] Optimized ENV mapping (uses VFPU for the normals and CPU for Acos())
[+] some commenting and reordering

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@193 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 11:43:21 +00:00
Salvy
232870884a [+] Add back disable simulate doubles entry in roms.ini for Mario Party (not sure who removed it)
[~} Small typo from last commit

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@192 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 07:22:25 +00:00
Salvy
758fc03993 [!] Removed old ucode cache (no longer used anyways)
[!] Simplified both ucode detector and cache
[!] Simplified ModifyVtx

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@191 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-19 07:19:58 +00:00
Corn
59b8c18741 [-] Removed SM64 star hack (no longer needed)
[+] Made it easy to switch between CPU&FPU vs VFPU vertice transformation
[+] Added correct env mapping for textures to VFPU and CPU/FPU (needs more work to fully integrate) (tnx Salvy for spotting the issue)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@190 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-03-17 18:07:23 +00:00