warmCabin
eb7847e5f0
split Dump stuff to dumper.cpp and add some frontend
2021-07-09 10:34:18 -04:00
warmCabin
784771f95c
tweak dumper window in editor
2021-07-09 10:34:18 -04:00
warmCabin
c262b0803c
initial commit for code dumper UI
...
It looks so derpy!
2021-07-09 10:34:17 -04:00
warmCabin
e178581d32
split patcher, assembler, and some disassembly logic to where it belongs
2021-07-09 10:34:16 -04:00
warmCabin
af47c8c66d
clean things up a bit
2021-07-09 10:34:14 -04:00
warmCabin
ff4c742bc4
remove trace info
2021-07-09 10:34:12 -04:00
warmCabin
e1a73c3700
refactor to avoid goto
...
I guess I did care :(
2021-07-09 10:34:10 -04:00
warmCabin
ff41cbc330
refine the logic so it still writes the raw bytes
2021-07-09 10:34:10 -04:00
warmCabin
6527ab4de8
add logic to make it respect labels
...
This heuristic only works if you've been poking around in the debugger
for a while.
2021-07-09 10:34:09 -04:00
warmCabin
5dfa77abf1
initial implementation of code dumping
2021-07-09 10:34:09 -04:00
warmCabin
31a90b9dba
split out the mousey ones
2021-07-09 10:34:08 -04:00
warmCabin
8dec80e43d
move UpdateOptionsPopup call into InitMenuPopup
2021-07-09 10:34:07 -04:00
warmCabin
ca11b6479b
split out the context menu
...
I'm going one at a time from now on!
2021-07-09 10:34:07 -04:00
warmCabin
d3a15d78ae
move UpdateSymbolsPopup calls into DebuggerInitMenuPopup
2021-07-09 10:34:06 -04:00
warmCabin
6b004b4482
split out some of the "gameful" callbacks into dedicated functions
...
My personal favorite is the WM_MOUSEWHEEL one. The lParam contains cursor X and
Y coords, but someone had misinterpreted it as a handle to the scrollbar and
used it to update the scroll info. So what happened? Garbage pointer
dereference leading to nonsense scrolling and crashes? Nope! The ScrollInfo
calls silently did nothing and everything worked as intended.
2021-07-09 10:34:06 -04:00
warmCabin
c1d2af7042
split out the "gameless" window callbacks into dedicated functions
2021-07-09 10:34:05 -04:00
warmCabin
a44232d47e
add a few comments
2021-07-09 10:34:04 -04:00
warmCabin
b1db239d9a
add tools menu
...
It runs the ROM patcher, as well as a placeholder for my planned
code dumper ideas.
2021-07-09 10:34:03 -04:00
warmCabin
7bc2d5e4a8
put color menu item labels in title case
2021-07-09 10:34:02 -04:00
warmCabin
545a25b30f
implement the Options menu
2021-07-09 10:34:02 -04:00
warmCabin
ab7a4f01f0
MISSED ANOTHER ONE
2021-07-09 10:34:01 -04:00
warmCabin
92e258fa5c
add skeleton for options menu
2021-07-09 10:34:00 -04:00
warmCabin
636ea70f8c
replace macros with inline functions
...
Macros are cringe
2021-07-09 10:33:59 -04:00
warmCabin
712d6efcbb
add load .DEB file and define a macro
2021-07-09 10:33:58 -04:00
warmCabin
9123765b03
rename to restore defaults
2021-07-09 10:33:58 -04:00
warmCabin
97b0e74639
MISSED ONE
2021-07-09 10:33:57 -04:00
warmCabin
e40b2a47ef
put actual functionality in the menu items
2021-07-09 10:33:56 -04:00
warmCabin
ef7ac99e26
consolidate some things into a Symbols menu item
2021-07-09 10:33:56 -04:00
warmCabin
ab45f908b1
add the toggle to an options menu and rename it
2021-07-09 10:33:55 -04:00
warmCabin
21270c76ab
rename to inline addresses
2021-07-09 10:33:54 -04:00
warmCabin
8c71886b9a
tweak vxxproj to work on VSCode 2017
...
No idea if this is correct or appropriate, but it's what I needed to get it
running on my computer.
2021-07-09 10:33:53 -04:00
warmCabin
66d5025c25
clean up some REALLY crufty comments
...
Many of these were from 2006, when FCEU was "moved to its own folder to make
room for other projects."
I was 9 years old.
2021-07-09 10:33:53 -04:00
warmCabin
000dac3495
add button to toggle combined label/offset disassembly
2021-07-09 10:33:51 -04:00
warmCabin
4669de16ee
split out a replaceRegNames method
...
Previously, this logic got called once for each named label that needed
replacing. I guess no one noticed because it was idempotent, but that's not the
case anymore!
2021-07-09 10:33:50 -04:00
warmCabin
bf8639f5cd
add inlineAddressEnabled flag
...
Set to hardcoded true for now.
2021-07-09 10:33:49 -04:00
warmCabin
a1b2a8c1d4
Revert "initial attempt at .byte directive"
...
This reverts commit 409b0c365d8887fdefdad06751bb581afbf916ba.
2021-07-09 10:33:47 -04:00
warmCabin
239e03b9bb
Revert "fix incredibly simple build errors"
...
This reverts commit 1af8ad50b2f0d6d390aea667f096a1ef0dd85c56.
2021-07-09 10:33:47 -04:00
warmCabin
91cfeb40fb
fix incredibly simple build errors
...
This is what you get for using Notepad++. Don't be like me.
2021-07-09 10:33:47 -04:00
warmCabin
07c81eabb2
initial attempt at .byte directive
2021-07-09 10:33:46 -04:00
warmCabin
41f5be8aa8
add lines to RTI opcodes
2021-07-09 10:33:46 -04:00
warmCabin
77b4181131
don't do symbolic address coloring on comment lines
...
This fixes a bug where a comment ending in a colon would get parsed as a label.
2021-07-09 10:33:45 -04:00
warmCabin
fbe8bf84df
add that == L' ' line back in
...
I did not fully understand the consequences of my actions
2021-07-09 10:33:45 -04:00
warmCabin
3995dfc45a
get rid of address/label debugging once and for all
2021-07-09 10:33:44 -04:00
warmCabin
3e21f156e6
change loop condition and update comments
2021-07-09 10:33:44 -04:00
warmCabin
a3689c3ae6
kill combined label/offset disassembly
...
It was a bad idea
2021-07-09 10:33:43 -04:00
mjbudd77
1efe2de1f7
Added logic to allow for quick toggling of breakpoints by just clicking left mouse button between the end of cdl end boundary and the beginning of the line address text.
2021-07-09 00:01:32 -04:00
mjbudd77
a712448d81
Added logic to determine what ASM line a breakpoint is on and draw a red circle graphic on that line.
2021-07-08 23:36:24 -04:00
mjbudd77
2030d18e40
Added logic to code data and trace logger windows so that if already open, the windows are raised and given input focus.
2021-07-08 22:18:20 -04:00
mjbudd77
17933eb86e
Added logic to Qt PPU, sprite and nametable viewer windows so that if already open, the windows are raised and given input focus.
2021-07-08 22:06:56 -04:00
mjbudd77
27fc890977
Changed Qt debugger code so that only one debugger can be open at a time.
2021-07-08 22:00:32 -04:00