Carlos R
e0070b6861
Fix for blast corps and more bound checks
...
*Properly trigger DP interrupt, some games are very sensitive when we ignore it. Blast Corps no longer hangs after the Rare logo. Also ensure to trigger the interrupt when frameskip its enabled to avoid stalls
*Added bound checks for DLinMem and DLCount
*Disabled invalid address bound checks for the PSP. With the recent changes, now its safer to disable it
2020-07-12 15:10:16 -07:00
Carlos R
b39e6d119e
*Do not set the texture tile and scale when texture its disabled, also handle properly when the texture scale its 0, DKR does this
...
*Convert segment address to a physical address (fixes an ancient bug discovered by recent changes to RDPSegAddr (fixes a crash in DKR)
2020-07-11 15:29:31 -07:00
Carlos R
f70c0180b5
Prep work to add more custom ucode implementations
...
*Refactored RDP_MoveMemLight to prevent duplicate code and simplified it for adding custom lighting impls. Also added bound checks for invalid light index and addresses
*Added hash for Rogue Squadron (this a custom GBI1 ucode), currently unimplemented
*Do not hardcode GBI commands when patching custom ucode tables
*Fixed DKR's index mtx address, thanks Rinnegatamante for pointing out this error
2020-07-02 09:15:45 -07:00
Carlos R
ee22e26003
More bound checks
...
*Implemented IsVertexInfoValid to add proper bound checking our vertextinfo
*Implemented IsAddressValid to add proper bound checking when referencing an N64 ram address, currently its only used for DMA_Tri_DKR
*Fixed bug bugged addresses in DKR ucode
*Removed now redundant bound checks, some of these were either wrong pr inconsistent
2020-06-27 13:53:06 -07:00
salvy
831be5b995
Debug build fixes
...
*Fixed debug build when DAEDALUS_DEBUG_DISPLAYLIST its defined, also I enabled it for debug builds
*Fixed ptr->u32 cast in DLParser_DumpVtxInfoDKR, it was causing a compilation error for me)
*Removed unsused zlib from third_party, also added webby
2020-05-13 19:39:20 -07:00
Ben Slater
6a725bf99e
Removed a bunch of asserts / debug options from release build, stabs a bunch of compiler warnings
2019-05-03 17:43:44 +10:00
Ben Slater
c562b76641
*Clean build from StrmnNrmns repo
2019-02-27 17:04:51 +11:00
Ben Slater
9bd9b31776
Fixed Linux debug build and build_daedalus script
2019-02-23 22:18:43 +11:00
mrbenslater
2e6cf17baa
Move more debug stuff out of Release
2019-01-21 19:58:47 +11:00
Paul Holden
49a06ed319
[~] Make header guards consistently use FULL_PATH_TO_FILE_H_, with script
2013-06-04 22:02:30 +01:00
strmnnrmn
03b914f198
[~] Swith DL_PF so that it uses a DataSink - we'll be able to hook this up to the WebDebug code
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1428 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-25 22:39:17 +00:00
Corn
d0fc3b0364
[!] Outer rounding in ConvertN64ToScreen() is needed for proper scaling of textures and screen
...
[!] More fixes to DKR Dlist commands
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1301 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-17 18:13:30 +00:00
Corn
68b1060f33
[!] Improved matrix handling for DKR (skipping the need for some globals)
...
[!] Reduced the stack to a single matrix for project matrices
[!] Made some viewport stuff OSX only
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1300 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-16 21:37:39 +00:00
strmnnrmn
1e9e443f79
[*] Get rid of the PSPRenderer singleton, and implement as a simple gRenderer pointer. This gets rid of the PSPRenderer typename everywhere, which will make the next step easier (adding an OSXRenderer, and making that and PSPRenderer derive from BaseRenderer. Also in this commit, fixed a bunch of mixed tabs/spaces and formatting.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@1107 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-03-02 15:46:18 +00:00
Corn
da0a5b4461
[!] DKR: Use already available matrix stack(improve data cache locality) Removed global variable for stack indexing.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@957 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-16 12:36:39 +00:00
salvy
3c9d4dd45a
[!] Clean ups in mtx code
...
[!] DKR, do not borrow from the mtx stack, just use an aligned variable (cheaper)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@956 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-16 08:17:10 +00:00
salvy
f40c2467c1
[-] Opps! Reverted previous commit
...
[~] Some minor clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@940 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 05:24:50 +00:00
salvy
ec720ad37c
[!] Optimized Tri ucodes (convert MicroCodeCommand reference to pointer to easily access next command)
...
Note: We could avoid this convention by declaring MicroCodeCommand as pointer instead of reference, but this causes the compiler to no longer optimize our bitfields with (ext/inst)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@939 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 03:44:48 +00:00
salvy
55b6127d8d
[!] Small optimization in DMA_Tri_DKR
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@938 42e9bfbe-799a-4a2d-bad1-236e862a387a
2013-02-04 03:09:31 +00:00
strmnnrmn
0e698c385d
Fix all the remaining mixed newlines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@852 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-12-08 14:21:04 +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
4f68cee2d2
[!] Optimized Dlist loop (Now it only checks the Dlist counter when needed, also counter resets in go)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@780 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-15 10:00:54 +00:00
salvy
8f5e06f6a5
[!} Some clean ups and simplifies
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@653 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-01 19:20:18 +00:00
Corn
22241a22a7
[!] Fixed matrix alignment (including DKR)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@564 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 19:49:47 +00:00
Corn
97528505f1
[!] some clean up
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@533 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-14 21:59:11 +00:00
Salvy
82592b08ba
[!] Optimized DMA_Tri_DKR
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@532 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-14 20:47:36 +00:00
Corn
81ee7e2c24
[+] Added VFPU TnL code for DKR billboards (small speed up)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@528 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-11 17:31:54 +00:00
Corn
17df2a3c7f
[!] load matrix directly to stack to avoid copying data twice (setproject, setmodelview and force_matrix)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@524 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-09 20:46:26 +00:00
Corn
b67953e467
[!] Fix debug dlist compile error (tnx salvy)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@521 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-08 21:48:50 +00:00
Corn
2cc220f98e
[!] Reuse project matrix stack for DKR matrices
...
[!] Avoid copying DKR matrix data twice under some circumstances.
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@520 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-08 20:36:12 +00:00
Corn
03602ad577
[!] DKR only needs 80 verts array after all (no need for 128)
...
[!] Updated CPU TnL
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@484 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-11 19:46:31 +00:00
Corn
092dc48a18
[!] Made inline of some functions in PSPRenderer
...
[!] Made Debug Dlist spam less for cleaner looking output to file
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@483 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-10 18:02:35 +00:00
Corn
a7275ea718
[!] Fixed potential ROM hack bug
...
[!] Updated S2DEX_ObjLoadTxtr
[~] Trimmed some debug info
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@482 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-10 10:44:26 +00:00
Corn
70a064628c
[!] Fixed DKR/JFG texture scaling issue
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@480 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-09 21:14:06 +00:00
Corn
6c4d2df0c6
[!] Semi fixed Extreme-G2 with a hack(does not clear zbuffer and uses setprimdepth on geometry)
...
[!] Made old TMEM implementation compatible with recent changes in S2DEX
[!] Big overhaul on Debug Dlist formating to make it easier to read
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@467 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-11-02 16:54:45 +00:00
Corn
d324ee0340
[+] Add correct triangle culling for DKR (speed up)
...
[+] Blendmodes for DKR car slids and plane streamers
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@453 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-10-20 13:34:16 +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
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