Giter VIP home page Giter VIP logo

Comments (1)

SirGouki avatar SirGouki commented on July 25, 2024 1

I suspect this comes from javidx using the 6502 information, instead of actual NES hardware specifications. For anyone else coding an NES emulator and following along, you want docs for the 2a03(2a07 for PAL regions) chipset, which is a modified 6502 specific to the NES.

See here: http://wiki.nesdev.com/w/index.php/CPU_ALL for a lot of information.

Edit: added pal chip number

Edit2: upon further reading of the opcodes and registers, the U flag is expected to always be high (1) so it in fact should be added incase a rom checks this for some reason. There are also interupts that set B, and that all the opcodes perform the same, minus decimal mode functionality ) as a standard 6502, so any status flags that are valid on a standard 6502, save for D, should be implemented in an NES emulator. This also means that Homebrewers for the NES should be able to reasonably test their ROMs against an emulator and have access to everything save for Decimal mode behavior and it perform correctly, even if the instructions they use aren't used by "normal" games. Also, don't forget that the NES was derived from the Famicom, which was capable of operating like a then current home computer, so some "unused" instructions may be unused because the NES lacks the hardware addons the Famicom had.

Information was obtained from wiki.nesdev.com and from the EmuDev discord, from members who have worked on, or are currently working on, NES emulation.

from olcnes.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.