Skip to content

CPU: Cycle accurate timings for divs/divu #101

Description

@ggnkua

Hi,

If I read the cpu emulation code correctly, divs/divu cycles are calculated simply by adding the worst case cycle count. If that's the case then the following code Jorge Qwik (ijor) will give accurate cycles for all cases of division:

http://pasti.fxatari.com/68kdocs/div68kCycleAccurate.c

Hope this helps,
George

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions