Salvy
83cac310f6
[~] Fixed makefile
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@437 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-10 19:56:45 +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
Salvy
bafa94cb03
[~] Some code reordering and small clean ups
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@398 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-14 05:05:47 +00:00
Corn
1afb7709bd
[!] Optimized TnL paths for DKR
...
[~] Fixed compile error for enable texture (debug Dlist)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@397 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-13 21:08:30 +00:00
Salvy
faaf063c0b
[!] Unified DKR and JFG ucode tables
...
[!] Simplified DKR/JFG's Vtx ucode
[!] Simplified abit MoveWord_DKR
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@396 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-13 05:58:50 +00:00
Corn
90fb4297f8
[+] Semi fixed missing sprites in DKR (still needs more work, at least now they show up).
...
[!] Optimized the DKR TnL rendering pipeline.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@395 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-12 20:40:49 +00:00
Corn
fa099b1cdf
[!] Fixed texture scaling glitch (and simplified transform pipeline) in Conker.
...
[!] Small change in Vector clipping ASM (scale whole matrix rather than just one vector at the time).
[!] Some clean up in gspmacros and PSPRenderer.
[+] Alternative transform pipeline (using CPU/FPU) for Conker (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@394 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-11 14:11:53 +00:00
Corn
acfae3d956
[!] TEXRECT seems to work fine even in GE when discarding decimal part in coordinates (tnx Salvy)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@393 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-05 21:43:52 +00:00
Corn
b0ee3c6f13
[!] modified/reverted some of the previous commit since it breaks scaling and debug outputs
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@392 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-05 06:33:16 +00:00
Salvy
f0bf5d10ee
[~] Minor optimizations in GFX plugin
...
[!] Don't declare blendmodes as statics since it only makes the binary larger and most games only use a few blends.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@391 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-05 05:42:29 +00:00
Corn
c73d9486dc
[!] Some rendering pipeline fixes and optimizations
...
[!] Changed amount and order of render states
[!] Updated DList debug output
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@390 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-04 16:05:24 +00:00
Salvy
7edaaa838a
[!] Disable SImulateDoubles for Power Puff game (fixes the ingame gfx etc)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@389 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-01 19:59:47 +00:00
Salvy
6bceee6182
[!] Simplified even more memory access analysis (~1k ops in StaticAnalysis.cpp, I think this the fastest it can get)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@388 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-01 06:50:15 +00:00