Commit graph

29 commits

Author SHA1 Message Date
Wally4000
3fec82b04d Remove stdafx.h for consistency 2022-03-22 18:06:17 +11:00
Carlos R
3d1184f990 *Removed vertex stride from the ucode cache, now vertex stride its applied at compile time for all microcodes
*Removed GBI0_Tri4 (F3D microcode doesn't support it)
*Moved GBI0_Tri4 implementation to Ucode_GE.h since this is actually part of the custom microcode used by GE and PD.
2020-07-04 17:37:52 -07:00
Carlos R
6733dbc19d F3D improvements
*Implemented CullDL for F3D microcode, small speed up for games that use this, ex Wave Race 64
*Fixed max light constant for F3D/EX/2
*Continue WIP to optimize the vertex indices at compile time  (F3D its done now)
2020-07-02 22:37:56 -07:00
Carlos R
9bec25e3ca More improvements to the gfx ucode detection
* Auto defect and cache ucode functions and vertex stride
* Speed up custom ucode detection, avoid string detection and return as soon as there's a match
* Do not attempt to auto defect ucodes that lack a version string
*Alot of code clean up, now custom ucodes should be easier to add (everything related its now in Microcode.cpp)
*Bound checking for InitMicrocode and make sure to set a default ucode version if there's a failure
*Hardcode code_size to avoid issues when hashing ucodes when games set an invalid size, ex Conker
*Simpler way to clear the ucode cache
*Always include gNormalInstructionName even on release builds, the memory we saved wasn't worth the hassle to keep it out of release builds..
2020-06-28 19:28:21 -07:00
=
1511baa25e Fix up paths in headers 2020-05-27 19:20:52 +10:00
salvy
eb88b1a115 [!} Fixed backgrounds in Ogre Battle (This is based from Glide64 implementation)
[!] Fixed S2DEX2 jump table
2013-07-02 01:41:29 -07:00
salvy
c8ac6af830 [!] Fixes to to get OSX (GL rendering) to work under W32
Note: libpng15 is now needed to compile W32 build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1442 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-26 16:18:21 +00:00
salvy
88ba769ea0 [!] The projection mat stack is 1 matrix deep, so it cannot be popped/pushed.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1235 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-10 11:06:58 +00:00
salvy
dba8dfc796 [!] Fixed PSP debug build
[!] Fixed error in oshle that caused a branch assumption error
[!] Detect newer PSP revisions..ex E100 etc, also fixed a bad detection
[~] Some clean ups

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1029 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-18 23:07:58 +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
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
f3406a94b2 [-] reverted ucode changes from previous rev since it broke ucode changes
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@622 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-06 21:58:16 +00:00
salvy
722ea29353 [!] Play with pointers to avoid (expensive) array building for custom ucodes, removed array for custom ucodes too. (~20 ops)
[~] Some clean ups InitMicrocode
[+] Added -pipe option to makefile for faster compile time (Note: This will use more RAM from your computer, make sure to have atleast 512Mb+ when compiling Daedalus)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@621 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-04 02:57:31 +00:00
Salvy
6447f62275 [~] By mistake broke S2DEX1 name table
[!] Fixed wrong fill colour in Automobili Lamborghini (is not correct since we can't really handle 32b size in fillrect (yet)) 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@523 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 20:19:53 +00:00
Salvy
12c3f0454c [!] Use LoadUcode to switch to S2DEX2 to avoid adding overhead to GBI2 ucodes (our ucode cache should handle off any overhead from LoadUcode anyways)
[!] Added detection for S2DEX2 ucodes
[!] Some more optimizations in copying data with vectors (~30 ops)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@522 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 19:57:26 +00:00
Corn
650c9878eb [!] Rayman 2 textures stretching should work now
[-] Reverted GBI1_EndDL change

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@478 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-08 10:01:53 +00:00
Corn
0165eb67ed [!] bail audio mixer when called with bogus values (YOSHI)
[!] small improvement in color adjustment process
[!] call popDL directly instead of endDL if possible
[!] Instruction count should now match in debug dlist with value shown in Dlist length
[!] reworked blend explorer and cleaned up debug info and reordered some code


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@475 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-07 08:42:56 +00:00
Salvy
d8c3faf594 [+] Implemented S2DEX ObjRectangle (Pokemon Puzzle League is now playable) Note : You need a savestate to get in game
[!] Refactor S2DEX codebase (bye bye redundant code)
[!] Several clean ups in S2DEX

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@469 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 22:02:36 +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
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
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
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
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
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
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
Renamed from Source/HLEGraphics/Ucode.cpp (Browse further)