-
Notifications
You must be signed in to change notification settings - Fork 11
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 the SCF/CCF behaviour discovered by Patrik Rak #42
Comments
After 912d1bf, it seems we now can formally prove that at least what concerns the A and F register values, Patrik and Woody were right.
|
Hmm, the simulation indicates that not all instructions updating flags cause the following Line 2178 in a36c40a
But in the same time somehow the tests from Patrik do seem to test these instructions and (I presume) still pass: This clearly needs some more looking into it. |
Simulation indicates that whether the corresponding bits of F participate in the values of flags 3 and 5 of The way things look at the moment, the logic has little to do with updating flags 3 and 5 or any other flags and is dictated by the contents of the latch. Line 2253 in 0b56aea
|
Hello, we have spent the last year researching the flag behavior of the Patrik, Woody, Hoglet, TonyB and others are on our server. |
#51 (comment) may probably explain this. |
The test:
https://github.com/raxoft/z80test/blob/master/src/z80ccf.asm
The original discussion on WoS:
https://worldofspectrum.org/forums/discussion/41704/scf-ccf-flags-new-discovery
The text was updated successfully, but these errors were encountered: