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

Fix vF in 8xy4/5/6/7/E, Fix F key not being read #2

Merged
merged 5 commits into from
Oct 22, 2022

Conversation

NinjaWeedle
Copy link
Contributor

This PR mainly fixes some bugs with how vF is set in the 8XYx ops, having it be set after the operation with the flag being set before the operation. It also changes a variable name ("index" to "cindex") and the makefile in order to get this to compile on the latest toolchain (V10.2 at the time of writing), and fixes an off-by-one error during key polling that prevented the key for "F" from ever being read.

Updated makefile, changed the name of the "index" variable to "cindex" to fix compiling error
Have vF be set after the operation in 8xy4, 8xy5, and 8xy7
Key F is now correctly polled for
@ckosmic
Copy link
Member

ckosmic commented Oct 22, 2022

Really cool to see contributions to this project. Sorry, for some reason your Discord message didn't show in the side bar and I didn't see it until recently. Merging

@ckosmic ckosmic merged commit 442d409 into Chip-84:master Oct 22, 2022
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