Commit Graph

186 Commits

Author SHA1 Message Date
adelikat 7f86f58605 Ram search - on showing the number of addresses, use commas 2013-08-14 00:30:08 +00:00
adelikat 625f9c2fcd Rip out old path system and replace with new 2013-08-11 21:48:17 +00:00
adelikat 91a13bf8f4 Misc Code refactoring, no functional changes 2013-07-16 01:59:59 +00:00
adelikat cbb35fc3ce Ram Search - introduce "Fast Mode" in order to support large domains such as for N64. In fast mode, the previous value will be defined as last search (or original value), and change counts will not be incremented but the previous value/change counts will not be processed saving huge amounts of processing. 2013-06-30 21:50:17 +00:00
adelikat e1212c75e3 Ram Search - clear undo history when starting a new search, and add a Clear Undo History menu item 2013-06-30 20:10:52 +00:00
pasky1382 23d71a3b87 Commented out unworking code for disc.DetectSegaSaturn() in MainForm.cs
Added 'Always On Top' option to settings in hex editor/tas studio/ram search
2013-06-25 08:50:42 +00:00
adelikat be2937fdec Code refactoring of Tools files - no functional changes other than some very tiny speedups and null checks 2013-04-14 23:56:45 +00:00
adelikat 34b0d8a272 Watch object code refactoring - no functional changes 2013-03-17 21:07:03 +00:00
adelikat 65ddac05bc Ram Search - support Ctrl+C copy to clipboard 2013-03-17 15:45:01 +00:00
adelikat 5dc8733ae1 Some code refactoring, no functional changes 2013-03-10 22:42:54 +00:00
adelikat c316fba5ff RamSearch - infinite undo/redo levels 2013-02-25 01:23:03 +00:00
adelikat 09da012d94 Path Manager - change MakeAbsolutePath to take a default system parameter rather than requiring a useless empty parameter, and change all references to it accordingly 2012-12-30 17:52:40 +00:00
adelikat 1a4962b8c8 Fix Hex boxes in various dialogs to allow ctrl+C/A/V, such as game genie, cheats, ram watch/search, etc 2012-09-26 02:46:13 +00:00
adelikat 5d4703f71f If changing the status of a cheat in Cheats,Hex Editor, Ram Watch, Ram Search, update the other dialogs too if they are open 2012-09-23 15:37:25 +00:00
adelikat c3c3fd6c20 Ram Search - add Unfreeze All context menu item, conditional upon there being at least one cheat in the system. Also, show an OSD message when removing all cheats 2012-09-23 15:09:29 +00:00
adelikat 076b1e9508 Ram Search - if highlighting multiple frozen addresses, show the unfreeze option in the context menu, redraw on freeze/unfreeze to update the coloring of the row(s) 2012-09-23 14:51:54 +00:00
andres.delikat 4bb0b87830 Ram Search - fix greater than previous value search 2012-09-21 13:32:09 +00:00
adelikat a9bd436b23 Ram Search/Ram Watch - when selecting "View in Hex Editor" pass the memory domain to the Hex Editor 2012-09-19 00:52:40 +00:00
adelikat 2de8e3c346 Ram Watch/Search/Poke - use Watch objects internal domain value, this commit doesn't add functionatility yet (may have even broke something), but will lead to eventually being able to watch multiple domains at once, and some ram search optimizations 2012-09-04 00:33:47 +00:00
adelikat 1f454af2c3 Refactoring of Watch object and related tools, add domain into Watch object. No functionality changes in this commit 2012-09-03 23:42:00 +00:00
adelikat d8393a5a71 Ram Search - move auto-load menu item to options menu instead of recent, since it only autoloads the dialog, not a file 2012-09-02 18:33:59 +00:00
adelikat f519fa0e2d Ram Search - fix Truncate from file, and exclude ram watch 2012-09-02 03:05:48 +00:00
adelikat 1f128aeda4 Ram Search - small speedup on UpdateValues 2012-09-02 01:52:16 +00:00
adelikat 5179710c82 Ram Search - fix undo 2012-09-02 01:21:57 +00:00
adelikat d6f3c05ecd Ram Search - fix broken searching, also some code cleanup 2012-09-02 01:05:08 +00:00
adelikat ff84855f2a Ram Search - another speed up - prevent recoloring the background unless it has changed 2012-08-29 02:58:22 +00:00
andres.delikat 0e02fd7ee4 Ram Watch - major speed up of the preview feature especially with large memory domains, got a 30fps boost on gens system bus. THere is still a lot of code to clean up as a result, and I touched everything about the search feature so there may be regressions in this commit. 2012-08-29 01:42:04 +00:00
adelikat 694f2aaae6 Ram Search - very slight optimization 2012-08-20 00:22:57 +00:00
adelikat 0ed2ec1be9 Ram Watch - oops, fixed last commit better 2012-08-15 01:14:25 +00:00
brandman211 646a6c1c58 -Fixed my GetMnemonic crash fix. It's "Null Controller", not "NULL Controller".
-Made it so that each new search zeroes out the change count.
--This prevents all non-zero items from starting out with 1 change.
--A similar fix needs to be applied to Ram Watch (Filing issue...).
-Allowed changing data size, endian, and unaligned address setting in the middle of the search and maintaining valid values, fixing Issue 72 (The last open Ram Search issue until my "Difference" idea is hopefully accepted).
--Unlike my previous model, this does not align unaligned addresses; all it does is change the size / endian and PeekAddress.
--It does remove unaligned addresses, however, if you have it set to.
--This version converts System Bus instantly whereas the previous version stopped responding.
2012-06-10 04:32:25 +00:00
brandman211 2580489986 Refactored previous parameter in CompareTo and ComparePrevious from strings to enums. 2012-06-09 22:10:39 +00:00
brandman211 1c5a5a5ac3 Seemingly fixed the casting problem.
-UGLY REDUNDANT UGLY REDUNT UGLY REDUNDANT (Especially for DoSpecificValue() and DoPreviousValue()).
-I tested every possible scenario for the aforementioned abomination and it seems to work.
-I applied SignedVal and UnsignedVal to the comparison functions for sorting, the ToString functions, and specific value and previous weedings. I don't think there's any other places where this is an issue.

TODO:
-Try my mid-search data size conversion code again.
--Use it on System Bus and see if it is as slow (Not Responding) as it was previously now that 3 lists have been removed.
--Try allowing unaligned addresses and see if that makes any difference.
-Convince adelikat that moving "Prev value as change" to its own data item and column ("Differences" seems more appropriate) is the only sensible way.
-Maybe move all of the previous definitions from Ram Search to Ram Watch (With the exception of "Since last Search" of course.
-Perhaps allow the viewing / hiding of more columns on Ram Watch / Search.
2012-06-09 08:29:31 +00:00
brandman211 06d4017b07 Unsigned / signed conversion for the Specific Value now works for word / dword.
-Well, dword is broken in general because of casting, which will hopefully be fixed soon...
2012-06-09 06:52:04 +00:00
brandman211 720193b50f -Cleared the sorted column whenever the previous definition, data size, data type, or endian changes because these options might place the values out of order.
--Well, data size and endian don't, but they will once these changes take effect in the middle of a search.
-Previous can now be defined as the last change, fixing the enhancement shown in Issue 73 (Ram Watch equivalent might come later).
-Fixed unsigned sort.
2012-06-09 06:40:11 +00:00
adelikat f02d28fb38 Ram Search/Watch, Hex Editor - improve some code efficiency, tiny speedups if any 2012-06-09 05:34:01 +00:00
brandman211 3b54bd268a -Useful refactoring!
--prevList, undoPrevList, and redoPrevList removed. All of the definitions for previous are now stored in separate data items.
---Should yield small speed increases.
---Makes it easier to port these definitions to Ram Watch eventually.
---Auto-aligns data, making it impossible for issues, such as the original values not aligning with the correct values because the prevList wasn't recreated, impossible.
---Makes it possible for the field to automatically update when the definition is changed (Implemented).
--Value/PrevToString() now use the same code.
--Reduces redundancy.
---This was a problem as PrevToString wasn't taking into account the data type, whereas Value was. This is now fixed.
-Watch now stores the data for the "last change" previous definition. Now I just have to set up the option in the GUI.
2012-06-09 01:56:56 +00:00
brandman211 eefb41f0b3 -Added message saying that the data type has been converted when you change the data type.
-Moved the "Included mis-aligned" box to data size where it should be.
2012-06-08 18:59:20 +00:00
brandman211 e5972f1368 Fixed Issue 44. I created two new lists, undoPrevList and redoPrevList which are updated / restored in the same places as their counterparts with prevList instead of searchList. 2012-06-08 06:23:33 +00:00
brandman211 3aaf57802c Fixed Issue 43. In hindsight, the problem was very obvious: "Since last frame" uses searchList while the other options use prevList, and only the former ever got sorted! 2012-06-08 05:15:07 +00:00
brandman211 4a6fed75d9 ConvertListDataType now converts all of the lists. 2012-06-08 02:25:24 +00:00
brandman211 67a9f86c78 -Fixed GetSpecificValue(), which means that signed searching works now.
-Upon changing data type, the contents of the specific value box converts accordingly.
2012-06-07 23:17:22 +00:00
brandman211 38d22b8549 Exlude => Exclude. >_< 2012-06-07 20:24:29 +00:00
adelikat c8d07a5078 Ram Watch/Search - add System ID to .wch files 2012-06-07 03:16:25 +00:00
adelikat 393dd9dcfe Ram Watch/Search, Hex Editor - set endian based on the endianness of the memory domain by default 2012-06-02 21:48:09 +00:00
adelikat a74fbb84fe Fix Ram Poke for Ram Watch/Search dialogs 2012-06-02 21:07:29 +00:00
adelikat 2e5547806d Ram Search - add View In Hex Editor menu item to the context menu 2012-06-02 14:38:35 +00:00
adelikat c7ec2aed6c NES Nametableviewer - Screenshot to clipboard option 2012-03-09 19:07:16 +00:00
taotao54321 3017dacdf1 SetMemoryDomain() called StartNewSearch(), so fixed it
It broke LoadSearchFile()
2012-03-09 18:50:26 +00:00
andres.delikat 31a85ab785 Ram Poke - pass in a memory domain and poke addresses in that domain instead of defaulting to main memory. Format address & value numbers in output message appropriately 2011-09-17 15:04:08 +00:00
andres.delikat 3e8a7e61c2 Ram Search - Redo menu item, slight tweaks to search menu items 2011-09-16 23:44:39 +00:00