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

Support basic current line highlighting #4

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

wizche
Copy link

@wizche wizche commented Oct 17, 2022

This repo was exactly what I was looking for to get some quick hands-on with 8080 processor while reading the awesome book "Code: The Hidden Language of Computer Hardware and Software, 2nd Edition". Thanks a lot!

I started to implement highlighting of executed instruction, would also be nice to extend this to highlight changes in the register and memory view.

It seems to work, the only issue I could find is when "entering" on an highlighted line the caret positioning is messed up...

sim

@eliben
Copy link
Owner

eliben commented Oct 19, 2022

Thanks, this looks interesting. Please let me know when you think this PR is ready for review.

@wizche wizche marked this pull request as ready for review December 12, 2022 13:32
@wizche
Copy link
Author

wizche commented Dec 12, 2022

I guess we can live with the issue when entering on the highlighted line...
I would rather submit the highlight changes in registers and memory feature on a different PR.

@wizche
Copy link
Author

wizche commented Dec 13, 2022

I somehow fixed the enter issue, far from perfect though...

@eliben
Copy link
Owner

eliben commented Dec 13, 2022

Just a quick note that I don't plan to review/merge this any time soon. This is a rather complicated change, and I don't have the capacity to review it now. Folks interested in using this can easily apply this PR onto their clone (or check it out directly).

I may get back to this in the future

@eliben eliben added the enhancement New feature or request label Dec 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants