Commit graph

924 commits

Author SHA1 Message Date
Corn
6ff6503815 [!] change how fullscreen HD works
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@770 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 13:53:30 +00:00
Corn
81a3410b43 [!] Added Fullscreen HD mode(scales 3D to proper 16:9 format. Note: don't work on all ROMs yet)
[!] fixed typo/error in Makefile 

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@769 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 13:02:56 +00:00
Corn
c94fe6d32f [!] Use jump table to select native textures
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@758 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-31 18:27:03 +00:00
salvy
431750adf5 [+] Use a jump table for ConvertImage
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@757 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-29 20:43:27 +00:00
salvy
4bd5078b16 [!] Increase both MAX_VERTICES and MAX_CLIPPED_VERTS (Fixes Flying Dragon crashing)
[!] Fixed debug build
[~] Silenced some annoying asserts

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@756 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 19:37:56 +00:00
salvy
79d10a560f [!] Moved check if palette address is NULL for palette textures (Now is only check when trying to load a palletized texture)
[~] Removed unused tables from convert image

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@755 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 16:28:21 +00:00
Corn
d0965caec6 [!] Abort texture generation if palette address is NULL for palette textures
[!] small optimization of hash function.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@753 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-21 21:08:17 +00:00
Corn
b513fbc09b [!] Removed optimization of LBU for banjo while using dynarec mem opt.
[!] Changed to a simpler hash for texture indexing.

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@752 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-19 14:43:02 +00:00
salvy
27061a6765 [=>] Merged from Daedalus js port:
[+] Added new hash for microcodes (MurmurHash2 wasn't endian friendly)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@751 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-18 21:51:17 +00:00
salvy
ed7c346f47 [!] Optimized memory pointer table optimization (faster, and no longer computes the address twice when table is invalid) (Note: Dynarec is broken! Need to update DynaRecStubs.s)
[~] Removed "fast" memory write table (pointer table was already optimizing out) (saves memory too!)
[!] Increased maximum of clipped verts (Fixes Mortal Kombat 4) (Thnx jeanpave for reporting it)
[-] Reverted previous commit (I assumed wrongly that memory alloc was done in word size.. thnx Corn for pointing out!)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@747 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 00:27:28 +00:00
Corn
bc7a7177a2 [!] Added showing handled speed hacks (with OP code) in dynarec (undef DAEDALUS_SILENT)
[!] moved some code under DAEDALUS_SILENT to DAEDALUS_DEBUG_CONSOLE and DAEDALUS_DEBUG_DISPLAYLIST

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@737 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 13:40:26 +00:00
salvy
fbcfff31df [~] Fixed debug build
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@736 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-18 08:02:06 +00:00
Wally4000
916b7c72e2 Updated uCode files for case sensitive OS's
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@713 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-26 08:54:40 +00:00
salvy
ab734bc60e [!] Fixed blitting not scaling properly (we'll use the simple version of blit as well for now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@711 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-22 07:04:12 +00:00
Corn
1d8e3bcc1b [!] Fix proper N64 to PSP scaling for large textures(see Worms, still don't work for 4:3 unscaled screen)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@709 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-21 19:16:26 +00:00
salvy
899571ac6c [!] Simplify IgnoreHi, It'll only check if gate logic is non negative
[!] Fixed Duck Dodgers not longer working with optimization in GenerateAND

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@706 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-20 18:09:55 +00:00
salvy
592db1c5c5 [!] Use more complex blit algorithm from latest version of TriEngine (fixes large texture used in StarSoldier (640x320)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@695 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-07 00:01:35 +00:00
salvy
2b3cfdf371 [+] Implemented blit (code taken from The TriEngine)
[!] Use blitting to support large textures (since the PSP hardware can only handle up to 512x512)

Worms - Armageddon is now playable

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@694 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-06-06 17:30:53 +00:00
Corn
ece1c6efd2 [!] Dynarec: More improved in SLTx functions (32bit bit)
[!] Fixed BlendExplorer to work with new blend functions

Note from Strmn that SLTI is buggy in 64bit mode


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@658 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-03 18:58:00 +00:00
salvy
15d0af0cc5 [!] Removed number of cycles from blendmodes (blendmode explorer needs to be updated!)
[~] Fixed debug build

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@657 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-03 12:30:59 +00:00
salvy
70dea65db5 [~] opps
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@656 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-01 20:57:34 +00:00
salvy
354cc8258e [!] Fixed DKR from previous commit
[!] Removed RecolourTextureWhite from blendmode (not used)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@655 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-05-01 20:56:25 +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
3f1e612b52 [-] Reverted LWC1/SWC1 FPU OPs (caused to many issues need more work)
[!] Reorganized Build Config flags

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@643 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-13 13:12:34 +00:00
Corn
85f3b021fe [!] Fixed various compile errors for debug versions (Dynarec stats work now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@640 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-03 19:26:29 +00:00
Corn
d33bed74b3 [!] Fix for invalid light direction (avoid div zero) and debug output
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@639 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-02 19:25:41 +00:00
salvy
ea3e838fbb [!] Some small optimizations
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@638 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-02 02:16:42 +00:00
salvy
dbef2f7350 [!] Simplified RDP_MoveMemLight (~30 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@637 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-04-01 22:19:46 +00:00
Corn
c579df6db4 [!] Clean up and optimizations in Dynarec
[!] Clean up and nicer looking tool tip
[!] Clean up in T1_HACK  


git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@631 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-27 19:37:42 +00:00
Corn
0d1cb7d636 [!] Fix rayman hack
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@629 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-16 20:23:27 +00:00
Corn
81c6fb5c64 [!] optimization and additional fixes for rayman hack
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@627 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-16 16:59:08 +00:00
Corn
ac9c584e6e [+] improved T1_HACK it now merges T0 with T1 so PSP can render textures properly(Rayman2, Donald Duck, Earth worm jim, Tom & Jerry)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@626 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-03-15 21:16:25 +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
410a4c24a6 [!] Do not render Conker's shadow (even though our generic blendmode does hide it fine, we can save some cycles by not rendering at all)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@620 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-25 23:56:06 +00:00
Corn
45f6ecc182 [!] Additional fixes to T1 hack
[!] Clean up tris culling
[!] Optimization of zero size tris for GE and PD

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@619 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-22 19:39:43 +00:00
Corn
62f9e66462 [!] Fixed T1 hack (textures in Donald Duck and Rayman2 should look very good eg. non blocky)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@618 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-02-21 20:34:17 +00:00
Salvy
eecd8dd480 [!] Reduced number of ucode cache entries to 6 (Max ucodes I ever seen per game is 4 anyways)
[!] Don't cache ucodes globally, only per game (to avoid hitting max of entries and spreading too far from the first entry)
[!] Revert change to chunk size for ROM cache

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@600 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-28 03:03:03 +00:00
Corn
0c0be70e76 [!] Check for Off screen rendering in Tri1, 2 and 4 is now for CBFD only and skips the whole list at once thus avoiding checking individual tris (small speed up)
[!] If Off screen rendering is true, TnL is skipped for Conker (small speed up)
[~] Small cosmetic change in GUI text (will this break translations?)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@590 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-20 13:26:07 +00:00
Corn
1ed1cc196a [!] Pass values by reference in coordinate translation function
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@571 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-03 12:12:08 +00:00
Salvy
9012a52acf [!] Some optimizations in copying data with vectors in Texrect/Flip (~29 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@570 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 23:22:26 +00:00
Corn
9cee33185a [!] Indice buffer is now 256
[!] Clean up among the hacks

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@569 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 19:28:24 +00:00
Corn
003bafc95a [!] Ambient light change is now compatible with VFPU TnL code (standard and Perfect dark)
[-] removed old Ambient light from struct

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@568 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 15:52:24 +00:00
Salvy
aaa3660f51 [!] Simplified Light Colour (VFPU TnL needs to be updated!!)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@567 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-01-02 00:39:41 +00:00
Salvy
e2ce6d1d2f [!] Some more optimizations in copying data with vectors (~20 ops)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@566 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-31 01:49:51 +00:00
Corn
db0c96124e [!] Refinements in VFPU TnL code for small speed up
[!] Fixed matrix stack limits to proper values
[!] Save some memory with smaller indices buffers

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@565 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-29 12:51:50 +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
54f92a52ca [-] Reverted some of the aligned matrix multiplications since for some reason they are unaligned?
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@563 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 17:58:39 +00:00
Corn
3e30752f1e [!] avoid concatenation/multiplication of world and projection matrices for CBFD and PD (small speed up)
[!] use aligned loads and saves for matrix multiplication in psprenderer (small speed up)

git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@562 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 16:47:26 +00:00
Salvy
7f7ad04c40 [!] ForceMtx(2) takes two cmds (reduces significantly Dlist size of games that use it)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@561 42e9bfbe-799a-4a2d-bad1-236e862a387a
2011-12-28 02:28:33 +00:00