Commit Graph

111 Commits

Author SHA1 Message Date
adelikat 2bc68b99c7 Hex Editor - fix Load .tbl file menu item when rom is in an archive 2015-02-22 03:36:54 +00:00
adelikat dba610d5d7 Hex Find - focus and highlight on load 2015-01-31 01:25:08 +00:00
adelikat 29a6c7369b Hex Find - even more simple 2015-01-31 01:23:03 +00:00
adelikat 8b48bd3e26 Hex Find - simplify some code 2015-01-31 01:16:41 +00:00
adelikat 4a39b5a619 Hex Editor - if a domain is not writable, switch to a "read only" mode 2015-01-25 15:42:07 +00:00
adelikat d200c1be38 HexEditor.cs - fix line endings 2015-01-25 13:24:18 +00:00
zeromus 3a8fcec1bf HexEditor: add a bit of a hacky n64 matrix viewer test code to context menu 2015-01-22 01:15:06 +00:00
zeromus c445dcf183 HexFind: respond to escape key 2015-01-22 01:14:49 +00:00
goyuken af451143bf a bit of memory domain cleanup 2015-01-21 17:36:22 +00:00
adelikat 5462e16b91 Hex Editor - fix a bunch more int to long conversions 2015-01-19 02:42:58 +00:00
adelikat 1c6d6f57bc Hex Editor - better location for the poke dialog, don't attempt to highlight non-visible addresses (fixes some bad drawing when highlighting and scrolling) 2015-01-19 01:49:56 +00:00
adelikat ebf7273cbe Hex Editor - open poke dialog in a logical location, update the hex editor when Poke is clicked on the Poke pop up dialog 2015-01-19 01:39:47 +00:00
adelikat 0620246ef4 Hex Editor - fix highlighting of addresses greater than 7FFFFFFF in 32 bit domains 2015-01-18 20:15:03 +00:00
adelikat 515a41592c Convert a whole bunch of ram stuff from int to long 2015-01-18 18:59:23 +00:00
adelikat 89b3c31872 Hex Editor - more long conversion, highlighting will now work until the scrollbar value itself overflows 2015-01-18 18:13:38 +00:00
adelikat 6507fa5d92 Hex Editor - convert addresses from int to long, fixes Go to address on 32bit domains, highlighting on addresses after 7FFFFFFF is still busted though 2015-01-18 18:01:27 +00:00
adelikat 27d30df0cf Rip out the MemoryDomain.Size hack, and fix up the hex editor. Hex editor now works for N64 System bus, but will very much fail as soon as we have a domain greater than 32 bits 2015-01-18 16:00:20 +00:00
adelikat 91ffc17aae Refacotor MemoryDomain.Size to be long instead of int, still some small todos, but it compiles and seems to work 2015-01-18 15:25:47 +00:00
adelikat fbdb29b64c refactor IMemorydomains to be a domain list instead of having a domain property, refactor cores to register an IMemoryDomains instead of being one 2015-01-14 21:55:48 +00:00
adelikat 9c8bb5ff1f Hex Editor - remove some bad code, still plenty to be found in here, but this should be better at least 2015-01-14 00:08:20 +00:00
adelikat d62ba4e2b4 Change IMemoryDomains to have an IMemoryDomainList instead of a MemoryDomainList, this is an incremental step into eventually having IMemoryDomains take over the properties of IMemoryDomainList, still todo: reduce the amount of needed functionality in IMemoryDomainList from old and not good code 2015-01-13 22:18:07 +00:00
adelikat dbdc92e7e2 Hex Editor - remove some unsused code 2015-01-01 17:53:21 +00:00
adelikat 54b7a1c50f Convert Hex Editor to IToolFormAutoConfig and [ConfigPersist] 2015-01-01 14:54:26 +00:00
adelikat 8a13733f9b Hex Editor - don't use a ram search config setting (good ol copy pasta) 2015-01-01 01:25:36 +00:00
adelikat 84c6c94df0 Hex Editor - remove a usage of Global.Emulator 2014-12-17 03:57:07 +00:00
adelikat ffe3be09a4 Remove some now useless logic in the Restart() method of some tools (checking IsHandleCreated and IsDisposed) 2014-12-17 03:48:08 +00:00
goyuken 1504f8d441 itoolform remove spurious restart calls 2014-12-17 03:35:57 +00:00
goyuken 215e155b47 fix recent hex editor regression (would not load) 2014-12-17 02:44:49 +00:00
goyuken 7b580e7dca tim the tool form taylor 2014-12-15 03:19:23 +00:00
adelikat 8eda262ebe convert Ram Watch and Hex Editor to use EmulatorServices 2014-12-13 22:54:07 +00:00
scepheo 769cbeb1a0 - IToolForm: Added RequiredServices attribute to define dependencies, and added EmulatorServices for ToolManager to supply them.
- IServiceProvider, BasicServiceProvider: Added compile-time unknown type versions of GetService and HasService.
- ToolManager: Added IsAvailable to test whether all dependencies for a tool are available.
2014-12-13 21:54:59 +00:00
adelikat 39f145d58b Hex Editor don't check for Null Emulator, tool should not be able to be opened anyway in this situation 2014-11-30 18:22:44 +00:00
adelikat 4681fef0c2 Add an IsNull() extension method to IEmulator (checks for null and if NullEmulator) and replace EmuHawk NullEmulator checks with this method instead 2014-11-30 14:18:44 +00:00
goyuken b21cfdd927 ward off possible bugs 2014-11-29 19:36:11 +00:00
zeromus 7fea5f8543 fix problems with stale memorydomains in hex editor. fixes issue #262 2014-09-13 20:37:14 +00:00
scepheo b076603a1e HexEditor highlighting now works mostly correctly. 2014-09-13 16:18:36 +00:00
scepheo dceb292618 Attempting to fix the HexEditor interface, take 2. 2014-09-13 15:39:18 +00:00
scepheo 2c4bb6044e Attempt to fix the HexEditor highlight code. 2014-09-13 14:50:58 +00:00
adelikat de09aadc0e Hex Editor - dirty hack to prevent scrollbar value from being -1, why is it being -1 in the first place? meh 2014-09-13 13:50:29 +00:00
zeromus c36667ddb5 hexeditor: support 32bit systembus domain. only lightly tested. 2014-09-11 21:55:38 +00:00
zeromus 87e9d235f6 make some effort to support memdomain of full 32bits size, and use it for n64 system bus. make sure to check that its disabled in ramsearch engine and in hex editor. we could probably fix it to work in hex editor later. 2014-09-09 21:34:41 +00:00
adelikat 5ba74c631c Remove MemoryDomains from IEmulator into a new Interface, IMemoryDomains, Add this interface to existing cores, except null emulator (and removed memory domain related code from it). Refactored EmuHawk for ram tools to use an instance of IMemoryDomains rather than IEmulator, don't expose ram tools unless the core implements IMemoryDomains. Still a few misc todos, and probably some cleanup 2014-09-01 18:43:41 +00:00
kylelyk 321c8c64bf Added documentation to IControlMainForm, renamed a few variables, moved IControlMainForm related code in MainForm to the same region. 2014-08-19 19:24:17 +00:00
adelikat 0fd05b4800 HexEditor -> Hex Editor 2014-08-16 03:53:50 +00:00
adelikat aeea08a823 Cleanup the InputPrompt class, removing unused methods, and converting some silly methods into properties allowing some pretty array initializers instead of function calls 2014-07-28 02:40:30 +00:00
adelikat 5d4ff76ed6 Convert a copy/pasted method in a bunch of tool dialogs to an extension method 2014-07-28 02:31:51 +00:00
adelikat ce4ce0bacc Convert some static methods in ToolHelpers to extension methods 2014-07-28 01:51:11 +00:00
adelikat b0b057ef2c When opening the hex editor from another dialog, open it in the same byte size 2014-07-28 01:24:57 +00:00
adelikat 60000af4c9 Hex Editor - tweak background drawing of frozen addresses when the display size doesn't match the cheat size 2014-07-28 01:01:32 +00:00
adelikat ef14f661c0 Hex Editor - properly handle (and not throw exceptions) the display of cheat values in a byte size not equal to the cheat byte size 2014-07-28 00:49:48 +00:00