-
Notifications
You must be signed in to change notification settings - Fork 61
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
Ported AppleWin debugger to LinApple #108
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Windows base sources prior to Linux port. Taken from AppleWin commit c2047838164f2fdf20c7bb68549245ba9c20e68e, head revision as of March 7th, 2020.
Symbol files borrowed from AppleWin repository with symbol/address information of Apple2e system and basic ROMs. Allows the debugger to show symbolic information for many addresses when disassembling.
…bitmaps. Simple extension so we can copy character bitmaps and control foreground and background color on the fly.
Mapped further MicrosoftVisualStudio strings methods to standard C++ methods etc.
(required to integrate the debugger...)
(Makefile version is automatically forwarded to the sources)
Serveral types and enums have changed since LinApple was forked from AppleWin. Updates the debugger data types to match the latest AppleWin head revision.
Added "SingleStep" function and option to run at full speed until hitting the next breakpoint. All actual breakpoint handling has moved from CPU.cpp to Debug.cpp.
the Debugger requires access to various flags and memory bank information, so some flags were moved to the header file.
Always show mouse cursor in debug view. Forward mouse and keypress events to debugger. Map keyboard events to characters before forwarding them to the debugger. Added new "F7" hook to enable debug view.
Added methods required by the Debugger to access the video state. Added option to (temporarily) override the displayed video mode by the debugger.
Fixed "=" command to set PC to current debug cursor address. Fixed "data" command by enabling "mini dump area 1" by default. Improved "md1"/"md2" commands: automatically display data window. Fixed ambiguous "cl" command: must be handled by "clear flag" command.
Impressive! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See #105. An (almost) complete port of AppleWin's debugger sources for Linux.
Larger patch, split into several commits to make the changes a bit more readable.