Skip to content

Analyze CPU Timing doesn't work with NES *.c files #208

Description

@fredsa

Use the "Analyze CPU Timing" button with these NES projects:

DASM timing is displayed correctly:

C timing is not displayed:

Investigating, it appears that setTimingResult in editors.ts has correct offsets in this.sourcefile.line2offset, but the computed CPU timing is stored with incorrect offsets in result.pc2clockrange.

The incorrect offsets can also be seen in the developer console, logged by for exampleanalysis.ts:179.

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

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions