Commit Graph

4163 Commits

Author SHA1 Message Date
Matthew Budd 27e326ce90 Added seek to PC and seek to Addr logic. 2020-05-27 05:48:38 -04:00
Matthew Budd 64444129c3 Added callback functions for editing break cycle/instruction limit text fields 2020-05-25 20:44:39 -04:00
Matthew Budd 20af463419 Added a few hooks for break on cycles, instructions and bad opcode checkboxes. Still TODO add break cycle/instruction limit set logic. 2020-05-25 20:28:42 -04:00
Matthew Budd 41e1bdc592 Added logic to context menu to prefill breakpoint add popup. 2020-05-25 20:06:16 -04:00
Matthew Budd db17dc06e6 Added logic to capture asm list. 2020-05-25 09:28:22 -04:00
Matthew Budd c50b5581d6 Added logic to sync breakpoint edit window parameters to actual state upon opening. 2020-05-25 08:11:01 -04:00
Matthew Budd 2755c9cdb2 Added logic to allow for use of a enable checkbox to next to each breakpoint in the list 2020-05-24 21:31:29 -04:00
Matthew Budd 9f009a1850 Successful test of basic debugger functions. 2020-05-24 21:10:10 -04:00
Matthew Budd 613dd479d4 Added logic to set values for debugger window register displays. 2020-05-24 12:50:13 -04:00
Matthew Budd df236e3628 Added framework for breakpoint add/edit window. 2020-05-24 11:06:31 -04:00
Matthew Budd 4c199ef4fe Added initial framework for debugger window. 2020-05-23 23:25:28 -04:00
Matthew Budd 69790db498 Initial framework for debugger window in work. 2020-05-23 22:37:31 -04:00
Matthew Budd 40379a32dc Added a memory write boundary protection in the ram watch window to prevent users from writing into ROM memory area. 2020-05-23 16:28:43 -04:00
Matthew Budd c46d3e2a9d Added logic to clear edited row and column indices on null pointer error in RAM watch window. 2020-05-23 16:22:56 -04:00
Matthew Budd 484f299107 Added a NULL check to prevent crash in RAM watch window. 2020-05-23 16:20:40 -04:00
Matthew Budd 11d02a31c4 Added logic in memview window to make set address and value entry windows exit on an enter key press. 2020-05-23 16:09:14 -04:00
Matthew Budd 6947f2bd05 Bug fix for GUI initialization with a specified game on the command line. Sometimes the X-server needs a little more time to initialize the window. Added a short 0.1 sec usleep at startup to give X the time it needs. A few more cppcheck warning fixes made as well. 2020-05-23 15:08:03 -04:00
Matthew Budd 04a4b6de74 Added more functionality to the memview window. Now can view all memory types. New context menu allows for seeking to a new location by address, poking memory locations, and jumping from RAM to ROM. 2020-05-23 14:56:42 -04:00
Matthew Budd 9ac2803533 Added logic to get NES ROM address from RAM location for context menu. 2020-05-22 09:30:16 -04:00
Matthew Budd b731245171 Added a few context menu items. TODO create callback functions for them 2020-05-22 09:19:45 -04:00
Matthew Budd 475464cca2 Added logic to display a label showing the address of the cursor selected memory location in hex editor. 2020-05-22 09:00:07 -04:00
Matthew Budd c05c85bcfd Added popup context menu framework for memview. 2020-05-21 22:07:10 -04:00
Matthew Budd 364ae8c689 Added callback for context menu on memview window. 2020-05-20 21:48:39 -04:00
Matthew Budd 5db17d7913 Cleaned out treeview logic in favor of text view. Text view is much more efficient. 2020-05-19 01:00:14 -04:00
Matthew Budd 284a787104 bug fix for memory poke logic. 2020-05-19 00:51:03 -04:00
Matthew Budd fe4d1f85af Successful test of poking into RAM with hex editor in text view. 2020-05-19 00:30:24 -04:00
Matthew Budd 41cfd69fe2 Successful display of memview. 2020-05-19 00:03:30 -04:00
Matthew Budd 267966b0b3 Text View hex editor in work. 2020-05-18 22:03:58 -04:00
Matthew Budd 6460a3035b Tree view inner / outer slider functions but is not ideal. Going to try out text view object instead. 2020-05-18 08:29:05 -04:00
Matthew Budd 90482feac8 Memview successful initial test, but performance is slightly lacking. Going to change tree view logic. 2020-05-17 11:36:55 -04:00
Matthew Budd 3c10dcc1fd Added logic to allow for writing into memory via the mem view hex editor. 2020-05-16 23:50:58 -04:00
Matthew Budd 5834dd3661 Added memory view window framework. Still TODO memory poke functionality. 2020-05-16 22:17:24 -04:00
Matthew Budd 9dcad0b211 Bug fix for gamepad configuration when using keyboard inputs. 2020-05-16 18:50:29 -04:00
Matthew Budd c7f9a4257a Bug fixes for screen sizing at startup with a ROM specified on the command line. 2020-05-16 15:06:40 -04:00
Matthew Budd 74923eaccc Removed static hotkey string array from global header and added an accessor function. 2020-05-16 13:16:24 -04:00
Matthew Budd 26f36da7e7 Another bug fix for gamepad config loading at startup, the first fix was in the wrong place. Removed static video variable from header. 2020-05-16 11:13:24 -04:00
Matthew Budd 00e316b521 Bug fix for loading gamepad config at startup. 2020-05-16 10:40:57 -04:00
Matthew Budd 01c60c4dc1 Bug fix for displaying button names when reloading gamepad config window. 2020-05-16 10:14:37 -04:00
Matthew Budd e5e02e20f4 Bug fix for gamepad key name display when calibrating buttons. 2020-05-16 09:47:13 -04:00
Matthew Budd b63772b774 Removed debug print statement. 2020-05-16 09:19:25 -04:00
Matthew Budd c3e4db0faa Hotkey selected state cleanup. Sync gui menu selected state when state changes occur via hotkeys. Removed deprecated gtk widgets from sdl/input.cpp. 2020-05-16 09:09:36 -04:00
Matthew Budd 3573a596e9 Added logic to the deb pkg script to not put duplicate entries into the pkg depends list. 2020-05-16 07:38:20 -04:00
Matthew Budd 09d84283cd bug fix for test install of debian pkg 2020-05-15 21:27:17 -04:00
Matthew Budd e70b38cf5f Bug fixes for debian package builder script. Added package build to pipeline. 2020-05-15 21:17:54 -04:00
Matthew Budd 2f00e3517b Added debian package creation script. 2020-05-15 20:12:21 -04:00
Matthew Budd 172dffec55 Changed window size variables in gui to be static as their is no reason to export them to the linker. 2020-05-15 17:08:13 -04:00
Matthew Budd 5173b85ac1 Added logic to check if the screen size has actually changed in the window configure event callback. Do not reset video is screen size is the same. This prevents annoying screen flickering during transitions to/from full screen mode. 2020-05-15 17:02:33 -04:00
Matthew Budd 017ee17ee1 Updated linux ubuntu build script to latest 2020-05-15 16:14:03 -04:00
Matthew Budd 8339508f21 Added an appveyor pipeline configure file to allow for a side by side build of both the windows and linux application. 2020-05-15 16:06:18 -04:00
Matthew Budd bcbac77084 When a lua script is provided on the command line with the --loadlua option. Added code to always resolve any relative file path to an absolute as the lua core changes the current working directory which then invalidates the relative pathing from where the current working directory was at the time the program had initially been started. 2020-05-14 23:47:57 -04:00