Commit graph

  • f7ea543f93 Commented some more DEBUG_print's which used DBG_USBGECKO in certain areas for a speedup. tehpola 2009-10-14 12:16:11 +00:00
  • 9db0fe0f26 Reenabled some previously disabled skip_jump code. tehpola 2009-10-14 12:13:06 +00:00
  • 0604a015dd Reenabled some previously disabled skip_jump code. tehpola 2009-10-14 12:13:06 +00:00
  • 8d5ac45036 Fixed GEN_FSEL macro. tehpola 2009-10-14 12:12:40 +00:00
  • db523931e6 Fixed GEN_FSEL macro. tehpola 2009-10-14 12:12:40 +00:00
  • 6fc99b7865 Reworked SQRT_FP to use less (and faster) instructions, and properly handle sqrt(0). tehpola 2009-10-14 12:11:00 +00:00
  • d28b9db21d Reworked SQRT_FP to use less (and faster) instructions, and properly handle sqrt(0). tehpola 2009-10-14 12:11:00 +00:00
  • b323ac50fc Savestates fixes ported from tehpola branch :) emukidid 2009-10-14 12:09:19 +00:00
  • f02799e568 Savestates fixes ported from tehpola branch :) emukidid 2009-10-14 12:09:19 +00:00
  • 9e753f36fd Savestates fixed up - Working in dynarec and hopefully faster to save since I eliminated all the gzseek's :) emukidid 2009-10-14 12:08:19 +00:00
  • 932ec0f8ab Savestates fixed up - Working in dynarec and hopefully faster to save since I eliminated all the gzseek's :) emukidid 2009-10-14 12:08:19 +00:00
  • 582ff8a410 Reworked FB tex eviction to evict normal textures over FB textures that have been used in the past frame. Reduced tex cache size for GC to 1.5MB again. sepp256 2009-10-14 03:51:29 +00:00
  • 4bdd439364 Reworked FB tex eviction to evict normal textures over FB textures that have been used in the past frame. Reduced tex cache size for GC to 1.5MB again. sepp256 2009-10-14 03:51:29 +00:00
  • 818e94216c Don't try to recompile stores yet, it doesn't work. tehpola 2009-10-14 03:34:29 +00:00
  • 848639323a Don't try to recompile stores yet, it doesn't work. tehpola 2009-10-14 03:34:29 +00:00
  • e35d3e75ea Fixed genJumpPad bug which would cause delay slots to be executed twice if the branch was the last instruction in a block and wasn't taken. tehpola 2009-10-14 03:32:50 +00:00
  • 6752f8f0a0 Fixed genJumpPad bug which would cause delay slots to be executed twice if the branch was the last instruction in a block and wasn't taken. tehpola 2009-10-14 03:32:50 +00:00
  • 3bd9fbad86 Fixed compiler conditional in FrameBuffer.cpp Upped GC tex cache to 2.5MB sepp256 2009-10-14 02:41:34 +00:00
  • 22106fd171 Fixed compiler conditional in FrameBuffer.cpp Upped GC tex cache to 2.5MB sepp256 2009-10-14 02:41:34 +00:00
  • b62ad254d8 Fixed FB tex crashes. No longer evict current FB tex. Increased Tex cache to 1.5 MB for GC so that Banjo Kazooie FB effect works. sepp256 2009-10-14 02:40:54 +00:00
  • 49a34cfdd5 Fixed FB tex crashes. No longer evict current FB tex. Increased Tex cache to 1.5 MB for GC so that Banjo Kazooie FB effect works. sepp256 2009-10-14 02:40:54 +00:00
  • 7d688e067c Fixed menu gfx after running Earthworm Jim or Rampage 2. General code cleanup. sepp256 2009-10-14 02:40:17 +00:00
  • 24dc8a5a96 Fixed menu gfx after running Earthworm Jim or Rampage 2. General code cleanup. sepp256 2009-10-14 02:40:17 +00:00
  • 2dfb724167 Fixed flashing VI/s & FPS text for Zelda logo screen. sepp256 2009-10-14 02:39:35 +00:00
  • f4c437d3e4 Fixed flashing VI/s & FPS text for Zelda logo screen. sepp256 2009-10-14 02:39:35 +00:00
  • ef863d9cf5 Fixed flipped FB textures. sepp256 2009-10-14 02:38:57 +00:00
  • e20cec10bd Fixed flipped FB textures. sepp256 2009-10-14 02:38:57 +00:00
  • f8752a0bc4 More tweaking to EFB clearing. Fixed crash from FrameBuffer Textures. (Not sure if this fixes OOT menu crash for GC, yet.) Fixed ROM cache loading bar. sepp256 2009-10-14 02:38:30 +00:00
  • 313f818f83 More tweaking to EFB clearing. Fixed crash from FrameBuffer Textures. (Not sure if this fixes OOT menu crash for GC, yet.) Fixed ROM cache loading bar. sepp256 2009-10-14 02:38:30 +00:00
  • c61543fd1c Fixed timers. :) sepp256 2009-10-14 02:37:58 +00:00
  • fd7a2702c1 Fixed timers. :) sepp256 2009-10-14 02:37:58 +00:00
  • e730af5531 Changed EFB clearing to not require a ~200k buffer. Now forcing EFB clear after every Dlist. Copying EFB only when it has been drawn to. Tehpola's branch untested, but should be fine. sepp256 2009-10-14 02:37:38 +00:00
  • 74791a7ecf Changed EFB clearing to not require a ~200k buffer. Now forcing EFB clear after every Dlist. Copying EFB only when it has been drawn to. Tehpola's branch untested, but should be fine. sepp256 2009-10-14 02:37:38 +00:00
  • 890f876055 Interpret jumps/branches whose delay slot lies in the next virtual block tehpola 2009-10-13 21:57:45 +00:00
  • ed05e68a5e Interpret jumps/branches whose delay slot lies in the next virtual block tehpola 2009-10-13 21:57:45 +00:00
  • ebca66e604 Fix FP_need_check stuff: always checks in delay slots to make sure the old and in-place delay slots have the same size. tehpola 2009-10-13 21:47:04 +00:00
  • d778f01e79 Fix FP_need_check stuff: always checks in delay slots to make sure the old and in-place delay slots have the same size. tehpola 2009-10-13 21:47:04 +00:00
  • 170bb09361 dyna_check_cop1_unusable needs to address of the current instruction, not the next one. I now pass the appropriate address when checking FP unavailble. tehpola 2009-10-13 21:41:15 +00:00
  • e480ccf08a dyna_check_cop1_unusable needs to address of the current instruction, not the next one. I now pass the appropriate address when checking FP unavailble. tehpola 2009-10-13 21:41:15 +00:00
  • fc44e8e360 Looks like I was making checking for code overlapping more complicated than it needed to be and possibly not correct. tehpola 2009-10-13 21:39:45 +00:00
  • a0cef48c7d Looks like I was making checking for code overlapping more complicated than it needed to be and possibly not correct. tehpola 2009-10-13 21:39:45 +00:00
  • 3051b3feea Don't call nop_ignored when delay slots aren't compiled because they're not branched to. Thus the delay slot should be NULL in code_addr which will cause it to be recompiled from the delay slot on after wiping out the old code. tehpola 2009-10-13 21:38:45 +00:00
  • b83bb65f67 Don't call nop_ignored when delay slots aren't compiled because they're not branched to. Thus the delay slot should be NULL in code_addr which will cause it to be recompiled from the delay slot on after wiping out the old code. tehpola 2009-10-13 21:38:45 +00:00
  • b149024d43 Changed DMFC1 to behave like MFC1 which actually works (untested). tehpola 2009-10-13 21:38:09 +00:00
  • 4b405cc7c2 Changed DMFC1 to behave like MFC1 which actually works (untested). tehpola 2009-10-13 21:38:09 +00:00
  • aea3dd94ef Framebuffer Tex fixes. EFB clearing rewrite. Scissoring fix. Tehpola's branch untested. sepp256 2009-10-13 21:35:30 +00:00
  • b3cd1e57cf Framebuffer Tex fixes. EFB clearing rewrite. Scissoring fix. Tehpola's branch untested. sepp256 2009-10-13 21:35:30 +00:00
  • 5433a1d0cb 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. sepp256 2009-10-13 21:35:02 +00:00
  • 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. sepp256 2009-10-13 21:35:02 +00:00
  • 5161d49105 Fixed incorrect word-ordering in dmtc1. tehpola 2009-10-13 21:31:25 +00:00
  • d9c5d46ab1 Fixed incorrect word-ordering in dmtc1. tehpola 2009-10-13 21:31:25 +00:00
  • 672fcced5a Fixed saving to SD at least. emukidid 2009-10-13 21:22:09 +00:00
  • 8eb0e3eb8f Fixed saving to SD at least. emukidid 2009-10-13 21:22:09 +00:00
  • 8dc9ded56c Reverting the extra include in the Makefiles. Just move #ifdef <asm.h> to the #ifdef LIBOGC_INTERNAL at the bottom of lwp_heap.h sepp256 2009-10-13 15:32:40 +00:00
  • 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 sepp256 2009-10-13 15:32:40 +00:00
  • db57cd0859 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. sepp256 2009-10-13 15:29:01 +00:00
  • 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. sepp256 2009-10-13 15:29:01 +00:00
  • 576549b70b RecompCache now uses its own __lwp_heap to manage its memory. tehpola 2009-10-13 13:13:52 +00:00
  • d1d93d5444 RecompCache now uses its own __lwp_heap to manage its memory. tehpola 2009-10-13 13:13:52 +00:00
  • e99f8d02fa Recompile delay slots in place only if necessary. tehpola 2009-10-13 13:13:27 +00:00
  • 92b61bbbd9 Recompile delay slots in place only if necessary. tehpola 2009-10-13 13:13:27 +00:00
  • 2837e143d1 If a malloc or realloc fails, free up memory and retry. tehpola 2009-10-13 13:12:45 +00:00
  • 1ccaa38091 If a malloc or realloc fails, free up memory and retry. tehpola 2009-10-13 13:12:45 +00:00
  • 05953301a3 Fixed recompiled load implementation, but there's some obscure bug left in the stores. tehpola 2009-10-13 13:11:41 +00:00
  • 7d2d4ba5d9 Fixed recompiled load implementation, but there's some obscure bug left in the stores. tehpola 2009-10-13 13:11:41 +00:00
  • e3e2aa5333 DVD Fixed up on GC (even for Qoob people like me). emukidid 2009-10-13 12:30:38 +00:00
  • 88fc5612fc DVD Fixed up on GC (even for Qoob people like me). emukidid 2009-10-13 12:30:38 +00:00
  • 66d06ddd24 Initial attempt at recompiling all loads/stores. tehpola 2009-10-13 12:27:10 +00:00
  • 8dd6b14863 Initial attempt at recompiling all loads/stores. tehpola 2009-10-13 12:27:10 +00:00
  • 7a3c1d9343 In retrospect, there's nothing wrong with a shift amount of 0. tehpola 2009-10-13 12:26:49 +00:00
  • 10795e74d6 In retrospect, there's nothing wrong with a shift amount of 0. tehpola 2009-10-13 12:26:49 +00:00
  • ee9e47073a Fix SLL, SRL, and SRA when SA is 0 and rd != rt. tehpola 2009-10-13 12:26:32 +00:00
  • bace968b44 Fix SLL, SRL, and SRA when SA is 0 and rd != rt. tehpola 2009-10-13 12:26:32 +00:00
  • a4d87848f9 Makefile.GLN64_dev fixed to compile with latest Dynarec :) tehpola 2009-10-13 12:26:11 +00:00
  • 00947f0b47 Makefile.GLN64_dev fixed to compile with latest Dynarec :) tehpola 2009-10-13 12:26:11 +00:00
  • f97ff07229 Damn you, meld. tehpola 2009-10-13 12:24:56 +00:00
  • 59bbf221b7 Damn you, meld. tehpola 2009-10-13 12:24:56 +00:00
  • 5304985ef7 Oops. tehpola 2009-10-13 12:23:22 +00:00
  • 863054de0c Oops. tehpola 2009-10-13 12:23:22 +00:00
  • 9407f0801d I forgot to add/delete files. tehpola 2009-10-13 12:22:31 +00:00
  • 23255c234d I forgot to add/delete files. tehpola 2009-10-13 12:22:31 +00:00
  • 1671f33d96 Hopefully porting the entire dynarec to the public trunk code. tehpola 2009-10-13 12:21:43 +00:00
  • af7b8b93a2 Hopefully porting the entire dynarec to the public trunk code. tehpola 2009-10-13 12:21:43 +00:00
  • f8a3fe997a Fixed GC makefile Makefile.GLN64_dev to compile with latest code. tehpola 2009-10-13 05:24:34 +00:00
  • e336380604 Fixed GC makefile Makefile.GLN64_dev to compile with latest code. tehpola 2009-10-13 05:24:34 +00:00
  • e0f18810c3 Made logical instructions operate on 64-bit values. tehpola 2009-10-13 05:22:40 +00:00
  • 21a8ed363c Made logical instructions operate on 64-bit values. tehpola 2009-10-13 05:22:40 +00:00
  • daf605e63e Allowing r11 and r12 to be mapped. tehpola 2009-10-13 05:21:24 +00:00
  • dcc9ace586 Allowing r11 and r12 to be mapped. tehpola 2009-10-13 05:21:24 +00:00
  • eadcef692a Adding timer code that sepp256 forgot. tehpola 2009-10-13 05:20:45 +00:00
  • 70ae904137 Adding timer code that sepp256 forgot. tehpola 2009-10-13 05:20:45 +00:00
  • 706a5cb344 Added new timer code to tehpola's branch. sepp256 2009-10-13 03:31:25 +00:00
  • af6fdb0993 Added new timer code to tehpola's branch. sepp256 2009-10-13 03:31:25 +00:00
  • 2fbb2ded98 Keeping both private SVN branches current with tehpola's PS mtx transformations. sepp256 2009-10-13 03:31:05 +00:00
  • b4904ee47d Keeping both private SVN branches current with tehpola's PS mtx transformations. sepp256 2009-10-13 03:31:05 +00:00
  • cdb525a325 Only perform immediate shifts when shift amount is nonzero and mask variable shifts. tehpola 2009-10-13 00:27:07 +00:00
  • 0ff52ac7a7 Only perform immediate shifts when shift amount is nonzero and mask variable shifts. tehpola 2009-10-13 00:27:07 +00:00
  • 84c9044d4f Only invalidate the function which is being written into in check_memory. tehpola 2009-10-13 00:25:51 +00:00
  • 9658e24d3f Only invalidate the function which is being written into in check_memory. tehpola 2009-10-13 00:25:51 +00:00
  • b004523761 Cleaned up heapDown so that it never accesses out of bound entries (even though it never used them before). tehpola 2009-10-13 00:22:18 +00:00