Commit Graph

551 Commits

Author SHA1 Message Date
zilmar 9eceed0fef #pull request 42 2015-02-01 06:27:27 +11:00
Emmet Young 64e9135d19 [!]Fix peculiar issue where save states would not save instantly when using "Save as", and in some cases not save at all.
Fix this by making an event call instead.
2015-01-31 23:52:35 +11:00
Emmet Young d8918f3b1b [!] Add plugin base files to vcxproj 2015-01-31 23:51:24 +11:00
LegendOfDragoon 1741623482 Fixed some mistakes in GetInstructionInfo
Not only were certain instructions missing, but also some were in the
wrong place or had the wrong attributes.

Also VSUB needed to be added to IsNextInstructionMmx.
2015-01-31 04:35:43 -08:00
project64 15e389cbe2 Merge pull request #26 from LegendOfDragoon/master
Improve Recompiler Analysis for Vector Destination and Accumulators
2015-01-31 18:10:04 +11:00
project64 0f58c6ccaa Merge pull request #43 from project64/PluginBase
Implement @Twostars derived based plugin system, cleans up alot of…
2015-01-31 17:00:48 +11:00
Nicholas 7858337cb6 Add plugin base to project 2015-01-31 08:17:17 +11:00
Nicholas 1c91769c12 Create Plugin base to share functionality 2015-01-31 08:01:21 +11:00
unknown b9d1eb4f38 #include <stdio.h> to fix VS2010 build, as this header uses the API. 2015-01-29 10:46:42 -05:00
unknown d5d981a256 Explicitly disable /DYNAMICBASEADDRESS for Debug builds. 2015-01-29 10:20:00 -05:00
zilmar 8e715efe44 Cleaned up some warnings in the rsp 2015-01-29 19:57:13 +11:00
project64 abca1bd56f Merge pull request #30 from cxd4/master
fixed 17 compiler warnings about RSP "nameless struct/union" cases
2015-01-29 14:45:54 +11:00
Nicholas 862eb7c48b Add support for Visual Studio 2013 2015-01-27 16:07:44 +11:00
zilmar f8b26bbdfb Change AiCountPerBytes from 500 to 400 2015-01-26 15:05:02 +11:00
Nicholas a9f8dd461f [!]Fix a mistake made in the RTC implementation, was incorrectly 2015-01-26 14:58:53 +11:00
Nicholas ba6c04c6f0 Fix up Start Emulation causing Project 64 to crash out, g_BaseSystem 2015-01-26 14:52:55 +11:00
Nicholas b76a151dd3 Merge branch 'master' of https://github.com/project64/project64 2015-01-26 14:45:36 +11:00
Nicholas 8c1852afa0 handle pal system frequency better 2015-01-26 14:43:37 +11:00
unknown 5877daf7b3 isolated, nameless union in struct SHUFFLE, named union SHUFFLE 2015-01-25 14:22:18 -05:00
unknown 22f13e1739 offset operates w/ base; immediate operates w/ rs (fixes nothing) 2015-01-25 14:07:48 -05:00
unknown 66850bf553 isolated, nameless union in struct OPCODE, named union OPCODE
There were no other members of struct `tagOPCODE` besides one nameless union, so, to fix some nameless union compiler warnings, I deleted struct tagOPCODE and named the nameless union, union tagOPCODE.  Since "OpCode.h" is #include'd 9 times across the RSP source, technically this commit fixes 9 warning messages, even though it's really just 1 warning.
2015-01-25 13:58:12 -05:00
LegendOfDragoon ab30871f57 Improve Vector Destination Analysis
Some functions weren't implemented and others were implemented
incorrectly. There are more potential optimizations to implement for the
analysis.
2015-01-24 18:33:34 -08:00
LegendOfDragoon e8ad2bbc5e Add more instructions to Accumulator analysis
Some of these typos confused me when I enabled Show Compiler Errors.
2015-01-24 15:39:54 -08:00
Fanatic-64 776b157423 Change VI Refresh back to 1500
Fixes speed on most games
2015-01-24 17:15:18 -06:00
unknown 5f9605ec04 Merge branch 'master' of https://github.com/project64/project64 2015-01-24 16:23:10 -05:00
unknown fd564c802a RSP recompiler cheating expects a RSP function address: p_func. 2015-01-24 16:21:39 -05:00
Nicholas 1e1249903d Fix re order instructions for quake II with lle graphics 2015-01-25 08:07:38 +11:00
unknown 87aa0faf17 removed old explicit type casts (now calling strict func addr arrays) 2015-01-24 16:01:50 -05:00
unknown 587dbbb3ff func pointers stored in arrays of func pointers (fixes 720 warnings) 2015-01-24 15:39:18 -05:00
Nicholas cb9d25fc5a Deprecate `Indx` functional LUT on loop count in RSP interpreter by cxd4 2015-01-24 13:17:31 +11:00
Nicholas a43207f52b RSP: cheat for unaligned LH, LLE gfx in f-zero X and wave race 2015-01-23 23:10:20 +11:00
Nicholas 53b86e559c add code for edge case in DSRLV for cbfd 2015-01-23 22:21:34 +11:00
project64 db22be7762 Merge pull request #9 from LegendOfDragoon/master
Corrected some mistakes I made in LDV and SQV

I have not done any real testing with this, I assume if it behaves badly it should be easily detectable
2015-01-23 15:07:34 +11:00
project64 83c82c6370 Merge pull request #10 from cxd4/master
Prefer warning level 3 for GlideHQ and NRage v2.3 projects.
2015-01-23 14:36:31 +11:00
Nicholas b5a78153a4 turn fixed audio timing default to off 2015-01-23 12:10:34 +11:00
unknown a046128e37 Merge branch 'master' of https://github.com/project64/project64 2015-01-22 19:40:02 -05:00
unknown 96b63057c1 suppressing a few strict level compiler warnings for N-Rage 2015-01-22 19:37:43 -05:00
unknown 65df1f1da4 suppressing over 368 monotonous GlideHQ compiler warnings 2015-01-22 19:37:00 -05:00
Nicholas 7de6792283 Update wtl to 8.1 2015-01-23 11:32:27 +11:00
LegendOfDragoon 55fc2a6255 Correct 2 mistakes I made in SQV in RSP recompiler
It may be true that this SQV edge case only seems to happen when
isRegConst = true, I forgot to account for the possibility that GPR
Constant Analysis could be disabled.

I also just noticed that I goofed with the non-sse shuffling ;/ . The
registers weren't in order.
2015-01-22 14:53:16 -08:00
LegendOfDragoon 448b0ed6be Correct a mistake I made in LDV in RSP recompiler
I totally forgot that LDV handles elements differently than SDV. I added
a fallback to deal with unusual elements and added an alert to notify
that it exists in a particular game. I removed the & 0xF since that's
not needed. My previous change caused Stunt Racer 64 to have audio
issues. It should now be fixed.
2015-01-22 14:05:34 -08:00
Nicholas 2dd4e99ed6 Fix a couple games in RSP interpreter: CFC2 sign-extends $vcr by cxd4 2015-01-23 07:47:23 +11:00
Nicholas a9f7fdf4d6 Merge branch 'master' of https://github.com/project64/project64 2015-01-22 16:51:34 +11:00
Nicholas 0bd9a467a1 Add the memory search functionality back in 2015-01-22 16:50:20 +11:00
zilmar 47b1456c8d Update installer to have new ad in it 2015-01-16 10:58:00 +11:00
LegendOfDragoon 479b201ddc Implement edge case for LDV, fix 2 typos as well.
For LDV, it's the same deal as SDV. In WDC, RSPOpC.del could = 12, which
would result in a negative number when doing 16 - RSPOpC,del - 8.
2015-01-14 01:48:47 -08:00
LegendOfDragoon 5df4a806b4 Optimized a few instructions
Optimized VOR for games like Perfect Dark
Implemented VNAND, VNOR, and VNXOR for recompiler
Minor change in SQV
2015-01-12 14:19:41 -08:00
LegendOfDragoon 1cb03b4120 Matched RSP interpreter more closely
I have only seen the edgecase for SQV happen when
IsRegConst(RSPOpC.base) == TRUE. Changing SQV fixed Telefoot / Mia Ham.

