Commit graph

3046 commits

Author SHA1 Message Date
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
Salvy
c4d9f89e02 [!] Simplified memory access analyst (shoves off 3k+ ops in StaticAnalysis.cpp)
[!] Simplified parameters in CodeGen

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@387 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-09-01 05:44:22 +00:00
Salvy
ed35ac70cc [!] Tidy check to update when rumble is active
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@386 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-30 05:46:02 +00:00
Salvy
fb29b30d2a [!] Fixed a blendmode for Majora's Mask
[-] Removed RDP_EMULATE_TMEM option (It only slowed down and never helped any game, also added more logic to our code)
[!] Avoid setting Tile/TileSize twice
[!] Simplified parameters for SetTile/SetTileSize
[!] Simplified setting pitch tile

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@385 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-29 01:34:19 +00:00
Salvy
3987a1867a [!] Bring back changes to Patch_memcpy
[!] Check if len==0(NOP!) in Patch_memcpy (fixes SpiderMan)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@384 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 06:25:03 +00:00
Salvy
421eab241a [!] Reverted changes to Patch_memcpy (was breaking SpiderMan, thx chito for reporting it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@383 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 04:34:05 +00:00
Salvy
54196ec36c [!] Remove any excess of cheats to avoid wasting memory
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@382 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 01:50:13 +00:00
Salvy
eff830d135 [!] Increase number of cheat slots per ROM to 16 (since we have plenty of memory now to allocate cheats)
[+] Added a very basic scroll for cheat list (needs work!)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@381 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-26 01:02:05 +00:00
Corn
8720edacfc [!] Disable Simulate doubles for conker
[!] Fixed various debug output for DKR/PD
[!] Optimized standard CPU rendering a bit more

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@380 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-25 08:57:55 +00:00
Corn
99d8e4e922 [!] Some additional fixes to DLParser_Mtx_DKR()
[!] Rewrite CPU version of SetNewVertexInfo() to look more consistent(and faster)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@379 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-24 10:37:27 +00:00
Salvy
7a5650f8c0 [!] Optimized and simplified DKR/JFG's Mtx ucode
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@378 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-24 07:00:45 +00:00
bdacanay
4b47da5bdc [+] Added cheats to most N64 games.
[+] Added some blends for DKR

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@377 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-24 00:10:09 +00:00
Corn
48c802a25e [!] Optimized SimulateDouble and updated roms.ini
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@376 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 21:24:47 +00:00
Corn
72a7cdb108 [!] This time it seems as if BranchZ really works for OOT & MM (more work is needed for proper function in Aerogauge and Penny racers)
[!] Remove forced back culling for DKR (use normal)


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@375 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 18:32:32 +00:00
Corn
e271f5bdf1 [!] Fixed texture loading for JFG and Mickey
[!] Some small optimizations to BranchZ/TestVerts/FlushTris/AddTris
[!] Fixed some debug output status texts

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@374 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 11:36:25 +00:00
Salvy
18bcf76810 [!] Fixed static in textures in DKR/Mickey/JetForce Gemini
[!] Simplified DLInMem (heavily used by DKR)
[!] Fixed bug in ucode cache that was breaking menu in SSV
[+] Added blendmode for Mountains in Majora's Mask (thx chito for reporting it)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@373 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-23 00:53:47 +00:00
Corn
7f4a5de08f [!] fixed Debug Dlist bug (crash in DKR)
[!] Alloc corrected meaning of video memory errors
[!] fixed Debi Dlist menu 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@372 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-22 23:30:41 +00:00
Corn
0a48bc6c6f [!] some minor tweaks in the rendering pipelines (DKR/PD/conker)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@371 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-22 18:17:31 +00:00
Corn
3874241de6 [!] Updates to PD rendering pipeline
[!] Some minor updates (TEXGEN) to other rendering pipelines

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@370 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-21 15:16:06 +00:00
Corn
eac7c0bb22 [+] WIP on for rendering PD
[!] Some optimizations in the rendering pipelines

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@369 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-21 09:43:45 +00:00
Corn
ed42134164 [!] Some additional fixes to DKR/Gemini
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@368 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 18:39:56 +00:00
Corn
45edda3f29 [+] Fixes to polygons in Jet Force
[+] Fixed polygon clipping DKR/Jet force

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@367 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 15:33:06 +00:00
Corn
14191c8711 [+] Worked on DKR(and jetforce) custom ucodes (WIP)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@366 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 14:09:27 +00:00
Salvy
08f4518902 [!] Revert previous commit, need to test further
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@365 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-20 06:58:47 +00:00
Salvy
b07e842a94 [+] Added QuickWrite_Long/QuickRead_Long (these are usually 50% faster when the compiler isn't able to optimize Read64Bits/Write64Bits, mostly happens when we need to combine two FPU registers into one long )
[!] Use QuickRead_Long for LDC1 (~24 ops)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@364 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-19 07:23:17 +00:00
Salvy
09c9e42b1c [!] inlined GetChunkStartAddress and AddressToChunkMapIndex (saving ~20 ops)
[!] Made ContainsAddress debug only

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@363 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-19 06:53:41 +00:00
Corn
656451c9ad [-] removed bit info from main menu
[!] Cosmetic change to splash screen 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@362 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-18 14:26:49 +00:00
Salvy
f0b6207747 [~] Fixed text in splash screen
[!] Avoid creating two instances of intrafont

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@361 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-18 14:02:08 +00:00
Corn
a726e6c78b [!] Optimized unaligned load/store (saving ~340 OPs)
[!] Moved alloc/free fonts to Create/Destroy so it won't happen every frame when showing splash screen

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@360 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-18 13:02:27 +00:00
Corn
a245fff6cd [+] Show 32/16Bit choice in splash screen
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@359 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-17 10:53:15 +00:00
Corn
3fc10c60d8 [+] Enable to choose 32bit color mode at boot time by pressing "Circle" until splash screen shows up (default is 16bit)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@358 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-16 22:14:15 +00:00
Salvy
6030caf1e2 [!] Add back hack for Aydin, since the assumption I took was breaking Rampage
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@357 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 22:06:42 +00:00
Corn
b8863a3e53 [~] Keep texture in the cache a little longer to avoid swapping textures in and out
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@356 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:41:14 +00:00
Salvy
f98d6981d4 [!] Clean up options etc (Removed Stack Optimisation option, it works perfectly fine with all the games, there's no point to have an option for it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@355 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:28:54 +00:00
Salvy
68a911d423 [!] Created lib to make it easier to manage modules (since we have plenty)
[!] Simplified inits of our modules

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@354 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 21:02:09 +00:00
Salvy
2256555b3d [!] Stop and unload imposectrl.prx after we impose HOME button (is only required once for that task anyways)
[!] Stop and unload dvemgr.prx if no tv out cables were connected.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@353 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 18:30:59 +00:00
Salvy
0d69d8929a [!] Forgot VolatileMemPSP.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@352 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 06:47:01 +00:00
Salvy
50ea1c7c76 [!] Enable callbacks when gprof build is compiled
[!] Unlocked volatile memory (this unlocks 4mbs extra of memory)
[!] Disabled suspend (this won't work anymore when volatile memory is unlocked)

Note: The only side effects when volatile memory is used is that suspend and dialogs won't work I twon't affect us though, since we don't depend on neither ;)
Note2: Only cheat codes are using the extra mem atm as a test.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@351 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-15 06:43:15 +00:00
Corn
08d5f979b8 [!] Improved speed in PIF CRC calculations (w/o using table)
[!] Proper name to IRQ hack -> SkipPifIRQ

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@350 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-14 09:45:52 +00:00
Salvy
886c096f4e [-] Removed experimental interrupts (it never worked correctly anyways)
[~] Simplified abit UseIRQmode check, and added comments
[!] By mistake I removed to clear pi status reg in DMA_PI_CopyFromRDRAM...fixed

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@349 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-11 06:25:26 +00:00
Salvy
42dd81126f [!] Simplified and optimized TLB refill/invalid exceptions
[~] Simplified CopUnusuable exceptions

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@348 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-08-11 05:46:58 +00:00