Commit Graph

321 Commits

Author SHA1 Message Date
Matthew Budd 59d726230d Added logic for Qt PPU Viewer scanline entry box. 2020-10-04 23:38:10 -04:00
Matthew Budd b19c86bc10 Minor display updates to Qt PPU viewer. 2020-10-04 23:23:27 -04:00
Matthew Budd 202bbc0b15 Added logic to fill out PPU selected tile label 2020-10-04 22:44:30 -04:00
Matthew Budd ec6a6e06e7 Added logic to display sprite 8x16 on Qt PPU viewer 2020-10-04 22:07:33 -04:00
Matthew Budd ccb8b63282 Re-organized Qt PPU viewer to have each pattern table in its own frame. 2020-10-04 20:36:33 -04:00
Matthew Budd fa55d6024b Added PPU Viewer control widgets to window. Still TODO, write logic. 2020-10-04 19:17:11 -04:00
Matthew Budd cf2b43f31a First successful viewing of pattern and palatte colors on Qt PPU Viewer. 2020-10-04 09:54:51 -04:00
Matthew Budd c21041e26e Setup initial menu options and window open for Qt GUI PPU Viewer. 2020-10-03 11:46:14 -04:00
Matthew Budd 896a979689 Added logic to auto open log file dialog window if file logging is checked and a start logging event occurs. 2020-10-02 22:14:00 -04:00
Matthew Budd af35f81f4f More logic updates for Qt trace logger window. Added log to file feature. 2020-10-02 21:44:47 -04:00
mjbudd77 022abb880a Added lines skipped logic for trace logger new code/data functionality. 2020-10-02 16:54:29 -04:00
mjbudd77 5bf2b65378 Added logic to display running trace log in Qt window viewport 2020-10-02 16:47:36 -04:00
Matthew Budd 0b3d377e18 Changed trace instruction logger to be more efficient. 2020-10-01 07:04:52 -04:00
Matthew Budd 2524667d12 Enabled trace instruction function. Still TODO, try to make it more efficient. 2020-10-01 06:14:35 -04:00
Matthew Budd 08da8fd76e Trace logger custom widget setup in work. 2020-09-30 22:44:56 -04:00
Matthew Budd 9da84e16ca More setup of Qt Trace Logger window. 2020-09-30 22:21:18 -04:00
Matthew Budd c288c60c68 Added initial window layout for trace logger. 2020-09-30 20:56:50 -04:00
Matthew Budd de2fd3eef3 Added Qt hex editor logic to color ROM bytes from CD Logger data. 2020-09-28 23:40:13 -04:00
Matthew Budd 92007f8467 Added CDL generated ROM functionality. 2020-09-28 22:18:25 -04:00
Matthew Budd 63933a1821 Added CDL File load/save logic. 2020-09-28 21:51:14 -04:00
Matthew Budd 445b17104a Successful initial test of Qt Code/Data Logger Window. 2020-09-28 21:23:47 -04:00
Matthew Budd 086d523566 Added initial code data logger window layout for Qt GUI. 2020-09-27 10:59:24 -04:00
mjbudd77 7003f6c01a Added code to load/save debugger bookmarks in game specific debug files. 2020-09-24 06:10:48 -04:00
Matthew Budd a4b45fc252 Added symbolic debug popup window capability to hex editor. 2020-09-20 22:00:48 -04:00
Matthew Budd 97784ec09b Added quick breakpoint add via hex editor context menu. 2020-09-20 21:40:31 -04:00
Matthew Budd a458f7526b Added logic to update hex editor title with view mode and selected address included in text. 2020-09-20 21:03:41 -04:00
Matthew Budd c2ca5dc9d8 Added initial functions for hex editor quick access from debugger. 2020-09-20 17:01:40 -04:00
Matthew Budd 3099a233c3 Added debugger bookmark add/edit via ASM view context menu. 2020-09-20 16:37:41 -04:00
Matthew Budd 39a0f24445 More debugger bookmarking logic added. 2020-09-20 14:31:21 -04:00
Matthew Budd a882125224 Added logic to add,edit, and delete debugger bookmarks 2020-09-20 14:14:59 -04:00
Matthew Budd abd4089cbb Added logic to highlight ASM view selected line. 2020-09-19 14:38:10 -04:00
Matthew Budd 59e4ca1ff9 Added logic to init IDA font checkbox to checked and keep unselectable. I am forcing the font in the Qt debugger assembly view to be a monospace Courier New. For now I plan to keep it this way. 2020-09-18 06:18:09 -04:00
Matthew Budd dad6ddfe64 Added Qt debugger auto open on game load feature. 2020-09-18 06:00:19 -04:00
Matthew Budd e70eb49bf9 Added logic for ASM view horizontal scroll. Set debugger bookmark buttons to insensitive until code can be added. 2020-09-17 22:59:56 -04:00
Matthew Budd b319273765 Added logic for auto debug file load/save checkbox option. 2020-09-17 21:54:47 -04:00
Matthew Budd 90e67b4ebb Added logic to selectively load/save breakpoint data from/to files only if a debugger window is open. 2020-09-17 20:44:33 -04:00
Matthew Budd 63dbda4b35 Added logic to load/save breakpoint data into game specific files. 2020-09-16 21:02:43 -04:00
Matthew Budd c62dfd464f Updates to debug symbol loader. 2020-09-15 22:53:36 -04:00
Matthew Budd b37fb45172 Added symbolic debug edit window logic. 2020-09-15 21:32:54 -04:00
Matthew Budd cef4ad4e1d Added logic for breakpoint tree view enable checkbox. 2020-09-15 20:11:17 -04:00
Matthew Budd d5b6c28df6 Added logic to save game debug symbols when closed. 2020-09-15 19:53:47 -04:00
Matthew Budd ced49bebc7 Added logic for debug window reload symbols button. 2020-09-14 21:42:10 -04:00
Matthew Budd 097aaa3214 Hooked up symbolic debug asm view checkbox. 2020-09-14 21:18:54 -04:00
Matthew Budd a4df1e3c06 Added logic to load debug symbols from files. 2020-09-14 21:08:38 -04:00
Matthew Budd f442404149 Added initial framework for symbolic debug feature in Qt port. 2020-09-13 21:43:50 -04:00
Matthew Budd d1f689ef61 Minor updates to Qt breakpoint add/edit and display functionality. 2020-09-12 09:31:24 -04:00
Matthew Budd bb29b73af5 Added initial framework for Qt debug window's asm view context menu. 2020-09-12 08:53:51 -04:00
Matthew Budd 1a05b2d7d0 Added ASM view cursor position label logic to Qt debug window. 2020-09-11 22:56:04 -04:00
Matthew Budd fc81335cc0 Added a emulator status label to debugger window. 2020-09-11 21:26:40 -04:00
Matthew Budd 6b79d20037 Added logic to set flags register when resuming from a breakpoint. 2020-09-11 20:29:45 -04:00
Matthew Budd 823e7948c0 Debug window breakpoint highlighting when hit in work. 2020-09-09 23:13:53 -04:00
Matthew Budd 1403ab607d More widget logic added to Qt debug window. 2020-09-09 21:58:09 -04:00
Matthew Budd 473ef5b7dc Added a little more logic to Qt debug window. 2020-09-09 20:22:31 -04:00
Matthew Budd dd7aa8fc2c Added initial framework for adding, editing, and removing breakpoints. 2020-09-08 22:18:49 -04:00
Matthew Budd 4e3e4d2e54 Added logic to update PPU labels on debug window. 2020-09-04 06:48:29 -04:00
Matthew Budd abf863a6a2 Debugger window functionality in work. 2020-09-04 06:37:22 -04:00
Matthew Budd e688ebe23b ASM view port in work. 2020-09-03 22:39:01 -04:00
Matthew Budd fc201b5ff7 Created custom widget for ASM viewport. 2020-09-03 22:21:53 -04:00
Matthew Budd 254a1a1d37 ASM display window changed to use QPlainTextEdit instead of QTextEdit. 2020-09-02 22:16:41 -04:00
Matthew Budd ccbcab5e77 Initial port of ASM window code. 2020-09-02 21:31:54 -04:00
Matthew Budd 7001b55569 Added initial framework for console breakpoint debugger window. 2020-09-01 22:04:59 -04:00
Matthew Budd 0349bb3a86 Added hex editor fore and back ground color options to config file. Options are now also saved when using the editor color picker. 2020-08-30 10:35:00 -04:00
Matthew Budd e711b21ee4 Added hex editor remove all bookmarks question acknowledgement box. 2020-08-28 20:23:20 -04:00
Matthew Budd ca59812e97 Added hex editor bookmark auto load/save functionality. 2020-08-27 22:43:13 -04:00
Matthew Budd 1032e6f443 Bookmark menu action memory management fix. QMenu will only delete QActions if it has ownership of the widget. 2020-08-26 22:53:39 -04:00
Matthew Budd 114e22c48f Added hex editor bookmark functionality. Still TODO save bookmarks to file based on ROM name. 2020-08-26 22:44:11 -04:00
Matthew Budd 51019a6e06 Cleanup up old commented out code in QT GUI main window. 2020-08-25 21:24:34 -04:00
Matthew Budd c23fa5dc60 Memory management fix for QT dialog windows. Ensure that window is marked for deletion when it is closed. 2020-08-25 20:59:36 -04:00
Matthew Budd a624278fca Added native menu option to hex editor. 2020-08-25 18:41:58 -04:00
Matthew Budd 67f6be539a Added TODO comments to hex editor context menu. These menu options can not be finished until other debug features such as the debugger and code/data trace/log functionality has been created. 2020-08-24 20:50:06 -04:00
Matthew Budd 1f09ecca2c Added hex editor window close menu option. 2020-08-24 20:27:12 -04:00
Matthew Budd 14f0da12c7 Added save ROM as hex editor functionality 2020-08-24 20:06:36 -04:00
Matthew Budd 08feb4710b Added utility function to strip out a base file name from a full path. 2020-08-24 19:52:28 -04:00
Matthew Budd e8f1ffdf8d Added hex editor horizontal scroll logic. 2020-08-23 22:24:54 -04:00
Matthew Budd a93af6f821 Cleanup of hex editor code, consolidated as much as possible into QHexEdit custom widget. 2020-08-23 10:00:54 -04:00
Matthew Budd 832a6b0a64 Setting up framework for hex editor bookmarks 2020-08-22 22:01:53 -04:00
Matthew Budd ff3125cbf8 Bug fix for updating vertical bar when using page up/down functions. 2020-08-22 21:42:51 -04:00
Matthew Budd 4b92abdb47 Added framework for hex editor context menu. 2020-08-22 21:38:09 -04:00
Matthew Budd 66810fdb9d Changed cursor movement logic to move to nearest hex address. 2020-08-22 20:48:31 -04:00
Matthew Budd b01b1c7a4c Cursor selection update to Hex editor 2020-08-22 20:42:33 -04:00
Matthew Budd f3af7cc6c8 Added hex editor fore ground and back ground color options. 2020-08-22 20:20:18 -04:00
Matthew Budd 6a425f61d1 Added activity color options to hex editor menu. 2020-08-22 19:54:11 -04:00
Matthew Budd 6aacaa5595 Added activity color highlight logic. 2020-08-22 19:15:56 -04:00
Matthew Budd c99c729b23 Added hex editor view mode menu logic. 2020-08-22 14:16:13 -04:00
Matthew Budd ecf558c1a3 Moved pixel space to cursor position conversion into its own function. 2020-08-22 13:57:36 -04:00
Matthew Budd 1eaa3f46f9 Added logic to position cursor via left mouse clicks on hex editor. 2020-08-21 21:05:52 -04:00
mjbudd77 b37e1e03f0 Cppcheck warning fixes for Qt GUI. 2020-08-21 11:55:19 -04:00
mjbudd77 b614edee75 Added memory write logic to hex editor. 2020-08-21 11:50:36 -04:00
Matthew Budd 75b076f256 Added a couple more key bindings to hex editor cursor control. 2020-08-20 22:44:14 -04:00
Matthew Budd f6afca360f Added hex editor X,Y cursor movement via arrow keys. 2020-08-20 22:34:45 -04:00
Matthew Budd 5f57455de7 Cursor positioning logic in work. 2020-08-20 22:28:02 -04:00
Matthew Budd 65f6b06033 Added ascii output to hex editor. 2020-08-20 21:47:21 -04:00
Matthew Budd b23349e870 Added vertical slider logic. 2020-08-20 21:21:48 -04:00
Matthew Budd b6b2038c96 Added initial framework for hex editor menu. 2020-08-20 20:41:38 -04:00
Matthew Budd 12f27d2158 Moved hex text editor into its own widget QHexEdit 2020-08-20 20:22:24 -04:00
Matthew Budd 9b90d2d684 Updated Hex editor fore/back ground color schemes to use dark background and light foreground text. 2020-08-19 23:05:01 -04:00
Matthew Budd 09ec672597 Changed approach to Qt hex editor to use raw painting of text. 2020-08-19 22:27:42 -04:00
Matthew Budd 466e513778 QHexEdit did not meet performance goals. Removing to try other options. 2020-08-18 22:19:53 -04:00
Matthew Budd d4d59b0c01 Trying out different QHexEdit function as QTextEdit was too inefficient. 2020-08-17 22:35:27 -04:00
Matthew Budd 4e7e82dbcd Qt Hex Editor in work. 2020-08-16 21:24:27 -04:00
Matthew Budd 490289a6f7 Qt Hex editor in work. 2020-08-16 10:38:42 -04:00
Matthew Budd 11ccdf77b4 Added initial framework for hex editor. 2020-08-15 21:41:06 -04:00
Matthew Budd b749c0982e Changed cheat window text entry field sizing to be proportional to average font char width. 2020-08-15 21:20:58 -04:00
Matthew Budd 9dee79bd8b Added game pad default mapping file generation logic for new controllers to Qt GUI. 2020-08-15 13:27:07 -04:00
Matthew Budd 3618f30f0d Minor code cleanup in SDL game pad config. Small logic change to joystick init. 2020-08-13 21:08:02 -04:00
Matthew Budd 1c6851c3f0 Bug fix for SDL joystick not working using SDL video driver. By default SDL joystick inputs are ignored if the SDL window does not have focus. Set SDL HINT to allow for background joystick inputs to accepted (i.e. joystick inputs come through even though window not in focus). 2020-08-10 21:04:42 -04:00
Matthew Budd 1d417a49ae Back ported SDL2 game controller improvements to GTK from QT GUI. 2020-08-09 22:19:38 -04:00
Matthew Budd a2fbb33d68 Added video driver select option for GTK/SDL GUI. Currently there are 3 possible video drivers: OpenGL GLX, SDL2, and Cairo. 2020-08-07 21:22:07 -04:00
Matthew Budd 1b0888e146 Added git url/revision info to the GTK/SDL GUI about window. Added git url/revision information to command line help print out for both GTK and QT versions. 2020-08-07 16:59:27 -04:00
Matthew Budd b7067cc1da Removed debug print statement. 2020-08-03 21:12:54 -04:00
Matthew Budd bbd0fe4470 Added cheat save file logic to cheat window export button. 2020-08-03 21:04:58 -04:00
Matthew Budd 4a494f8dc1 Added code to center text inside numerical entry fields on the cheat window. 2020-08-03 20:30:45 -04:00
mjbudd77 0fdf8cec14 Changed character used for width to be an X instead of 0 2020-08-03 20:20:48 -04:00
Matthew Budd b0529d564a Added pause while cheat window is active checkbox logic. 2020-08-02 21:19:32 -04:00
Matthew Budd 7c84e7b383 Added global cheat enable and auto load/save checkboxes 2020-08-02 20:58:59 -04:00
Matthew Budd e99cc1d64d Added logic to lock emulation when modifying cheats. 2020-08-02 20:31:21 -04:00
Matthew Budd 7d6f1fdacc Added logic to lock emulation when adding or deleting cheats. 2020-08-02 20:29:24 -04:00
Matthew Budd 53c96c9fbd Added button sensitivity logic for cheat search window. 2020-08-02 20:23:12 -04:00
Matthew Budd 2905c105bf Added cheat add/delete button logic. 2020-08-02 20:04:59 -04:00
Matthew Budd 34279fd5ac Added logic for modify active cheat parameter update button. 2020-08-01 21:33:43 -04:00
Matthew Budd 2d57b88e64 Added code to populate active cheat list. 2020-07-31 22:03:14 -04:00
Matthew Budd 3e1cfb3a94 More cheat search updates. 2020-07-31 20:18:39 -04:00
Matthew Budd b6871bc36d Added callbacks for cheat search buttons. 2020-07-31 20:14:17 -04:00
Matthew Budd cf54c8d225 Cheat window widget layout in work. 2020-07-30 23:06:02 -04:00
Matthew Budd bec89112e2 More updates to cheat window. 2020-07-28 22:54:52 -04:00
Matthew Budd 5088991a8d Added more widgets to the cheat window. 2020-07-28 21:37:28 -04:00
Matthew Budd c76d70582a Adding GUI framework for cheat window. 2020-07-27 22:26:41 -04:00
Matthew Budd 3c2a93d7c4 Added a protection in the audio output loop to break out of the loop if the audio sink is not draining. This will prevent lockups in the event that the audio output device has failed. 2020-07-27 21:20:25 -04:00
Matthew Budd 3528adea30 Changed error message window to use QMessageBox instead of QErrorMessage to have more control over display image. 2020-07-26 22:04:31 -04:00
Matthew Budd e918f8562a Added an error message window to the GUI. Added About Qt window to GUI. 2020-07-26 21:31:32 -04:00
Matthew Budd 0112782eab Added logic to change color of changed button mapping to red until they are save to a profile. Also, added a warning message to inform user of unsaved mappings. 2020-07-26 14:07:28 -04:00
Matthew Budd b48b81c938 Commented out command line INOP inputCfg functionality. With new GUI gamepad config, this should not be required anymore. 2020-07-24 23:04:56 -04:00
Matthew Budd 976266547c Bug fix for shutdown of joystick system. 2020-07-24 22:41:19 -04:00
Matthew Budd 4175ca6052 Added logic to skip unassigned buttons in the config. 2020-07-24 22:26:09 -04:00
Matthew Budd 3db85cd1d2 Game pad code cleanup. 2020-07-24 22:12:45 -04:00
Matthew Budd da04bbdfc5 Added logic to init game pad mappings at startup 2020-07-24 21:47:57 -04:00
Matthew Budd 67e87787e3 Added logic to load default keyboard mapping. 2020-07-24 18:44:18 -04:00
mjbudd77 8afeb43759 Added code to allow for deletion of game pad profiles. 2020-07-24 17:14:03 -04:00
mjbudd77 b71630379a Added game pad button mapping profile logic. 2020-07-24 16:56:48 -04:00
mjbudd77 675b73cbed Added mapping profile widgets. Still TODO, write code behind them. 2020-07-24 11:05:20 -04:00
mjbudd77 b815fbfe47 Added logic to show state of mapped buttons on game pad config page. 2020-07-24 09:50:03 -04:00
Matthew Budd e50d6e22ed Added logic to load default game pad button bindings from SDL database. 2020-07-24 00:11:11 -04:00
Matthew Budd e018b4b945 Removed unused button config arrays in preparation for implementing SDL2 game controller setup. 2020-07-23 18:43:45 -04:00
Matthew Budd 10b84fa47c Added SDL game controller logic to sdl-joystick. Preparing to re-vamp the input module. 2020-07-22 22:17:53 -04:00
Matthew Budd 02c3012215 Added a checkbox option to the gui config page to allow for the gui to use the native OS menu bar for mac os and certain linux distros. 2020-07-21 20:06:25 -04:00
Matthew Budd 3fc99f7d30 Added logic to allow the use to optionally select either the Qt/OpenGL or SDL as the video driver. 2020-07-20 22:45:33 -04:00
Matthew Budd f59bf15d30 Created a console utilities file to hold misc functions used by the Qt/SDL port. 2020-07-20 21:06:49 -04:00
Matthew Budd 4e9601a241 Added logic for the lua output display console. 2020-07-19 21:33:20 -04:00
Matthew Budd 122473b575 Added Lua control window. 2020-07-19 21:15:56 -04:00
Matthew Budd 188320147a Bug fix for file name patterns used with QFileDialog 2020-07-19 20:04:42 -04:00