I optimized VAND, for games like Kirby64.
2015-01-12 11:43:07 -08:00
LegendOfDragoon 02fe2e7241 More Fixes
The possibility of the RSP instruction at address 0xFFC being JR was
never accounted for. This fixes Wave Race and Star Wars - Shadow of the
Empire.

The accumulator analysis was wrong, which broke games like Mario No
Photopie.
2015-01-11 19:49:04 -08:00
LegendOfDragoon 43c6017ddb Improve Accuracy
Fixing SW allows a lot more games to work. Fixing LW fixes games like
WDC and improves performance somehow. Fixing VMRG fixes certain bugs,
like Kirby 64's intro.
2015-01-11 19:35:43 -08:00
zilmar a201d219ea Remove ads 2014-02-09 20:16:28 +11:00
zilmar baa0fff54a Installer: 2.1 2013-05-01 13:35:17 +10:00
zilmar e58fc5ab78 nRage: Add ability to compile version 2.3c 2013-04-30 15:56:41 +10:00
zilmar ad85ec3f05 Project64: Fix bug - Loading RSP plugin selection per game. 2013-04-30 13:43:22 +10:00
zilmar a85e5aa50a Sort Rdb: Add utility to sort the rdb entries by good name 2013-04-30 08:52:24 +10:00
zilmar c318d37e52 Project64: 2.1.0.1 2013-04-28 16:23:51 +10:00
zilmar 5998612f20 Glide64: 2.0.0.1 2013-04-28 16:23:36 +10:00
zilmar 97a53f760c Project64: 2.1.0.1 2013-04-28 16:07:47 +10:00
zilmar 462d86b04f Glide64: 2.0.0.1 2013-04-28 16:07:27 +10:00
zilmar 6ca28ebe82 Glide64: Be able to get texture directory form emulator 2013-04-28 15:49:14 +10:00
mudlord ba4610be61 fixed unitialized glide functions.
- rigged up color combiners
- rigged up texture buffer (hwfbe)
- rigged up wrapper settings
2013-04-27 19:17:15 +10:00
zilmar 6bfa7de536 Project64: 2.1.0.0 2013-04-26 20:17:33 +10:00
zilmar f2cfea497d Glide64: 2.0.0.0 2013-04-26 20:14:20 +10:00
zilmar 801f1581bc Project64: Add LL and SC to Analyze Instruction 2013-04-26 20:08:59 +10:00
zilmar 814018c78f Project64: Initialize eeprom to 0xFF instead of 0x00 2013-04-26 20:06:01 +10:00
zilmar 87f96afeee GlideHQ: fix up to not use boost 2013-04-26 19:31:09 +10:00
zilmar ab4c9cca94 Common: Make ini file case insensitive 2013-04-24 17:08:35 +10:00
zilmar 1c65f79e90 Glide64: Change settings to go through the emu 2013-04-24 15:03:21 +10:00
zilmar 5aedb4c5d6 Glide64: Add version number in to name, also fix some warnings. 2013-04-22 11:11:55 +10:00
zilmar 11966425c5 Glide64: Strip language 2013-04-22 07:55:58 +10:00
zilmar e0b0f0d681 Glide64: Add version info 2013-04-22 07:53:08 +10:00
zilmar 11c7373b3a Glitch64: Fix up warnings related to warning level 4 2013-04-22 07:35:30 +10:00
zilmar 8f16f58311 Glide64: Update to make asm more closer to original code 2013-04-20 12:14:46 +10:00
zilmar 6b433a4ad3 GlideHQ: Update project settings related to release 2013-04-17 21:17:56 +10:00
zilmar beb0ce0208 Glitch64: Update project settings 2013-04-17 20:35:01 +10:00
zilmar b805bbb883 Project64: Update the code related to changes in stdstr 2013-04-17 20:34:20 +10:00
zilmar 5c8b6fd2e2 3rd Party: Update project settings 2013-04-17 20:33:18 +10:00
zilmar 4cbd5c538d Glide64: Redo the asm for textures 2013-04-17 20:32:38 +10:00
zilmar e928a5995d GlideHQ: Add 2013-04-17 20:30:38 +10:00
zilmar 9e9fdc25bc Common: Update std string class 2013-04-17 20:29:48 +10:00
zilmar 727f730f79 Project64: In FixDir check if directory exists before trying to create it 2013-04-15 13:52:34 +10:00
zilmar d6a148696c Glitch64: Update some code to reduce warning on level 4 2013-04-15 13:51:39 +10:00
zilmar dcf9762fb2 CPath: If create dir, and testing if can change in it, revert to previous current dir 2013-04-15 13:48:06 +10:00
zilmar 72471d1eeb Glide64: remove looking up glide dll 2013-04-13 06:27:15 +10:00
zilmar 33b1a48093 Glide64: Update output name 2013-04-11 12:11:32 +10:00
zilmar e549c4b08e Glide64: fix up some issues related to warnings with Visual Studio 2013-04-11 12:08:59 +10:00
zilmar 8746daa1e4 Glitch64: Do not re-init opengl 2013-04-11 12:07:42 +10:00
zilmar d5dd94a4d7 Merge branch 'master' of http://www.pj64-emu.com:8090/project64.development 2013-04-11 12:06:28 +10:00
zilmar e399273dbd wxWidgets: change wxRGBToColour to not use the macro (fix small type warning) 2013-04-11 11:32:07 +10:00
zilmar 7055c1bad9 Recompiler: ignore 0x0407000D as an opcode in analysis 2013-04-11 11:16:27 +10:00
zilmar 688cdf6f10 Glitch64: Fix up project file 2013-04-10 20:41:32 +10:00
zilmar 4d45d46270 Glitch64: Add raw code to project 2013-04-10 17:08:48 +10:00
zilmar e015346578 Glide64: Now able to compile 2013-04-09 22:02:27 +10:00
zilmar 6d1519faeb wxWidgets: Update for release build 2013-04-09 20:18:12 +10:00
zilmar 0108ab1296 WxWidgets: Add library for glide 2013-04-07 21:35:04 +10:00
zilmar 7527d11350 3rd Party: Added glide SDK 2013-04-07 19:23:46 +10:00
zilmar 5d4340d2e5 Add Glide64 plugin 2013-04-05 08:22:19 +11:00
Emmet Young 1abb082eef If debugger isn't enabled but where still attempting to start the sync cores, reset to recompiler to stop people from accidentally launching sync cores. 2013-04-01 13:25:51 +11:00
Emmet Young 81433e7529 Stop the "About INI Files" from crashing when no language was actually loaded in. (Certain ID's were never properly set to anything) 2013-04-01 03:10:54 +11:00
zilmar f1705174b3 Project64: 2.0.0.14 2013-03-27 05:45:52 +11:00
zilmar 8db1ff697d Recompiler: Fix some warnings related to DWORD overflow 2013-03-26 22:28:49 +11:00
zilmar 4ae369ab81 Loop Analysis: SLTU and SLT marks register as changed 2013-03-26 22:18:53 +11:00
zilmar c823815cc1 Installer: Fix issue with showing multiple offers 2013-03-24 06:16:04 +11:00
zilmar 84e27c8607 Project64: 2.0.0.13 2013-03-22 21:02:26 +11:00
zilmar 48d8925a80 Project64: Clean up external release to be beta release 2013-03-22 16:47:20 +11:00
zilmar f41cdf8989 Recompiler: Fix delay slot section with exceptions 2013-03-22 16:45:32 +11:00
zilmar f825b21de5 Installer: Update Installation scrip to have ads 2013-03-22 16:43:43 +11:00
zilmar 7937d356d9 Installer: Add base installer project 2013-03-14 06:41:04 +11:00
zilmar 7b70ba0da3 Recompiler: Fix up protection of op in DADDU 2013-03-12 18:40:50 +11:00
zilmar 2d1e5f03cc Project64: 2.0.0.12 2013-03-09 08:40:21 +11:00
zilmar 784dcacad6 Recompiler: Fix bug in 64bit AND operation 2013-03-09 07:55:36 +11:00
zilmar 283cf565c0 Memory: Fix read from rom with constant LW 2013-03-09 06:31:26 +11:00
zilmar 627f9de997 RSP: 1.7.0.9 2013-02-20 05:46:35 +11:00
zilmar d51bd38c11 Project64: 2.0.0.11 2013-02-20 05:45:08 +11:00
zilmar fc908b7b7d RSP: Fix some delay slot warnings 2013-02-20 05:39:47 +11:00
zilmar dd537b518c Porject64: Implement Recompiler LL and SC 2013-02-20 05:31:10 +11:00
zilmar c8394fb473 RSP: 1.7.0.8 2013-02-13 07:10:16 +11:00
zilmar 4df8a2803a Project64: 2.0.0.10 2013-02-13 07:09:53 +11:00
zilmar 6936cd9800 Settings: Update to allow the use of cfg and rdb file for a game setting 2013-02-13 07:01:46 +11:00
zilmar 1ff9338e4c RSP: Fix clean up log files 2013-02-11 19:29:14 +11:00
zilmar f5290c7895 RSP: JumpTableSize and RomOpen 2013-02-11 19:28:49 +11:00
zilmar 14352768ae RSP: add RomOpen and JumpTableSize Setting 2013-02-11 19:27:49 +11:00
zilmar 229be28668 Plugin: Add rom open and clean up rsp plugin handling 2013-02-11 19:27:00 +11:00
zilmar 05e4f22dcf ResetMemoryStackPos: Allow stack pointer to be in tlb space 2013-02-11 19:25:11 +11:00
zilmar 990b9ddb55 Memory: Clean up some breakpoint warnings 2013-02-11 19:24:18 +11:00
zilmar d09f0e6c8e Recompiler: More syncing for sync core 2013-02-05 20:14:26 +11:00
zilmar 5a9cb5f768 Recompiler: Make sure break ends a block 2013-02-05 06:23:10 +11:00
zilmar d7a692a943 Recompiler: Ignore on target -1 2013-02-05 06:22:18 +11:00
zilmar 044c669f24 Recompipler: Fix D.CMP.UN 2013-02-03 21:05:58 +11:00
zilmar 2fb824fcd5 Loop: Set STLI and SLITU to mark the op as modified 2013-02-03 21:05:18 +11:00
zilmar 9c03f2ce5a Timer: Update counters on updating wired registers 2013-02-03 11:51:56 +11:00
zilmar 8e2ea1f674 Loop Analysis: Fix up some breakpoint warnings 2013-02-03 11:51:13 +11:00
zilmar 4b2aa5a09f Project64: 2.0.0.9 2013-02-03 11:50:29 +11:00
zilmar 663b784555 RSP: 1.7.0.7 2013-01-30 06:09:45 +11:00
zilmar ad22fe90fe RSP: Fix bug in RSP MF 2013-01-30 06:08:57 +11:00
zilmar 0838eef358 RSP: 1.7.0.6 2013-01-29 22:33:02 +11:00
zilmar 36def4094a RSP: Can exit after jump from MT/MF Cop 0 2013-01-29 22:29:50 +11:00
zilmar 38ec949a6e RSP: Fix & 0xFF debug warning 2013-01-29 22:27:58 +11:00
zilmar 8b41656bad RSP: Move logs to log folder 2013-01-29 22:27:13 +11:00
zilmar 2c78b14b47 RSP: Add delay slot done 2013-01-29 21:45:45 +11:00
zilmar a05ff4f3c2 RSP: For Analysis, add flag ops and MF CP 0 2013-01-29 21:44:59 +11:00
zilmar 6d39bb2246 RSP: Add Single step to Interpreter 2013-01-29 21:43:10 +11:00
zilmar e814eb967b Recompiler: deal with edge condition of Normal_NoSysCheck 2013-01-29 21:42:15 +11:00
zilmar 4fe5d2e224 r4k: Record RSP Broke 2013-01-29 21:41:32 +11:00
zilmar f346378a41 Common: rename InternalFormat to ArgFormat 2013-01-29 21:40:35 +11:00
zilmar a1ac10fc42 Recompiler: tweaked protect register and DSLL values 2013-01-28 19:37:59 +11:00
zilmar cb3568395c Memory: Force write to SP_STATUS to go through SW_NonMemory 2013-01-28 19:36:14 +11:00
zilmar b847a1ed15 Project 64: 2.0.0.8 2013-01-26 09:59:28 +11:00
zilmar d48705f87e Memory: Handle LW SP, 0xXXX (SP) 2013-01-26 09:37:33 +11:00
zilmar c522a03901 RSP: 1.7.0.5 2013-01-26 09:36:47 +11:00