Skip to content

NMOS HMOS 6502 accuracy #2

Open

Description

@miniupnp

ASL, INC and possibly other read/write instructions do two writes on an original 6502.
They first write the original value, then the modified one.
The CMOS 65C02 behave differently.

That can cause issues when working on memory mapped I/O, such as what is done on the C64.

Activity

  1. miniupnp commented on Nov 23, 2019

    @miniupnp
    ContributorAuthor

    I'm not sure about the Ricoh 2A03/2A07 of the NES

  2. redcode commented on Nov 23, 2019

    @redcode
    Owner

    Thanks, I've made several changes on the emulator since last version, I'll upload them to a new branch soon. I'm checking all instructions, memory access and cycles too.

  3. miniupnp commented on Nov 23, 2019

    @miniupnp
    ContributorAuthor

    regarding the differences between the different 6502 versions, do you plan to add different modes for the emulator ?

  4. redcode commented on Nov 23, 2019

    @redcode
    Owner

    regarding the differences between the different 6502 versions, do you plan to add different modes for the emulator ?

    Yes, of course. I'm working on my NES emu, and I want to use this core for other machines too. I'll add support for the undocumented opcodes and for other 6502 models.

  5. redcode commented on Nov 23, 2019

    @redcode
    Owner

    I've uploaded my most recent code to the branch WIP (it uses the "v0.1" branch of Z). I'll release a new version of this core in January 2020.

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions