Commit Graph

321 Commits

Author SHA1 Message Date
mjbudd77 1c762f95d1 Added code to the Qt gui to allow for individual users to set custom Qt styling. The Qt gui will check to see if an environment variable exists named FCEUX_QT_STYLESHEET, which should contain the full path to a Qt stylesheet file. If the variable is defined and the file exists and can be opened, then the style content for that file will be used by the application. 2020-10-18 22:13:00 -04:00
mjbudd77 9e57c49f5a Added logic to initialize the fore and background color palettes of the Qt trace logger viewport. 2020-10-18 21:36:49 -04:00
mjbudd77 1c0d999033 Hooked up OpenGL linear filtering enable function to Qt video config checkbox. 2020-10-18 21:31:37 -04:00
mjbudd77 ce2afe23e1 Added a circular buffer to the Qt Lua output console to allow for messages to be passed in a thread safe way from the emulation thread to the GUI thread. This fixes the crash issue mentioned in Issue #190. 2020-10-18 15:30:14 -04:00
mjbudd77 da0ab1359c Added set frame advance delay menu and input dialog logic for Qt GUI. 2020-10-18 10:53:31 -04:00
mjbudd77 8b5e99909a Added emulation speed control main menu functionality to Qt GUI. 2020-10-18 10:34:03 -04:00
mjbudd77 0f33735e06 Per request, changed the Qt debugger stack display to use a more compact address text format. 2020-10-17 23:57:10 -04:00
mjbudd77 598f036d56 Bug fix for order of destruction issue caused when shutting down the application with the debugger window open. 2020-10-17 23:26:49 -04:00
mjbudd77 c1fca59e74 For Qt GUI debugger window, added logic to allow for display of stack addresses to be toggle-able on/off via either context menu or A key when widget has focus. 2020-10-17 22:41:29 -04:00
mjbudd77 fffa78b507 Bug fix for Qt debugger stack display clipping end of line. Added logic to allow for the stack display to auto show a horizontal scroll bar if needed. Also added a stack display bytes per line config option. This can be changed by either right clicking the stack display widget and selecting the desired value in the context menu or using the number keys 1-8 when the widget has focus. 2020-10-17 21:22:19 -04:00
mjbudd77 5715ec235a Added Qt Hex Editor goto Address Dialog. Added RAM search to Qt GUI capability list. 2020-10-16 23:53:20 -04:00
mjbudd77 e77dd77b7c Resolved simple cppcheck warning on Qt Ram watch window. 2020-10-16 23:18:13 -04:00
mjbudd77 3c67d440e8 Added logic to Qt RAM search window to not store search history when auto search is active. This will avoid excessive memory allocation. 2020-10-16 23:15:23 -04:00
mjbudd77 c98276945e Added RAM Watch quick access from RAM search window for Qt GUI 2020-10-16 22:44:23 -04:00
mjbudd77 65bb526951 Added logic to refresh cheat window when adding from RAM search or watch windows for Qt GUI 2020-10-16 22:30:04 -04:00
mjbudd77 1dc0181e01 Added RAM search quick eliminate and hex editor functions for Qt GUI. 2020-10-16 22:04:45 -04:00
mjbudd77 4215f2d3f7 Successful test of all RAM search functions in Qt GUI. 2020-10-16 20:47:29 -04:00
mjbudd77 abe66aceec Successful test of RAM specific value search 2020-10-16 20:20:29 -04:00
mjbudd77 7803cc3294 Successful test of ram relative search functionality. 2020-10-16 20:05:51 -04:00
mjbudd77 ebfe3702f9 Qt RAM search input validation in work. 2020-10-15 22:22:44 -04:00
mjbudd77 9412b850cb Ram search by relative value in work. 2020-10-15 20:39:56 -04:00
Matthew Budd 1368d0550e Bug fix for Qt GUI frame advance logic. Updated RamSearch to run after ever completed frame. 2020-10-12 15:51:24 -04:00
Matthew Budd 25152af42a Qt RAM search window in work. 2020-10-12 00:09:00 -04:00
Matthew Budd 5dc72e7924 Added custom widget to optimize Qt ram search view 2020-10-11 22:54:19 -04:00
Matthew Budd cfa752a693 Qt Ram Search window in work. QTreeWidget does not handle large data sets very efficiently. Going to have to make a custom widget. 2020-10-11 21:36:26 -04:00
Matthew Budd 0f506dc348 Qt Ram search logic in work. 2020-10-11 11:25:35 -04:00
Matthew Budd baa724ed14 Added initial layout of Qt RAM Search window. 2020-10-11 10:40:27 -04:00
Matthew Budd a03b5d9ae8 Qt RAM watch window separator logic changed so that separator lines can span full width of viewport. Minor bug fixes to Qt RAM watch add/edit window 2020-10-10 09:03:19 -04:00
Matthew Budd 66c34c2d49 A couple bug fixes for the Qt RAM watch window. 2020-10-09 23:08:40 -04:00
Matthew Budd e03c558db6 Updated Qt RAM watch file format to match windows version. 2020-10-09 22:51:56 -04:00
Matthew Budd 1f11c67c84 Successful test of all Qt RAM watch features. Minor cppcheck warning cleanup. 2020-10-09 22:08:38 -04:00
Matthew Budd 778d9c733d Added logic for add, edit and remove ram watch entries. 2020-10-08 22:05:31 -04:00
Matthew Budd f440c820fd Added initial layout for Qt Ram Watch Edit window. 2020-10-08 07:08:47 -04:00
Matthew Budd f8e7187f05 Build fix for MacOSX 2020-10-08 06:39:08 -04:00
Matthew Budd ff694ebe49 Qt Ram watch logic in work. 2020-10-07 21:01:39 -04:00
Matthew Budd ab922df318 Added initial window layout for Qt RAM Watch window. 2020-10-07 20:35:52 -04:00
Matthew Budd 6dfd3fb2d0 Added logic to draw scroll lines on NT Viewer for Qt GUI 2020-10-06 21:31:40 -04:00
Matthew Budd a79400720b Hooked up logic for NT View attribute and hide palette functionality in Qt GUI 2020-10-06 21:08:10 -04:00
Matthew Budd 2d403fac3e Added logic to fillout property labels on NT view Qt GUI. 2020-10-06 21:02:10 -04:00
Matthew Budd 652cc4f2c9 Added logic to protect against PPU and NT view windows from crash when being opened with no game loaded. 2020-10-06 20:08:17 -04:00
Matthew Budd 2b15f8611e Added NT Mirroring display and selection logic for Qt GUI 2020-10-06 19:50:22 -04:00
Matthew Budd 4765bc8bdd Added widgets for mirroring and properties frames on Qt NT viewer 2020-10-06 19:00:32 -04:00
Matthew Budd 826a39c83e Added logic to not call window update from emulator thread in Qt GUI. Qt widget update() should always be called from within main gui thread. 2020-10-06 18:40:14 -04:00
Matthew Budd 03cd068439 Qt Name table Viewer in work. 2020-10-05 23:17:27 -04:00
Matthew Budd 73726114c5 Name table view first successful drawing on Qt GUI. 2020-10-05 22:49:09 -04:00
Matthew Budd 579a8d2159 Initial layout of Qt Name Table window in work. 2020-10-05 21:14:49 -04:00
Matthew Budd 1f12627c8f Added initial file for Qt name table viewer 2020-10-05 20:52:09 -04:00
Matthew Budd b31a2131b4 Minor cleanup of debug print statements in Qt GUI. 2020-10-05 20:11:01 -04:00
Matthew Budd 6ef21c4433 Added logic to fill out palette label when moving cursor over tile. 2020-10-05 20:02:16 -04:00
Matthew Budd cc70f501c8 Minor bugfix for pattern table label when mouse scroll out of bounds. 2020-10-05 19:35:14 -04:00
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