Corn
12428bffe2
[!] Fixed most texture/palette issues in Worms Armageddon and Yoshi
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@787 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-23 17:03:02 +00:00
Corn
c662b0d587
[!] Improved changed texture detection for Worms Armageddon
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@786 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-22 05:20:08 +00:00
Corn
38f073fce0
[!] Fixed Worms sprite flipping in S2DEX
...
[!] tweaked and fixed texture cache hashing
[!] fixed MK64 character selection textures (don't recall if this broke other stuff?)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@785 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-21 06:08:12 +00:00
Corn
d5b1dc3a8a
[!] Fixed typo in texture hash code
...
[!] Improved texture cache hash (still ain't strong enough for character selection in MK64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@784 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-19 05:22:07 +00:00
Corn
7429e4701a
[!] New TMEM implementation (that fixes palettes in a few games) now works without the need to copy TLUTs to TMEM.
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@783 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-18 10:57:07 +00:00
Corn
862ea79f67
[!] Reverted to old hash for texture check
...
[!] Removed unneeded XORing of pointers for TLUTs while copying them (using TMEM)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@782 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-18 05:56:13 +00:00
salvy
c2b4887167
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@781 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-15 10:05:31 +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
12060459d0
[!] Forgot this
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@779 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-11 07:17:54 +00:00
salvy
9932094a4b
[!} Some cleanups in S2DEX and Sprite2D
...
[!} Made palette loading in S2DEX compatible with recent changes (when using DAEDALUS_TMEM)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@778 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-11 07:07:29 +00:00
salvy
8f958d844b
[!] Rewrote "full tmem" implementation (based from Rice plugin, doesn't need TLUT hack, can't return NULL, and can be modified by Sprite2D and S2DEX)
...
[!] Implemented correctly tlut state in Sprite2D (fixes Wipeout and other games, only when full TMEM is defined)
Note: These changes are NOP unless DAEDALUS_TMEM is defined, which is disabled since is slower and uses more memory than our fast implementation *Hopes Corn can port these improvements to it :)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@777 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-09 01:35:33 +00:00
salvy
0355856f6c
[!] Use new hash for texture update (faster)
...
[!] Ignore MakeTextureWhite in auto combiner (causes unnecessary texture updates in Zelda, anyways we ignore it in blendmodes, and have yet to see an issue)
[!] Wait abit longer before trashing textures (texture cache failures in Aerogauge is now 0, VRAM usage seems fine in my PHAT PSP)
[~] Some clean ups, disable osSetIntMask (for now, need to implement it correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@776 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-10-06 08:58:20 +00:00
salvy
f4b8fcbadf
[!] Fixed previous rev not compiling
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@775 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-25 16:43:30 +00:00
salvy
005d71196d
[!] Enabled osSetIntMask (ATM we just NOP it.. for some reasons games don't seem to bother, perhaps not important for emulation?) (Let me know if any game no longer works with OHSLE so I can try to implement it)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@774 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:51:07 +00:00
salvy
6342020194
[!] Tweak gHotTraceThreshold so it can identify more hot traces for the dynarec (speed up)
...
[!] Optimized guNormalize_Mario
[!] Implemented osSpTaskYielded correctly (OSHLE works for Yoshi again)
[!] For memory write funcs only use offset for look up
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@773 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-23 23:22:43 +00:00
Corn
140c35e1e2
[!] better compatibility with 16:9 (non stretched) screen mode
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@772 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-22 18:36:45 +00:00
Corn
377eddcb05
[!] Improve SW racer Ep1 shadows
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@771 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-15 16:54:05 +00:00
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
salvy
8e8ba117b9
[~] Small typo in makefile
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@768 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-12 19:39:19 +00:00
salvy
aa1cd95213
[!] [OSHLE] CALL DMA functions directly for SI/PI patches
...
[+] Added no-check-zero-division flag to disable divide by 0 checks for integers
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@767 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-12 19:36:07 +00:00
Corn
a4552e1ed6
[!] fixed missing "break;" in switch/case for CIC_6105 boot option (tnx Strmn)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@766 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-08 18:12:39 +00:00
salvy
847807dac9
[!] [OSHLE] ALL SP patches will call call DMA and Status directly, instead of going through the memory handler
...
[!] Clean ups and commenting in Memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@765 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-07 02:53:16 +00:00
Corn
f7ba7a5e21
[!] Disable Dynarec implementation of LWR/LWL and SWR/SWL unaligned load/store used in OOT animations
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@764 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 18:33:15 +00:00
salvy
755baf793d
[!] Use vfpu memcpy for osSpTaskLoad (since copy is always 64 bytes, we gain from the the VFPU)
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@763 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 03:05:16 +00:00
salvy
003ed1baca
[!] Optimized osSpTaskStartGo (HLE tasks will be loaded directly now when using OSHLE)
...
[!] Fixed a bug in osSpTaskLoad when setting the status reg, also optimized it to DMA directly
[+] Enabled osSpTaskYield/osSpTaskYielded (I noticed it was used in OOT)
[!] increased MEM_UNUSED alloc to store word size data
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@762 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-04 02:07:59 +00:00
salvy
7228cba536
[!] Optimized OS_HLE_osCreateMesgQueue (we now cache the base address)
...
[!] Free up 8k bytes from MEM_UNUSED region (dunno why we were using this excess of memory..)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@761 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-03 00:36:29 +00:00
salvy
b7f2771819
[!] Implemented osAiSetNextBuffer correctly (optimized it too)
...
[!] Allocate 8 bytes of memory to handle SP_PC_REG and SP_IBITS_REG (so we can use the pointer table opt and fix some bugs in OSHLE when setting pc)
[~] Removed nasty hack from osAiGetLength (no longer required since osAiSetNextBuffer is implemented correctly)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@760 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-02 03:00:53 +00:00
salvy
0f74f9f891
[!] Optimized VI read/write
...
[!] Fixed a bug in PI write
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@759 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-09-01 02:10:49 +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
salvy
9ff9d265a2
[-] Bye bye murmur2 hash
...
[!] Made slow memory access compatible with recent changes
[+] Added DKR64 hack which makes DK64 boot (This is disabled since we ignore IMEM transfers for speed which is required for DK64)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@754 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-22 16:13:10 +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
Corn
7daabc6eda
[!] Optimized branch delay slots in dynarec service routines
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@750 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 18:48:53 +00:00
Corn
fc3435211f
[!] Fixed dynarec access to broken pointer from previous rev
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@749 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 17:54:28 +00:00
salvy
05336a5db3
[!] Made DAEDALUS_ALIGN_REGISTERS compatible with previous changes (Might be a good idea to give it another shot since we have decreased register pressure lately)
...
[~] Forgot to twiddle address in previous commit
[+] Add back svnversion.h (Still needed when compiling Daedalus in cygwin)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@748 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-15 01:05:06 +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
salvy
cbf9f1ff31
[!] Reduced PIF RAM even more, now is only 16 bytes
...
[!] Pre-swap when writing to PIF RAM, also simplified MemoryUpdatePIF
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@746 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 17:01:08 +00:00
salvy
90af62af88
[!] Reduce PIF RAM usage from 2048 bytes to 64 (It can be reduced more, but need to do some tests first)
...
[!] Enabled SI hack for Cruisn' USA (it boots now)
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@745 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 09:13:05 +00:00
salvy
86bf8344e9
[!] Simplify a few more things in Memory.cpp
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@744 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 07:07:46 +00:00
salvy
79f63e0b98
[!] Do not allocate memory for RD_REG4,RD_REG4,and DPS_REG (They are unused anyways)
...
[!] Simplified mapping Rom region (It'll use new memory mapping, as a result will respect Rom boundary as well)
[~] Some small clean ups
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@743 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-08-01 06:10:43 +00:00
salvy
d17c919540
[+] Add support for games that write to ROM (Bug's Life and Toy Story 2 boot now)
...
[!] Use fast memory read for DPC, AI, and SI reg
[!] Removed memory bound checking (paranoid checks..this was already disabled in release mode anyways)
[!} Several clean ups in memory.cpp
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@742 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-31 12:03:24 +00:00
Corn
3088c99ef2
[!] Fixed some dynarec constants that slowed down War Gods and PD
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@741 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-29 11:30:23 +00:00
salvy
6328ce297b
[!] Games that use EPAK should work again
...
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@740 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-29 03:35:29 +00:00
salvy
02698955e6
[!] Rewrote N64 memory initialization (This based from 1964 and Mupen)
...
[!] Simplified ReadRom/WriteValue_Cartridge (FlashRam read/write is more robust too)
[!] Use attribute const for ReadAddress (hints compiler to optimize further)
[~] Lotsa of clean ups in Memory.cpp etc
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@739 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-28 07:21:28 +00:00
Corn
4502ef5f4f
[!] It is now possible to map emulated CPU/FPUregs to psp scratchpad
...
[!] Debug_console is now possible to compile without silent flag
[!] Adjustments to dynarec/traces parameters
git-svn-id: https://subversion.assembla.com/svn/Daedalusx64/trunk@738 42e9bfbe-799a-4a2d-bad1-236e862a387a
2012-07-24 20:30:44 +00:00