Commit Graph

427 Commits

Author SHA1 Message Date
adelikat ebbee62730 Atari 2600 debugger - slight refactoring of some things, fix step into, add total cycles, last address and distinct addresses 2014-05-27 01:33:22 +00:00
adelikat e68e691e3c Atari 2600 Debugger - implement Step Into button 2014-05-26 19:38:02 +00:00
adelikat 363b3bdd3b Atari 2600 Debuger - Add breakpoints 2014-05-26 18:23:58 +00:00
adelikat ba5551d29b smartly hande the text property on the Gb/GG game genie dialog (only show one of the cores not a slash) 2014-05-26 12:34:52 +00:00
adelikat 0782c9820d Lua - implement event.onexit() - fires when the calling script stops execution, supports multiple callbacks per script 2014-05-26 03:08:16 +00:00
adelikat 4086eee72d Load Rom - actually pass in the deterministic emulation flag, and change the logic so that the client derives determinstic emulation (currently just if a movie is active), but can be passed in an override if calling code wanted to. 2014-05-24 22:06:08 +00:00
adelikat 5ebc0f5428 Lua Console F1 hotkey assigned to Lua Functions list 2014-05-24 16:54:00 +00:00
adelikat 8dc56b312e Lua Function List dialog - add a filter box 2014-05-24 13:19:24 +00:00
adelikat ce6cd2ec5f rip out the lua writer dialog and deeming it a failed experiment. Lua Console - re-implement the new script dialog so that it calls a save file dialog, and if the user picks a file it creates a new lua script with a minimal while loop, and then invokes a new process with this newly created file for quick editing 2014-05-24 01:59:59 +00:00
adelikat a89efe9c27 Lua - make form windows have a start position of "Center Parent" 2014-05-22 01:03:18 +00:00
adelikat b406146ae4 Fix "watch file" to "Lua script file" in save dialog on Lua Writer. To do: delete lua writer 2014-05-21 13:18:54 +00:00
adelikat e88b7cc93e one more tweak to make lua library constructors unified 2014-05-21 01:15:52 +00:00
adelikat 17568997bf Lua - unify constructors and have all libraries receive a lua context and an output callback, simplify some convolved registration code 2014-05-21 00:17:35 +00:00
adelikat 6401e6d719 Refactor LuaLibraryBase to have a Lua context rather than misc libraries being in charge of that when needed. Still todo: clean up the inconsistent constructor logic, vs setting these as public properties 2014-05-20 20:34:51 +00:00
adelikat f19d15d1ed Lua - add a Log callback to the LuaLibraryBase class instead of having misc libraries have to build out this behavior when they need it 2014-05-20 20:25:18 +00:00
adelikat 94b9761b31 Trace Logger - apply the new line hack done for clipboard to the save to file option 2014-05-20 18:38:25 +00:00
adelikat 4ee4088c4c read/write byte range functions - range check, and log warnings if user attempts to access outside the domain range, rather than throw a vague lua exception and crash 2014-05-19 01:42:41 +00:00
adelikat 059952f0a4 Change memory.getmemorydomainlist() to return a lua table instead of a string 2014-05-19 01:06:44 +00:00
adelikat 3d10d67fea Implement bizstring.split() 2014-05-18 21:06:16 +00:00
adelikat b4deb97587 Remove the same bogus logic that was in the mnemonic system for parasing analog input, this time in another bogus place bogusly copy/pasted and equally bogus logic, fixes N64 virtualpad playback behavior 2014-05-18 00:40:32 +00:00
adelikat d33a545605 Virtual Pads - Fix out of range exception when virtual pad is open, a movie is playing, and the movie goes into finished mode 2014-05-18 00:09:01 +00:00
adelikat 1895e15ea5 Create StatusStripEx similar to MenuStripEx and ToolStripEx to allow click through, and replace all our status bars with it 2014-05-17 00:42:28 +00:00
adelikat f88640fddb N64 VirtualPad - when a movie is active show the previous frame's line on the analog control 2014-05-16 13:40:21 +00:00
adelikat 55b4dcd53c gui.text - remove hacks that attempt use window size. Better logic is to be pure client space, and let gui.drawText do anything else 2014-05-14 23:44:46 +00:00
adelikat d5c2271c55 Toolbox - don't show nes debugger in non-interim 2014-05-12 20:58:34 +00:00
adelikat fd5c40d3f4 Virtual Pads - support Dual Gameboy pads, don't allow the switching of multiplayer unless the system has mutliplayer 2014-05-11 23:30:49 +00:00
adelikat 1e48111092 Virtual Pad - ability to toggle between single player and multiplayer and remember the setting in the config 2014-05-11 23:08:34 +00:00
adelikat abac70d592 VirtualPad - some code cleanup on last commit 2014-05-11 22:32:16 +00:00
adelikat 0abaeebb9d Virtual Pads - fix Updating when movie is playing, and by removing a lot more code than I wrote 2014-05-11 22:27:20 +00:00
adelikat 360c05c2c8 Dual GB XML Creator - if file already exists, ask before overwriting 2014-05-11 19:00:44 +00:00
adelikat edb90839d0 Dual GB XML Creator - a "Use Current Rom for all" button for the uberlazy 2014-05-11 18:53:32 +00:00
adelikat 5abd6f8387 Remove save button, no point in it compared to save and run, Use current Rom button should only be enabled on Gameboy core! 2014-05-11 18:34:20 +00:00
adelikat 77e1d31217 Dual GB xml creator - add a "Save and Run" button 2014-05-11 18:30:00 +00:00
adelikat 5430c395d0 Dual GB XML Creator - add a "Current Rom" button that is enabled when possible 2014-05-11 18:13:32 +00:00
adelikat cfb8b463c3 Icons for some gameboy dialogs 2014-05-11 17:48:17 +00:00
adelikat 14799b5450 DualGBXMLCreator - move from config to tools folder 2014-05-11 16:49:45 +00:00
adelikat 653fb0ff38 Ram Watch - set the CurrentFileName property during LoadFile, fixes some subtle bugs that resulted from a loaded watch with an empty name 2014-05-11 12:09:41 +00:00
adelikat d9ec48bb49 VirtualPads - move "Add Controller" to being a menu item instead of a clickable sub menu cuz that's weird. And change its name to "Multiplayer mode" as that is more specific to what it is doing (it adds all controllers beyond player 1, not just another one) 2014-05-08 20:46:32 +00:00
xmikecampx7 ae655b9dbc Added back default Max/Min values for N64 VirtualPad, so that it properly loads without the need to set Max/Min. 2014-05-08 17:40:01 +00:00
zeromus d1fab20576 nes ppu viewer: update labels without requiring mouse movement while processing periodical graphical update (hover over a sprite and watch the parameters change in realtime) 2014-05-08 04:59:45 +00:00
adelikat ff51a948f6 Trace Logger - make sure there isn't an extra line between instructions when copy/pasting 2014-05-06 17:53:21 +00:00
adelikat 81a841057c Ram Watch - convert message label into a Status bar with a error icon with similar functionality as ram search 2014-05-04 16:01:46 +00:00
adelikat e5b3138d15 Ram Watch, Ram Search - don't crash on out of range addresses (such as when the user leaves ram watch open and changes cores), highlight out of range addresses and warn user. On Ram Search - give the option to remove these addresses from the list. 2014-05-04 15:30:18 +00:00
adelikat c432fab579 Fix Ram Watch on screen display I broke some commits back 2014-05-04 14:22:11 +00:00
adelikat 0b6795fffc Some misc cleanup of redundant qualifiers 2014-05-04 14:10:28 +00:00
adelikat 650607cfd7 Put Lua FrameBefore and FrameAfter event firing into the event loop instead of tools, so that it isn't bypassed when turboing. Probably works, couldn't test. 2014-05-03 11:59:11 +00:00
gochaism 0a9039fc60 Set SystemIcons.Application to Lua form icon. 2014-05-02 00:44:14 +00:00
gochaism 3fd9113f0d Disable maximize/resize of Lua forms, since user cannot do anything on resize anyway. 2014-05-02 00:38:48 +00:00
gochaism a84b4126f2 Lua: Make console.log(...) a little more prettier. 2014-05-01 00:25:14 +00:00
adelikat 9d7c92fb6e Oops 2014-04-29 21:25:17 +00:00
adelikat 8f35b29a5c Remove extra newline in console.log/print 2014-04-29 20:39:19 +00:00
gochaism 38a0a3593e Lua: Update print and console.log to take variable arguments. 2014-04-29 05:07:43 +00:00
adelikat 8c1c034090 Lua - make Print() be an alias of console.log() 2014-04-29 01:24:06 +00:00
zeromus c450351801 add tooltip for lua console erase button 2014-04-27 17:49:25 +00:00
xmikecampx7 b5c0be3f7f Added Min/Max ranges for N64.
Added the option to add more controllers.
2014-04-27 17:38:30 +00:00
adelikat bbf7c43b6d Rip out the Alert font from OSD Manager since it wasn't being used for anything useful anymore, Ram Watch on screen display - show frozen addresses in a cyan color instead of red to be consistent with the rest of the system 2014-04-27 13:01:10 +00:00
adelikat 4fc81991d7 Save cheats even if the cheat dialog was never opened (for instance, if the cheat were added via a game genie dialog or lua) 2014-04-26 17:28:43 +00:00
adelikat f3766249bf Fix Ram Watch on screen display that I broke in the last ram watch related commit 2014-04-26 14:51:33 +00:00
adelikat edf2e2e4a7 Watch Value box - fix behavior of pressing up/down on signed values, was wrapping from 0 to max value, now it goes to -1, and on min value it wraps to max value (and vice versa) 2014-04-26 00:01:00 +00:00
adelikat c657678555 some code cleanup on WatchValueBox before I do some fixes 2014-04-25 23:47:34 +00:00
adelikat 8952e61067 Fix issue 157 2014-04-25 20:29:18 +00:00
adelikat d11bec528e Fix Ram Watch to update after instead of before, to be consistent with Hex Editor and Ram Search 2014-04-25 20:02:57 +00:00
adelikat 67704b35bf Lua Console - dont' flag changes when change the on/off status of a script as that leads to being nagged too much (for instance, toggling a lua script at any time during recording and then restarting your movie). Remember the file name when creating a new session as to do a Save As during AskSave() 2014-04-22 21:35:04 +00:00
adelikat 603fd81066 Lua - implement movie.fps() and add MovieTimer.lua script that shows the clock time for a given movie (updates while recording) 2014-04-22 21:27:08 +00:00
adelikat edfc5d303f NES Game Genie Encoder/Decoder - allow special command (like copy and paste), and the backspace button 2014-04-22 14:58:58 +00:00
adelikat b87e0fb3c0 Atari 2600 Debugger - insignificant progress 2014-04-21 19:59:21 +00:00
adelikat 6139da29cf Atari 2600 debugger - wire up autoload and other tool options, fix up closing event and properly disable ask save 2014-04-20 16:19:08 +00:00
adelikat 54203c00b9 Atari 2600 - Debugger - add trace logging, and show some stats: scanline, vsync, vblank 2014-04-20 01:19:33 +00:00
adelikat 7d5db039c0 Those debugger UI files were a bad idea or at least premature 2014-04-20 00:37:43 +00:00
adelikat a61ff53d9c Change IEmulator.GetCpuFlagsAndRegisters() to a Dictionary, fix a warning, throw NotImplemented exceptions in cores that don't implement this method rather than returning an empty list. Start Debugger UI User Controls 2014-04-19 22:23:13 +00:00
adelikat 1669fd7755 Start an Atari 2600 debugger dialog 2014-04-19 19:01:13 +00:00
zeromus 7adc15d97e work on opengl display manager: optimized codepaths, user retroshader selection, support for importing a textureID from another core; add erase button to lua console; 2014-04-15 21:46:18 +00:00
adelikat f8522c6986 Genesis Tile Viewer - same stuff as other tile viewers 2014-04-13 22:08:46 +00:00
adelikat d3012fe4b6 PCE Tile Viewer - save screenshot file menu items, autoload and other tool options, add to toolbox 2014-04-13 20:33:01 +00:00
adelikat 471a2f5cf0 SMS - Vdp Viewer - save screenshot to file menu items 2014-04-13 20:13:22 +00:00
adelikat 66d64f816c Add Sms Vdp Viewer to toolbox 2014-04-13 19:51:38 +00:00
adelikat d3b84c6c5c SMS VDP Viewer - icon, autoload, misc tool settings 2014-04-13 19:44:08 +00:00
adelikat 6adde23553 Lua - also fix client.frameskip() 2014-04-13 18:39:46 +00:00
adelikat f589a91479 Lua - fix client.setwindowsize() and client.speedmode() 2014-04-13 18:35:27 +00:00
adelikat 0550fef67f PCD CDL - remove todo 2014-04-13 16:38:56 +00:00
adelikat 9c3a7fec37 Lua - add a gameinfo lua library with getromname(), getromhash(), getdisplaytype(), getindatabase(), getstatus(), getisstatusbad(), getboardtype(), and getoptions() methods 2014-04-13 14:22:13 +00:00
adelikat fd42606cc0 N64 Virtual Pad - only tab stops on analog boxes 2014-04-13 13:14:00 +00:00
adelikat 12dc22de18 PCE CDL - center parent, add to toolbox 2014-04-13 12:52:36 +00:00
adelikat 8a6585aceb CD CDL - drag and drop, implement save menu item, prevent some more nags 2014-04-13 12:40:30 +00:00
adelikat e67c329aad PCE CDL - remember window position and size, restore defaults, make Open and Save file dialogs look pretty, don't enable save as menu item if no cdl started since it nags you if you choose it 2014-04-13 12:22:53 +00:00
adelikat aaeb2c9cdd PCE CDL - some cleanups like icons and shortcut keys on menus, Recent menu, autoload, other misc tool options 2014-04-13 01:05:23 +00:00
adelikat 7f37535cd5 PCE Icon for PCE tool dialogs 2014-04-13 00:09:16 +00:00
adelikat e4c7110174 Hex Editor - fix issue 150 - exceptions thrown when freezing multi-byte addresses 2014-04-11 16:45:05 +00:00
adelikat 11f055a1e7 Use the RecentRom.MostRecent property more, instead of index 0 2014-04-06 20:46:23 +00:00
adelikat 6e23df6472 Hex Editor - lots of fixes to Path and filename selection in OpenFile and SaveFile dialogs 2014-03-26 00:34:43 +00:00
adelikat e8c0c21c7c Hex Editor - fix a very annoying bug when using File on Disk that was caused by a very annoying thing, ugh 2014-03-24 02:25:26 +00:00
adelikat a8aa121ecd Hex Editor - support table files in the find box when searching for text strings 2014-03-23 23:47:20 +00:00
adelikat 7541dba798 Hex Editor - add a Close Table file menu item, enabled only when a table file has been loaded 2014-03-23 22:47:28 +00:00
adelikat b95a0b648c Hex Editor - support loading of Text translation table files (.tbl) including Recent menu and autoload options 2014-03-23 20:27:20 +00:00
adelikat 2581dccd90 Hex Editor - fix Find Prev and close Find box when Prev or Next is clicked 2014-03-23 19:55:56 +00:00
adelikat 2d87eeab70 Hex Editor - fix weird focusing bug when using the Find box, goofy winforms 2014-03-23 18:29:32 +00:00
adelikat 5559024757 Lua - Rip out gui.alert() and refactor/simplify things as a result 2014-03-23 17:39:07 +00:00
adelikat 54363e4da1 Lua - fix gui.drawText() (and gui.drawString) 2014-03-23 17:24:06 +00:00
adelikat 1226603697 Lua - Fix gui.Alert() to at least work. However, in trunk the alert font was gimped into regular font with the opengl change, and this is probably for the best. Will remove this lua feature and alert font code in a later commit 2014-03-23 17:12:25 +00:00
adelikat 555c9dfb45 Ram Watch - fix bug where it asks you to save changes, but if this is a fresh unsaved list it ignores the Yes button and closes 2014-03-23 16:58:54 +00:00