Giter Site home page Giter Site logo

mnes's Introduction

mNES

NES emulator in mIRCscript

image

this is a learning experience for me. Figuring things out as I go. I don't know what I'm doing, please keep that in mind if you read the source.

only a small handful of opcodes are (probably poorly) emulated so far, don't expect much to run (yet), but feel free to look around and give me feedback ^-^

how to use:

put a folder named ROMs in the same directory as all the files, and put a valid NES rom there. currently, it just picks the first file it finds in there.

then you can load the script(s) with /load -rs path\to\core.mrc, followed by /nes.init to run it. It will not show (much) output by default. if you want the pretty CPU output (about the only interesting thing to look at currently), /nes.init full will accomplish that, or /nes.init error if you (mostly) just want to show errors.

You can also manually turn on the output while the emulator runs by typing /hadd nes.cpu debug full, or you can set it to error to only show output when an error occurs. You can manipulate the status registers (nes.cpu status.xxxxx), accumulator, x, y, program counter, and so on the same way, if you like.

/nes.init will always cleanly start the emulator, /nes.cpu.start [n] will start the emulator from the last known state, where n is the amount of miliseconds to wait between each cpu cycle. /nes.cpu.stop will stop the emulator (and is (or should be) automatically triggered when an error occurs).

mnes's People

Contributors

lynndrumm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

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.