-
Notifications
You must be signed in to change notification settings - Fork 7
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
Implement Scc #45
Comments
I can take this |
I have started to work on this but I have a strange issue I have started with implementing |
I made the mistake of swapping (or, not swapping, rather) the arguments to the qc-macro a few times. It's easily done, and with the mask and the match reversed, it won't call the intended instruction. We should probably made the qc and op_handler macros have their arguments in the same order, or find a way to make this mistake not typecheck. |
Seems I forgot the |
Also, please do a test for implementing the correct op-constant, like at the bottom of handlers.rs, to see if you messed that up... And I think the default mask-argument to the qc-macro is MASK_OUT_X_Y, which is not the mask your op used. (Oh, noticed just now you found it! 🍰 ) |
:) |
We Should probably remove the default mask-argument to qc all together, I've actually stopped using that. Now I just copy the op_handler, and transpose the first and second arguments which is a quick and easy move in sublime text. but if course it would be easier not to have to do that swap at all. |
Yeah I think that is a good idea. |
It seems that the Scc register cycle issue is fixed in Mame. |
Please implement the instruction for Set Conditionally. See implementation of Bcc. For more information, please read the instruction contribution guidelines
The text was updated successfully, but these errors were encountered: