Commit Graph

509 Commits

Author SHA1 Message Date
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
taotao54321 9716387b2f HexEditor: set defaultWidth/Height at loading, not in constructor 2012-03-09 17:14:39 +00:00
taotao54321 389693e6f4 HexEditor: member Width, Height hide the original property Width, Height. So renamed to Width_, Height_ 2012-03-09 16:37:55 +00:00
taotao54321 0e2341b37f Sometimes HexEditor forgot the settings, so fixed it
And refactored loading/saving settings
2012-03-09 16:13:40 +00:00
adelikat 2dd03cbf03 Hex Editor - dynamically add unfreeze option to the menu item as well. 2012-03-09 01:50:39 +00:00
adelikat 502e395be0 Hex Editor - some hotkeys - A for Add to Ram Watch, Del for unfreeze, Shift+Del for unfreeze all 2012-03-09 01:43:52 +00:00
adelikat 5376186eb0 Hex Editor - Context menu - if address if frozen, show an unfreeze menu item instead of freeze 2012-03-09 01:33:55 +00:00
adelikat f0de9366ec Hex Editor - space bar toggles an address as frozen/unfrozen 2012-03-09 01:24:46 +00:00
adelikat f48de28581 Hex Editor - + and - buttons now increment/decrement the value of a selected address (added context menu items as well) 2012-03-08 18:33:57 +00:00
adelikat bd7c9e3309 Lua Console - implemented open lua script toolstrip icon 2012-03-05 14:27:29 +00:00
zeromus dec7183e73 fix bug in ramwatch signed value printing, and probably unsigned 32bit value printing as well 2012-03-04 21:46:54 +00:00
brandman211 91ea63c09e -Made the errorMsg in ImportFile display.
--Moved the command message in ImportText to this.
-Converted ImportVBM to use a MnemonicsGenerator.
--This should work, but I can't test as I still don't know for sure as the import fails and displays "Not a valid VBM platform type."
--I iterated through the buttons using a list and left-shifting. I applied this method to ConvertMMV, which works.

TODO:
-Comment MovieImport.cs.
-Fix the exception that is thrown for Gameboy games.
-Get ImportVBM to actually work, scanning through the input to see if it seems sane.
-Figure out why pressing Pause on GameGear results in a "P" instead of a "p", and whether or not this is a factor in runs syncing.
2012-02-24 04:44:40 +00:00
andres.delikat 8e241067e6 Lua - hook up savestate library and implement saveslot() and loadslot() methods 2012-02-03 12:18:27 +00:00
kylethomson ca1114311c Kill the lua thread as part of closing. 2012-01-29 03:22:05 +00:00
andres.delikat c7cc0ee203 lua - implement memory.getcurrentmemorydomain(), memory.getmemorydomainlist(), memory.usememorydomain() 2012-01-28 22:30:04 +00:00
andres.delikat 2e0ac111ab Proper checking if lua is running when doing thread waiting/set 2012-01-28 22:00:51 +00:00
andres.delikat 0082876510 LuaConsole - protect WriteToOutputWindow() and ClearOutputWindow() in case lua console is closed when called. Close the lua object on LuaConsole close (fixes some crashes). 2012-01-28 21:51:01 +00:00
andres.delikat 7ac7f335f9 send FromCuePath a default CueBinPref object to make it compile. Todo: feed it a correct value?? 2012-01-22 23:56:49 +00:00
kylethomson 16ec704e41 Added Frameadvance with threading. Can't test, because CueFromPath is broken. 2012-01-22 23:44:53 +00:00
andres.delikat abf0698e43 oops 2012-01-22 23:07:50 +00:00
andres.delikat d4260e22b1 Lua Console - hook up recent lua menu items, and start lua session file loading 2012-01-22 23:03:43 +00:00
andres.delikat defbe971c4 Lua - open/close rom, open tool dialogs, fix memory_readbyte to read from a selected memory domain instead of hardcoded main memory (with main memory as the default), small fix ups to lua console 2012-01-22 22:42:40 +00:00
andres.delikat 78cc4d5cae Lua - started a client library for functions that control the multiclient. Added client.openramwatch() as a proof of concept. 2012-01-22 22:20:09 +00:00
andres.delikat 48c651cfc7 Lua Console - lua functions list menu item. Lua - console.clear, console.getluafunctionslist, emu.getsystemid 2012-01-22 03:14:31 +00:00
andres.delikat 95a769aa0c Lua console - minor gui fixups 2012-01-21 20:38:43 +00:00
andres.delikat 955cee21b6 Lua console - hook up lua file loading! Lua library - Added a console library with an implemented console.output(), registered all lua libraries, implemented movie.stop, movie.rerecords, movie.mode 2012-01-21 20:05:53 +00:00
andres.delikat ed02a2e951 Lua Console - another round of dialog fix ups 2012-01-11 02:29:50 +00:00
andres.delikat 3e2e657dcf Lua Window - various dialog fix ups like toggle, storing recent files, drag & drop 2012-01-10 03:12:01 +00:00
andres.delikat d6a57e08c1 Toolbox - reload icons on rom open/close so that core dependent tools update. 2012-01-10 02:11:17 +00:00
andres.delikat c871eedbbc Debugger icon, add to gameboy debugger menu item, add gameboy debugger to toolbox (conditional on gb emulation) 2012-01-10 02:02:11 +00:00
andres.delikat ee440f140f Lua Console - hook up autoload, fix hotkey and toolbox to open lua console (not the old lua window dialog). Add TAStudio to the toolbox dialog. 2012-01-10 01:30:17 +00:00
andres.delikat 823edd2f67 store lag frame information into movies. Have TAStudio highlight lag frames in pink. Currently only hooked up for the NES core. 2012-01-08 23:51:53 +00:00
andres.delikat 9cbe8626f3 Ram poke - Implement memory domain selection, on memory domain selection set addressbox length, reset address & value. Hex Editor - when show frozen addresses, check that addresses is in the selected memory domain. Cheat Window - update memory domain selection when clicking a cheat list item 2011-09-17 16:39:43 +00:00
andres.delikat 321a45722e Hex Editor - use Ram Poke dialog for the Poke address function. Ram Watch - Successfully stop/start sound on ram poke 2011-09-17 15:35:39 +00:00
andres.delikat 7141ed0fa4 Ram Poke - limit number of digits in value field on load and on data size change, fix bug where signed & unsigned parsing was swapped 2011-09-17 15:17:00 +00:00
andres.delikat 3614708e83 Ram Poke - show memory domain in text property, format address and value text boxes on load 2011-09-17 15:10:58 +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 a3c500193f Ram Poke - show "0x" next to value when value type is hex, for clarity, make that check on load 2011-09-17 14:38:21 +00:00
andres.delikat 3e8a7e61c2 Ram Search - Redo menu item, slight tweaks to search menu items 2011-09-16 23:44:39 +00:00
andres.delikat 94aca60998 Cheat Window/Ram Search/Ram Watch - switch key up events to key down, add Ctrl+A select all to cheat window & ram watch 2011-09-16 23:29:36 +00:00
andres.delikat 665c9c5fbd Ram Search - search list - Ctrl + A hotkey for selecting all values 2011-09-14 23:57:28 +00:00
andres.delikat 7cfdad7bd0 Ram Search - Implement redo button. Enable/Disable Undo & Redo buttons when applicable 2011-09-14 23:36:36 +00:00
andres.delikat 49fb822bec Hex Editor - ctrl+p = poke address, better formatting of the address display in the poke address pop up 2011-09-13 00:35:40 +00:00
andres.delikat 08fcaede91 Slight tweak to rendering of on screen ram watch, display separator watches as ---- 2011-09-13 00:29:54 +00:00
andres.delikat 6f1baed4de TAStudio - disable unimplemented menu items when not in interim mode 2011-09-13 00:04:33 +00:00
andres.delikat 0022b60b4f Watch object - update the PeekAddress() function to update the prev and changecount values. Fix Ram Search and Ram Watch UpdateValues() functions based on this change 2011-09-12 23:36:27 +00:00
andres.delikat 33a8d1ee0c Ram Search - refactor QueryItemText to use the new built in ToString methods of the Watch object 2011-09-12 23:29:04 +00:00
andres.delikat ffc28123b3 Hex Editor + Ram Search - Stop sound on modal dialog calls 2011-09-12 23:21:39 +00:00
andres.delikat 368f201dbe Ram Watch - stop & start sound on several functions that call modal dialogs 2011-09-12 23:14:57 +00:00
andres.delikat c8e0043713 Ram Watch - a "Display on Screen" menu option 2011-09-12 23:08:42 +00:00
andres.delikat 73add14d28 Watch object - add ValueToString() and PrevToString() methods and make Ram Watch use these methods and thus simplify the UpdateValues logic. Added an override for ToString() that displays notes + value in preparation for a on screen ram watch option. 2011-09-12 00:17:17 +00:00
andres.delikat 5ed4a36fd6 Trade out Poke icon with a nicer one (with a larger image size than 16x16) 2011-09-11 01:39:26 +00:00
andres.delikat 21d396f9bc Fix minimum size on all winforms, also set max size where appropriate, fixed anchoring & resizing issues, and other misc. display cleanup 2011-09-11 01:01:40 +00:00
andres.delikat 79e5a399f7 Toolbox - resize slightly, set minimum size, change bg color of toolstrip, make ti83 keypad visible only if ti83 is loaded 2011-09-10 21:48:27 +00:00
andres.delikat 4f98fdb60d Ram Watch - adding a watch from an external dialog flags changes 2011-09-10 21:37:03 +00:00
andres.delikat e3d9706e9e Ram Watch - update values when editing, removing, and duplicating a watch, and whenever a value is added to the watch by an external dialog 2011-09-10 21:16:29 +00:00
andres.delikat b977ca94e9 Ram Search - Fix crash bug when user would click Save and then cancel the save dialog 2011-09-10 21:06:50 +00:00
andres.delikat b0235e08f0 Ram Watch - fix crash when using the save icon on a new watch file with changes 2011-09-10 18:09:21 +00:00
andres.delikat e889520744 Hex Editor - use filesystem safe name generation for default file name on Dump to File 2011-09-10 13:51:26 +00:00
andres.delikat a84f881c5c Movies - Remove UserMovie and change all references to it to Global.MovieSession.Movie, fix error in CheckTime Line logic, read-only savestates should now work 2011-09-03 18:07:30 +00:00
andres.delikat a731504e5b TAStudio - fix typo in Restart() that was causing the listview to get wrecked 2011-08-30 00:26:14 +00:00
andres.delikat 1f3a315926 NES Nametableviewer & NESPPU viewer were running their updatevalues code when closed. Fixing that gave a few fps boost to the nes core when those dialogs are not open! 2011-08-27 14:56:17 +00:00
andres.delikat 8dff368bcc misc code cleanup on some tool dialogs 2011-08-27 14:49:13 +00:00
andres.delikat 5e9f90eea9 Ram Search - big speed up in QueryItemBkColor by only checking for column == 0, apparently it was causing a redraw for each column instead of just once, setting column == 0 still colors the entire row. Also removed the "x addresses would be removed" message when in preview mode as it isn't worth a 1 fps cost imo. Also applied the column == 0 fix to Ram Watch though that will have a significantly smaller speed boost. 2011-08-27 13:56:06 +00:00
andres.delikat c7e8e7ece1 Ram Watch/Ram Search - small speed optimization to the QueryItemText functions 2011-08-27 13:20:02 +00:00
andres.delikat 18a6b21deb Oops 2011-08-27 04:36:45 +00:00
andres.delikat 293b7133c5 Slight Dialog performance tweaks 2011-08-27 04:32:54 +00:00
andres.delikat 82630e62b5 Hex Editor - Hook up mouse wheel 2011-08-26 00:20:42 +00:00
andres.delikat e866055581 Hex Editor - fix problems with highlight display 2011-08-25 23:58:16 +00:00
andres.delikat 172205a86e Hex Editor - Display address highlighted 2011-08-25 23:49:13 +00:00
andres.delikat dea2afd513 Hex Editor - very slight optimziing of GenerateMemoryViewString 2011-08-25 17:05:51 +00:00
andres.delikat 8d7c745e56 Show nibbles when hex editing, fix auto move to next address on 2 byte view, update values on load 2011-08-25 02:23:12 +00:00
andres.delikat d8bdf4c646 Hex Editor - show frozen addresses 2011-08-25 02:08:05 +00:00
andres.delikat 4017e8a068 Hex Editor - fix hex editing of 4 byte values, added a Unfreeze All menu/context menu item 2011-08-25 01:49:22 +00:00
andres.delikat 550261b831 Hex Editor - Fix Endian display on 2 & 4 byte view, fix freezing of multibyte values, fix adding to ram watch of multibyte values, fix ram watch to run UpdateValues when an external dialog adds a value 2011-08-25 01:22:03 +00:00
andres.delikat ce5bf31ec1 Hex Editor - save DataSize and BigEndian in the config 2011-08-25 00:55:46 +00:00
andres.delikat efd8fe5410 Fix Poke Value context menu item and allow it to poke 2 byte values (4 byte still todo) 2011-08-24 22:26:17 +00:00
andres.delikat be80761f26 Hex Editor - update values on Endian Toggle, fix resizing logic of dialog 2011-08-24 16:56:38 +00:00
andres.delikat c2d5f5c733 Hex Editor - mostly working address editing in 2 byte view 2011-08-24 02:48:52 +00:00
andres.delikat c712e58b4d Hex Editor - restore Ctrl+G hotkey, fix key events, fix 2 & 4 byte view issues, restore address editing 2011-08-24 02:31:45 +00:00
andres.delikat f11b3a3e2a Hex Editor - misc cleanups 2011-08-23 23:48:22 +00:00
andres.delikat c8f8735ec3 Hex Editor - Oops, don't refresh on mouse move 2011-08-23 22:48:21 +00:00
andres.delikat d391777d50 Hex Editor - fix calculation for rows visible 2011-08-23 22:44:23 +00:00
andres.delikat 98ec3bf2a2 Hex Editor - restore mouse & key events & context menu, fix addresss highlighting logic 2011-08-23 22:22:24 +00:00
andres.delikat 3cc1606921 Hex Eidtor - restore mouse ever & click events, drawing positions are rather off however, will need to tweak 2011-08-23 01:43:19 +00:00
andres.delikat bf2cad8b15 Hex Editor - more restoring of commented code from the removal of MemoryViewer 2011-08-22 16:42:32 +00:00
andres.delikat 20e0ffc8b8 Hex Editor - make address label transparent so that highlighting effects will happen on the group box behind it, make GenerateMemoryViewString a value returning function, hook back up resizing event 2011-08-22 16:34:47 +00:00
andres.delikat d7bc642161 Hex Editor - complete refactoring, no longer uses the MemoryViewer object, instead it uses a regular groupbox and a label that contains the memory viewing contents. At the default size (16 rows in view) there is barely any perceived slowdown (about a 10fps boost) on my system. Still some todo's for restoring functionality (such as mouse events) 2011-08-22 02:48:12 +00:00
andres.delikat 92a75042db Hex Editor / MemoryViewer - remove info label widget and draw the info directly in the paint event 2011-08-21 23:59:42 +00:00
andres.delikat 6cc75ae98e Hex Editor - fix bug that was causing it to draw 1 row beyond the memory domain if scroll bar was maxed 2011-08-21 23:42:12 +00:00
andres.delikat cdb79b2143 More Hexeditor Speed optimizatons - don't calculate number of address digits 60 times a second, do it on data size change, add domain name to stringbuilder instead of its own draw method, tighten up drawing area 2011-08-21 23:34:33 +00:00
andres.delikat 680fd8a6e0 Hex Editor - Some speed optimizations: don't set the Header string 60 times a second, instead setting whenever the data size changes. Also add it to the stringbuilder instead of drawing it seperately 2011-08-21 23:05:45 +00:00
andres.delikat 9ccb33a191 2011-08-21 22:26:02 +00:00
andres.delikat f22e9fb60d Memory Viewer & VirtualListView - ControlStyles.OptimziedDoubleBuffer seems to be a small speedup compared to ControlStyles.DoubleBuffer 2011-08-21 20:28:22 +00:00
andres.delikat b6424aa1b7 Ram Search - ~1fps speedup by removing DIsplaySearchList from DoPreview. Preview would never change the number of addresses so this function was wasteful 2011-08-21 12:37:29 +00:00
andres.delikat 27478a5feb Ram Watch - restart function reloads the existing watch file (if any) else starts a new one. The annoying consequence of this is that restarting a movie will wipe any unsaved changes, but I don't see a way around that currently. 2011-08-20 15:41:33 +00:00
andres.delikat 40512ae558 Ram Watch/Search - refresh on form activate 2011-08-20 15:35:16 +00:00
andres.delikat 2c057a3d1f Ram Search - refresh listview on its focus event, only turn on blazing fast option if > 8 addresses (8 being semi-arbituary) 2011-08-20 13:39:44 +00:00
andres.delikat e462ba80e5 Ram Search - fix toolstrip location 2011-08-20 13:30:57 +00:00