-
Notifications
You must be signed in to change notification settings - Fork 49
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
Cycle timings are sometimes wrong #20
Comments
I will eventually look into it. |
Not sure, it was affecting a sample player where I needed to count cycles and I came across differences when using CLOCK to verify my counts due to mistakes in the CB prefix. There are equivalent tables for cycle counts in MAME, which I have copied over. PR will come soon. |
Looking at it in details now, can't just nilly willy merge that. If you have details/verifications somewhere I would take care. Now that MAME is free-software we can also use its Z80 emulator, the only problem is that I thnik it needs a few extra dozen bytes of save-state so I'd have the break Meka state-state format. Perhaps it's just a better solution to do that. |
I guess I need to write some code to give a pass/fail per instruction, which I think will be quite tricky... then compare to hardware. |
Some of the timings seem to be wrong, for example
ld a,ixh
. Possibly due to Marat's core being based on MSX timings. MAME timings are probably correct.The text was updated successfully, but these errors were encountered: