Commit Graph

5167 Commits

Author SHA1 Message Date
warmCabin 935061868d add some accelerators 2022-08-23 18:06:17 -04:00
warmCabin 3457863d53 add a submenu for CDL flags 2022-08-23 18:05:54 -04:00
warmCabin 9f9354a59a fix accidental fallthrough
Uh-oh!
2022-08-23 18:04:40 -04:00
warmCabin c90cc26206 gray out CDL-related options if CDL is inactive 2022-08-23 17:00:20 -04:00
warmCabin 5d5963a4ae make InstructionUp and InstructionDown respect data blocks 2022-08-23 16:59:45 -04:00
warmCabin 883b542789 add comma
I'm actually not sure if this matters...
2022-08-23 03:44:27 -04:00
warmCabin 7321ee3db1 add toggle to show unlogged bytes as data 2022-08-23 03:40:30 -04:00
warmCabin e92e84d60f further cleanup 2022-08-23 02:51:08 -04:00
warmCabin 97b0f83d6b move some logic to asm.cpp 2022-08-23 02:11:42 -04:00
warmCabin b32d9f179f initial commit for data blocks 2022-08-23 01:06:15 -04:00
warmCabin b7f5dbf6cf fix annoying BRK scroll bug
BRK is a quirky opcode that has a length of 2 even though it doesn't take any
operands. It's not disassembled as 2 bytes by FCEUX, so scrolling up by 2 like
that didn't make sense. This has cause me a LOT of annoyance over the years!
2022-08-23 00:57:26 -04:00
warmCabin 5a483e3157 make it actually work 2021-08-11 05:37:49 -04:00
warmCabin 5f368afdde comments and menu label change 2021-08-11 04:04:46 -04:00
warmCabin a9205eac4a down with hotkeys, long live accelerators!
Hotkeys are SUPER jank. There should be some kind of warning in the docs or
something. They are an operating system-level message, and if consumed, NO OTHER
APPLICATION GETS TO HAVE IT. So this Ctrl+A hotkey meant the hex editor couldn't
use it anymore. Neither could Visual Studio. Or Notepad++. Or Chrome.
That's BAD.
2021-08-11 04:03:50 -04:00
warmCabin 052be52323 fixup the hotkey method 2021-08-02 03:18:09 -04:00
warmCabin 2d1cd5eb9a add run and step over hotkeys 2021-08-02 03:17:54 -04:00
warmCabin 13bd9ddfd2 make color dialog a sub menu 2021-08-02 02:53:49 -04:00
warmCabin ac71eb489c initial hotkey ideas 2021-07-22 23:08:59 -04:00
warmCabin 6e0a3a8199 add toggles for CDL breaks 2021-07-10 03:50:33 -04:00
warmCabin 49a20c920c delete duplicate resource 2021-07-09 10:47:57 -04:00
warmCabin fe9b71469c cheat the merge conflict
I'm conflict-averse
2021-07-09 10:34:42 -04:00
warmCabin 80ee06aae9 add toggle for showing trace info 2021-07-09 10:34:41 -04:00
warmCabin be59ac98d9 fix PC relative screen position not working 2021-07-09 10:34:40 -04:00
warmCabin 639d04ac26 change "bad opcodes" to "unofficial opcodes" 2021-07-09 10:34:40 -04:00
warmCabin cb830bfd50 add ROM offsets param to DisassembleToLine 2021-07-09 10:34:39 -04:00
warmCabin 61842ca7e8 make DisassembleLine just call DisassembleData 2021-07-09 10:34:39 -04:00
warmCabin d8043b7a96 add showTrace param to asm.cpp functions
Previously there were several spots that manually removed it by adding null
bytes. How silly!
2021-07-09 10:34:38 -04:00
warmCabin 557f73c56a remove ancient comments 2021-07-09 10:34:38 -04:00
warmCabin d143c69bd6 refactor the comment offset stuff into methods that deal with it for you 2021-07-09 10:34:37 -04:00
warmCabin fbb6176468 remove SP CODE comments
The time where these meant anything to anyone has long past.
2021-07-09 10:34:36 -04:00
warmCabin 7c5f08ff80 remove the unused permanent buttons 2021-07-09 10:34:36 -04:00
warmCabin aa2c6aef92 combine PCLine and PC_pointerOffset
Both of them represented the same information.
2021-07-09 10:34:35 -04:00
warmCabin 8afeb34539 make scrolling comment-sensitive (for real)
This has the added benefits that PC relative positioning works right, and there
is no longer a need for that HACK that ensures the PC is visible when you jump
to it.
2021-07-09 10:34:34 -04:00
warmCabin 4370400c59 initial attempt at making scrolling comment-sensitive
It's a little awkward because I'm trying too hard to be clever. I just need to
have ScrollDown check the name node data and set skiplines as appropriate.
2021-07-09 10:34:31 -04:00
warmCabin e2cb9dae39 fix '>' in comments highlighting like the PC 2021-07-09 10:34:30 -04:00
warmCabin d55e8ecc8f show a blank screen when no game is loaded 2021-07-09 10:34:30 -04:00
warmCabin 4e0f034891 janky merge conflict dodge 2021-07-09 10:34:29 -04:00
warmCabin 2b0e483a72 obfuscate callback return type so it compiles on 64-bit machines 2021-07-09 10:34:29 -04:00
warmCabin 86d6c1bd46 rename stuff and add comments 2021-07-09 10:34:28 -04:00
warmCabin c376a44607 add "break on bad opcodes" to menu 2021-07-09 10:34:27 -04:00
warmCabin 2312ff3293 Add enter-press functionality for break-when-exceed fields
Not quite sure how I feel about this one.
2021-07-09 10:34:27 -04:00
warmCabin e23e64392e add enter-press functionality to a few text fields 2021-07-09 10:34:26 -04:00
warmCabin 58b1510012 replace remaining instances of that confusing comment with my verbiage 2021-07-09 10:34:25 -04:00
warmCabin 53c36d94c6 use new callbacks instead of DebuggerCallB when posible 2021-07-09 10:34:24 -04:00
warmCabin cd13ee29f7 revive that "dead" EN_CHANGE code in a new callback
I have absolutely no idea how the old version ever worked!
Seriously, it makes no sense. It checked if the HIWORD of wParam equaled
EN_CHANGE even though it was in a BN_CLICKED case...but it still got the events.
This implies that BN_CLICKED == EN_CHANGE, but 0 very much does not equal 0x300.
2021-07-09 10:34:24 -04:00
warmCabin fc60358f79 add IDCANCEL and IDOK processing to patcher 2021-07-09 10:34:23 -04:00
warmCabin 81e62e1653 add loading cursor and wait beep for long dumps 2021-07-09 10:34:22 -04:00
warmCabin 34fcc1243b add file browsing functionality 2021-07-09 10:34:22 -04:00
warmCabin db071d0551 clean up message handling for more fluent control 2021-07-09 10:34:21 -04:00
warmCabin a57ecb82d3 support .NES file addresses checkbox 2021-07-09 10:34:21 -04:00