Skip to content
This repository was archived by the owner on Oct 16, 2021. It is now read-only.
This repository was archived by the owner on Oct 16, 2021. It is now read-only.

FDS FM values exported incorrectly to NSF #133

@galap-1

Description

@galap-1

I mentioned this earlier in the discord, and have done some investigation and found out more about the problem.

When the automatic FM effect produces a modulation rate over the maximum amount i.e. greater than $4806 = $FF and &4807 = $0F, in 0cc they just get set to $FF and $0F respectively, but when exporting an NSF, some strange behavior ensues. This does not happen when manually setting them to $FF and $0F with I0F JFF.

Upon importing the nsf file using NSFimport and looking at the register values, they are an incorrect, lower valuse. It appears that it is overflowing and wrapping around.

fds bug.zip

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