mos6502 | A fast & simple MOS 6502 CPU emulator written in C++

 by   gianlucag C++ Version: Current License: MIT

kandi X-RAY | mos6502 Summary

kandi X-RAY | mos6502 Summary

mos6502 is a C++ library typically used in Simulation applications. mos6502 has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. You can download it from GitHub.

This is my C++ implementation of the MOS Technology 6502 CPU. The code is written to be more readable than fast, however some minor tricks have been introduced to greatly reduce the overall execution time.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              mos6502 has a low active ecosystem.
              It has 203 star(s) with 47 fork(s). There are 11 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 4 open issues and 2 have been closed. On average issues are closed in 26 days. There are no pull requests.
              It has a neutral sentiment in the developer community.
              The latest version of mos6502 is current.

            kandi-Quality Quality

              mos6502 has no bugs reported.

            kandi-Security Security

              mos6502 has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.

            kandi-License License

              mos6502 is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              mos6502 releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of mos6502
            Get all kandi verified functions for this library.

            mos6502 Key Features

            No Key Features are available at this moment for mos6502.

            mos6502 Examples and Code Snippets

            No Code Snippets are available at this moment for mos6502.

            Community Discussions

            QUESTION

            Why would someone bitwise AND an 8-bit value with a 16-bit mask in C?
            Asked 2020-Feb-09 at 22:26

            I am trying to replicate Javidx9's NES/MOS6502 CPU code in C# as an academic exercise and I am having trouble understanding the logic behind the implementation of the Zero-Page Addressing Mode. Specifically, I am looking at this code:

            ...

            ANSWER

            Answered 2020-Feb-09 at 22:26

            You're correct addr_abs &= 0x00ff isn't needed.

            uint16_t x = n where n is an unsigned 8-bit number (which is the case here). x would have it's upper 8 bits cleared. As @tadman stated, there might have been a different method used previously to store the value into addr_abs which didn't clear the upper 8 bits.

            Source https://stackoverflow.com/questions/59691075

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install mos6502

            You can download it from GitHub.

            Support

            Some useful stuff I used...
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/gianlucag/mos6502.git

          • CLI

            gh repo clone gianlucag/mos6502

          • sshUrl

            git@github.com:gianlucag/mos6502.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link