Commit graph

2789 commits

Author SHA1 Message Date
Salvy
39ba2cd77b [!] Allow GBI2 to use S2DEX ObjLoadTxtr
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@449 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-17 22:01:55 +00:00
Salvy
3e6f40ea53 [!] Fixed bgcopy
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@448 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-17 19:57:34 +00:00
Corn
3485ed9ed7 [+] Added hack for more thorough texture check in Yoshi
[!] WIP for S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@447 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-17 14:07:44 +00:00
Salvy
ffb1f7d463 [!] Fixed Yoshi BG stretching in the edges (I'm sure BGCopy is now broken, I'll fix it later :P)
[!] Use old texture update (temporarily)(slow as hell), pretty much to show up Yoshi BG is rendered perfectly

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@446 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-16 22:33:49 +00:00
Corn
8b4e3cddae [+] Possible to single step frames in Debug Dlist mode
[!] Textures and Dlist are not automatically dumped (need a button press)
[!] rejigged Dlist processing
[!] made gettexturepalette() safe and should not return NULL anymore (fixes Extreme-G and others)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@445 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-16 19:18:37 +00:00
Salvy
e03350e430 [!] Initial work to get S2DEX_Bg1cyc working for Yoshi [WIP] (Note : the BG still stretches mostly in the edges of the screen)
[!} Removed unused entries in MoveMemViewport

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@444 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-14 23:35:27 +00:00
Salvy
40c4452bbd [!] Some code clean ups
[!] Simplified and unified GBI2_PopMtx

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@443 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-14 20:11:34 +00:00
Corn
6ccfd068db [!] Tentative fix for Extreme-G with new TMEM implementation
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@442 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-14 18:24:26 +00:00
Salvy
f2968e86ff [!] Simplified when getting base address of texture in Yoshi_Memrect
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@441 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-12 16:08:35 +00:00
Salvy
87884e3bf0 [!] forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@440 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 23:03:49 +00:00
Salvy
1910ee981d [!] BranchZ, given address from RDP_HALF1 rather display stack (cheaper)
[!] Yoshi_Memrect no longer adds any overhead to RDP cmds, instead we'll just retrieve from LoadDetailsMap
[~] Small clean ups..

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@439 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 23:03:03 +00:00
Corn
bc76a6cbda [!] made set/clear GeometryMode in GBI0 and 1 to just one function
[!] Reenabled texture flush at end of frame
[!] some minor rendermode changes

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@438 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-11 19:51:07 +00:00
Corn
2886b9df64 [!] some fixes and touch up on TnL settings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@436 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-09 20:09:53 +00:00
Corn
1b8fe7c50d [!] skip setting fog if disabled
[!] proper variable naming and corrected a typo

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@435 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-08 16:37:06 +00:00
Corn
7a02a1ef43 [!] more optimizations passing TnL parameters
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@434 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-08 08:44:57 +00:00
Corn
e3aad9c0cd [!] Rewrote parsing of GeometryMode and how values are passed to PSP TnL
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@433 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-07 19:20:03 +00:00
Salvy
479fa8b569 [!] Some clean ups
[!] Moved Yoshi_MemRect to S2DEX, also it'll be used from S2DEX_RDPHalf_0 to avoid adding overhead to TexRect
[!] Fixed debug build
[!] Removed redundancy in makefile



git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@432 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-07 15:13:45 +00:00
Salvy
f18c1141d5 [!] Simplified Yoshi_MemRect
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@431 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-06 20:26:45 +00:00
Salvy
77cb88c72f [+] Background in Yoshi Story works now (THis is based from Glide Napalm, props to them \o/)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@430 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-06 19:44:58 +00:00
Salvy
c1ba13865e [!] Several clean ups and sorting in DLParser
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@429 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-06 16:03:54 +00:00
Salvy
471de9639f [!] Clean ups in DLParser_SetUcode
[~] Reverted change from 421, was breaking several games (thx re4thewin for reporting it)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@428 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-05 00:01:01 +00:00
Corn
5b794fb14f [!] fixed dlist debug text and warnings
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@427 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-04 21:00:41 +00:00
Salvy
9354bcde92 [!] Simplified and set custom ucode names in one go
[!] Patch ucode name table to create custom name tables (Dlist dumps for custom ucodes are accurate now)
[+] Added GBI1_S2DEX ucode name table

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@426 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-04 20:31:26 +00:00
Salvy
cb4be11d60 [!] Revert 423, won't work the way I had it planned
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@425 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-04 18:52:00 +00:00
Corn
baed613924 [!] Various improvements and simplifications in TnL of Conker and PD
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@424 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-03 19:18:32 +00:00
Salvy
3d09115ae4 [!] Patch uCode tables directly to create custom tables
Note : The benefit of modifying our ucode tables directly
1 - We don't need to build any array which can be really expensive if it happens
2 - No need for a another InstructionLookup
Only issue is that I need to find a clean way to undo any patching to avoid creating conflicts

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@423 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-03 00:48:22 +00:00
Salvy
3c3a283d86 [!} Forgot this
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@422 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-01 22:06:37 +00:00
Salvy
e15745a185 [!] Optimized LoadFPR_Long
[!] Don't use pspFpuFloatToDouble (adds too much bloat and is only used by a few games, anyways I doubt it helps at all..)
[!] Small optimization in TLBP

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@421 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-01 21:30:31 +00:00
Corn
14b74141cc [!] fixed compiler adding more mults than needed for front/back face culling test
[!] fixed all compile warnings i release mode

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@420 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-29 19:32:14 +00:00
Salvy
b1cbbba3b7 [+] Add back compile option to disable VFPU (Note : Not all VFPU code is suppressed yet)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@419 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-29 03:52:33 +00:00
Corn
640ad83bea [!] Use another(faster) way to front/back face cull to avoid using 1/w for the cross product.
[!] small update/boost to reference CPU clip.
[!] optimized both VFPU and CPU clip flag generation
[+] added hack to make memory opt work in PD


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@418 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-28 21:26:57 +00:00
Corn
43da3845c6 [!] Optimized CPU and VFPU VectorClip
[!] Reduced max number of clipped verts to 192 from 1024 (saving some memory)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@417 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-26 21:11:39 +00:00
Corn
8f003bd715 [!] Fixed CPU clipping (used for reference and is ~5% slower than VFPU)
[!] Fixed Kirby blend and removed offending blend for Rocket-robot on wheels (tnx Bdcanay)
[!] Disabled Loop Opt for Rocket-Robot on wheels

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@416 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-25 19:10:03 +00:00
Salvy
76d2d84362 [~] Silly typo from last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@415 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-25 07:29:34 +00:00
Salvy
a8ec3958e9 [!] Simplified and added comments to SetUcode (~100 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@414 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-25 07:22:16 +00:00
Corn
a1bf2d6f62 [!] reduced memory usage for new TMEM implementation(1/4 of original)
[!] fixed textures in Golden Eye
[~] some cleaning in DLparser.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@413 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 21:13:33 +00:00
Salvy
2197a90dbd [+] Patch normal ucode tables to create "custom" ucode tables
[!] Removed all custom ucode tables since they aren't needed anymore (saves alot of space to binary)
[!] Set ucode, patch ucodes, set vtx multiplier in one go (ToDo : set ucode names in one go too)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@412 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 19:16:09 +00:00
Salvy
7eb1546f77 [~] Removed SetTextureGenLin by error :P
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@411 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 07:28:06 +00:00
Salvy
047ab425a8 [!] Code clean ups and simplified some things here and there
[!] Make DLParser_PopDL static to hint compiler to inline (saves ~20 ops)
[!] Reverted changes to DLParser_GBI2_GeometryMode, only made code less readable and slower (saves ~10 ops)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@410 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 07:18:13 +00:00
Salvy
ea5ee1c7f6 [!] Forgot to sort MoveMem and MoveWord
[!] Some clean up, mostly in S2DEX
[!] Reverted changes to DLParser_InitGeometryMode, it only made the code less readable and slower (+10 ops)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@409 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-23 01:06:48 +00:00
Corn
bbbababc74 [+] Optimized palette loading (bypassing copy to TMEM) for a speed up in some games
[+] Old TMEM emulation is a compile option in buildconfig.h
[-] removed redundant texture info in struct
[-] TMEM is not using VRAM (was no speed benefit)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@408 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 20:51:06 +00:00
Salvy
32acd8a57b [!] Sorted all ucodes and moved them to headers to make development easier and make sure cod placement is optimal (Note : More clean ups and sorting are needed)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@407 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-22 15:47:29 +00:00
Corn
e582378269 [!] small optimization for DKR, only load WPmatrix to GE when needed
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@406 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-20 20:35:11 +00:00
Corn
8d3f60889f [~] Correction to DKR "sprites"
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@405 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-19 20:24:44 +00:00
Corn
a67233ed14 [!] More refinements to DKR "sprites"
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@404 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-18 18:59:41 +00:00
Corn
dc51de4de6 [!] Getting closer to proper rendering of sprites in DKR
[!] Simplified DRK TnL pipeline
[!] Fixed debug output of TnL for DKR

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@403 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-18 13:42:22 +00:00
Corn
52040baf61 [!] forgot to change these in last commit
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@402 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-17 14:15:27 +00:00
Corn
e32c8c6db6 [!] Sprites are somewhat improved in DKR (still needs work)
[!] Fixed PD boot crash (tnx Bdcanay and Salvy)
[!] Share same global variable for special address in PD, DKR and CBFD

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@401 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-17 12:43:12 +00:00
Salvy
6f8b3a1217 [!] Forgot to update the vertex multiplier table (this was breaking most custom ucodes, sorry!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@400 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-16 23:26:21 +00:00
Corn
6f4e0e8659 [-] Reverted Texrect since it does not work well with GE after all
[!] Reduced MaxUcode to 11 (saves some memory)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@399 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-15 20:31:32 +00:00