Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debugger enhancements V2 - new hardware #338

Open
wants to merge 46 commits into
base: master
Choose a base branch
from

Conversation

kktos
Copy link
Contributor

@kktos kktos commented Mar 29, 2021

No description provided.

kktos added 30 commits December 3, 2020 19:27
Add a whole bunch of command
Add Debugger in a window.
Add INI file.
Add a whole bunch of command
Add Debugger in a window.
Add INI file.
(cherry picked from commit 879fd7e)
(cherry picked from commit 7fad3e4)
(cherry picked from commit a8e546d)
(cherry picked from commit 7026084)
(cherry picked from commit 5a9f652)
(cherry picked from commit 1975d5b)
Load a font only once

(cherry picked from commit d56fa03)
(cherry picked from commit 0a5654a)
(cherry picked from commit b91bf9f)
(cherry picked from commit 38e0a15)
(cherry picked from commit 23fb30f)
(cherry picked from commit 3781601)
(cherry picked from commit 368a835)
Slighty enhanced disasm to fall on right line ... still not perfect
(cherry picked from commit c0a61c0)
kktos added 15 commits March 28, 2021 18:15
…wasn't finding the symbol)

Fix the symbol eval to return not found instead of addr 0 when not found

(cherry picked from commit 409f78f)
Fix mouse coord display

(cherry picked from commit 355252e)
(cherry picked from commit 9aa9507)
Fix user symbol file loader to handle empty lines and lines commented out ";"

(cherry picked from commit 85af12d)
Fix in DebugInit to handle no ini file

(cherry picked from commit 7c6416d)
Add command "load file addr"
Fix symbol lookup to search either a symbol or an address
Fix the disasm Bank to follow the current one depending of RAM or ROM
Fix disasm to display symbol depending on the current bank (ROM/RAM)
Disams: Change the label pos for a full line

(cherry picked from commit ea2b5c6)
(cherry picked from commit 0064a5c)
Fix the load command
Add debugger settings var (romdebug flag to allow ROM modif, bp_on_brk to have BRK viewed as breakpoint)

(cherry picked from commit 38c8795)
Remove the keyboard shortcuts as they are replaced by buttons
Allow to redefine keyboard bindings for the DBG

(cherry picked from commit 3dfc2f5)
Fix the key bindings to handle the mods

(cherry picked from commit 72c932f)
Allow command "load" to load in main RAM, banked RAM and banked ROM
Add key bindings for bank up/down on memory dump

(cherry picked from commit 5e6fd08)
@kktos kktos mentioned this pull request Mar 29, 2021
@mist64
Copy link
Collaborator

mist64 commented Apr 4, 2021

Sorry, I missed this in time, and now we have conflicts again.

I tried to resolve the conflicts myself, but having played with it for a while, I really think this needs to be done in three steps:

  1. reorganize the directory structure
  2. clean up the source
  3. add the new debugger features

Could you do this? :) Ping me at [email protected] once the first patch is ready, so I can apply it immediately, and it does not fall behind any more. The other two will then be less time critical.

@mist64
Copy link
Collaborator

mist64 commented Apr 4, 2021

For reference: documentation is in #313.

@mist64
Copy link
Collaborator

mist64 commented Apr 4, 2021

I moved all sources to src/ and .o files to build/ (to be consistent with the ROM build process) in 61fc63d, so one less step here.

@mist64
Copy link
Collaborator

mist64 commented Apr 4, 2021

So for the remaining changes, I'd like to have them broken up like this:

  1. split up debugger.c/.h and move it into a subdirectory, together with disasm.c/.h
  2. debugger cleanup & feature work

and independently: cleanup work in the non-debugger code

@mist64
Copy link
Collaborator

mist64 commented Apr 4, 2021

I separated out 1./2. into branch https://github.com/commanderx16/x16-emulator/tree/kktos-debugger-enhancements - maybe it's useful for a start.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants