Commit graph

1104 commits

Author SHA1 Message Date
tehpola
4b405cc7c2 Changed DMFC1 to behave like MFC1 which actually works (untested). 2009-10-13 21:38:09 +00:00
sepp256
b3cd1e57cf Framebuffer Tex fixes.
EFB clearing rewrite.
Scissoring fix.
Tehpola's branch untested.
2009-10-13 21:35:30 +00:00
sepp256
b9095235a8 Revamped EFB clearing.
Reworked FB Textures.
Added FB Texture menu item to dev features menu.
Note: build in tehpola's branch not tested.
Note 2: FB Textures are sometimes unstable. I'm not sure why, yet.
2009-10-13 21:35:02 +00:00
tehpola
d9c5d46ab1 Fixed incorrect word-ordering in dmtc1. 2009-10-13 21:31:25 +00:00
emukidid
8eb0e3eb8f Fixed saving to SD at least. 2009-10-13 21:22:09 +00:00
sepp256
81cf8f4712 Reverting the extra include in the Makefiles.
Just move #ifdef <asm.h> to the #ifdef LIBOGC_INTERNAL at the bottom of lwp_heap.h
2009-10-13 15:32:40 +00:00
sepp256
b54acef76a Texture Cache now uses __lwp_heap to manage cached textures.
MEM2 is now used on Wii, so there's an extra 1MB of MEM1 free.
2009-10-13 15:29:01 +00:00
tehpola
d1d93d5444 RecompCache now uses its own __lwp_heap to manage its memory. 2009-10-13 13:13:52 +00:00
tehpola
92b61bbbd9 Recompile delay slots in place only if necessary. 2009-10-13 13:13:27 +00:00
tehpola
1ccaa38091 If a malloc or realloc fails, free up memory and retry. 2009-10-13 13:12:45 +00:00
tehpola
7d2d4ba5d9 Fixed recompiled load implementation, but there's some obscure bug left
in the stores.
2009-10-13 13:11:41 +00:00
emukidid
88fc5612fc DVD Fixed up on GC (even for Qoob people like me). 2009-10-13 12:30:38 +00:00
tehpola
8dd6b14863 Initial attempt at recompiling all loads/stores. 2009-10-13 12:27:10 +00:00
tehpola
10795e74d6 In retrospect, there's nothing wrong with a shift amount of 0. 2009-10-13 12:26:49 +00:00
tehpola
bace968b44 Fix SLL, SRL, and SRA when SA is 0 and rd != rt. 2009-10-13 12:26:32 +00:00
tehpola
00947f0b47 Makefile.GLN64_dev fixed to compile with latest Dynarec :) 2009-10-13 12:26:11 +00:00
tehpola
59bbf221b7 Damn you, meld. 2009-10-13 12:24:56 +00:00
tehpola
863054de0c Oops. 2009-10-13 12:23:22 +00:00
tehpola
23255c234d I forgot to add/delete files. 2009-10-13 12:22:31 +00:00
tehpola
af7b8b93a2 Hopefully porting the entire dynarec to the public trunk code. 2009-10-13 12:21:43 +00:00
tehpola
e336380604 Fixed GC makefile Makefile.GLN64_dev to compile with latest code. 2009-10-13 05:24:34 +00:00
tehpola
21a8ed363c Made logical instructions operate on 64-bit values. 2009-10-13 05:22:40 +00:00
tehpola
dcc9ace586 Allowing r11 and r12 to be mapped. 2009-10-13 05:21:24 +00:00
tehpola
70ae904137 Adding timer code that sepp256 forgot. 2009-10-13 05:20:45 +00:00
sepp256
af6fdb0993 Added new timer code to tehpola's branch. 2009-10-13 03:31:25 +00:00
sepp256
b4904ee47d Keeping both private SVN branches current with tehpola's PS mtx transformations. 2009-10-13 03:31:05 +00:00
tehpola
0ff52ac7a7 Only perform immediate shifts when shift amount is nonzero and mask
variable shifts.
2009-10-13 00:27:07 +00:00
tehpola
9658e24d3f Only invalidate the function which is being written into in
check_memory.
2009-10-13 00:25:51 +00:00
tehpola
86540fe89a Cleaned up heapDown so that it never accesses out of bound entries (even
though it never used them before).
2009-10-13 00:22:18 +00:00
tehpola
08250957f3 Reording of operations to create a new PowerPC_func. Shouldn't affect
execution.
2009-10-13 00:20:57 +00:00
tehpola
f9f3676f62 Few minor changes which shouldn't effect much. 2009-10-12 22:19:30 +00:00
tehpola
5ae7469bc2 Added another GQR to eliminate the need for the recip (by using the
psq_l LD_SCALE instead) in RSP_LoadMatrix.
2009-10-12 22:05:48 +00:00
tehpola
3943051c66 RSP_LoadMatrix takes advantage of psq_l to do its dirty work for it. 2009-10-12 22:05:08 +00:00
tehpola
caef30a162 PS TransformVector implementation (Speedup up of ~1.2). 2009-10-12 22:00:34 +00:00
tehpola
4278f8a550 Improved performance of PS transforms in glN64. 2009-10-12 21:59:16 +00:00
tehpola
c49c37704b Fixing check_memory in pure_interp so it only invalidates when
necessary.
2009-10-12 21:57:55 +00:00
tehpola
e89dbd0809 Hopefully eliminated pipeline stalls in my inline asm for MultMatrix. 2009-10-12 21:57:10 +00:00
tehpola
044671eb26 Disabled my optimization to only check for FP unavailable once per
mapping (I think my mappings are still interrupted).
2009-10-12 21:55:27 +00:00
tehpola
958ad3fc37 A semi-broken bit of code that allows multiple-loads in the dynarec. 2009-10-12 21:52:44 +00:00
tehpola
8b0611e74b You can now return to the dynarec after going back to the menu. 2009-10-12 21:48:09 +00:00
tehpola
437b1499a2 Avoid any overlapping blocks (I think this is _the_ fix). 2009-10-12 21:47:37 +00:00
tehpola
21c8eba2d1 Reenabled INTERPRET_FP_SQRT because the implementation caused visible
artifacts.  Check for FP unavailable and take the exception if 
necessary.
2009-10-12 21:40:23 +00:00
tehpola
12d554c0e8 Doing a proper heap-sort in update_lru by creating a new heap. 2009-10-12 21:32:56 +00:00
tehpola
c78650fb13 Updating my Interpreter.h to recompile CFC1 and CTC1. 2009-10-12 21:31:07 +00:00
tehpola
f5d5b214e6 CFC1 and CTC1 implemented. 2009-10-12 21:29:52 +00:00
tehpola
99cc0eb461 Implemented FP comparisons. 2009-10-12 21:25:51 +00:00
emukidid
210a3c4856 Fixed Dev Menu to not cover TLB Cache item. 2009-10-12 21:24:33 +00:00
sepp256
c5ed34b4df Added new timer functions & Menu item.
Added %idle to profiling.
Updated glN64 Makefiles.
2009-10-12 21:21:07 +00:00
emukidid
0d144e2d6c fixed ROM-Cache.c for GC again. 2009-10-12 21:15:59 +00:00
tehpola
1baeff4a95 Fixed up Makefile.GLN64_dev, added missing files. 2009-10-10 21:25:15 +00:00