npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

rawbones

v0.3.5

Published

Rawbones is an early-stage NES emulator written in ReasonML and compiled to JS. It currently powers [epiderNES](https://kingcons.io/epiderNES), [source here][epi].

Downloads

13

Readme

About

Rawbones is an early-stage NES emulator written in ReasonML and compiled to JS. It currently powers epiderNES, source here.

It is inspired by long standing beliefs about the power of computers for kinesthetic learning. See: Research Goals.

There is a guide to rawbones intended for developers exploring the project. It can be found here. Feedback and pull requests are welcome!

Why another emulator?

Many NES emulators already exist, both on the web and the desktop. Our goal is to create a readable, tested, and compact code base sufficient for mostly accurate emulation of many but not all popular Nintendo titles.

Rawbones exists to support curious programmers learning about how the system and its titles worked rather than purely being a vehicle for reliving childhood gaming experiences. To be effective though, it must be able to run the games first. The codebase strives to be accessible for learning about emulation, sacrificing total accuracy and performance. The real product is not the code but epiderNES.

Now that rawbones is reaching playable status, our focus will increasingly shift towards building out debugging and reverse engineering tools in epiderNES. In addition to the usual tools to disassemble memory, inspect machine registers, or view VRAM, we hope to add support for tracing the game and building a directed graph of blocks and jumps as it runs.

Afterwards, we'll provide tools for the user to annotate the graph with notes about the code. This will move us towards our overall goal of making the high-level structure of programs "discoverable" through using them, calling back to the Tony Garnock-Jones quote above.

Compatibility

The CPU and Input handling is complete and well tested. The PPU (graphics support) is mostly complete and tested but some scrolling bugs remain.

Scrolling bugs are our first priority. In the near future, we hope to implement support for additional cartridge types (mappers) and APU support (audio). NROM, UNROM, and CNROM are currently supported.

  • NROM -> Arkanoid, Donkey Kong, Excite Bike, Super Mario Bros
  • UNROM -> Contra, Metal Gear, Prince of Persia
  • CNROM -> Paperboy, Q-Bert

To be implemented:

  • MMC1 -> Mega Man 2, Legend of Zelda
  • MMC3 -> Super Mario Bros 3, etc

Installation

We assume a recent version of Node is installed. This software is tested on node v10.12.0 and v12.8.0 on Mac OS High Sierra. It should run equivalently on a Linux system or newer versions of Mac OS.

Rawbones is currently available on NPM though doesn't currently export a JS API. ReasonML programs are the likely consumers.

We would be enthusiastic about receiving patches that document a formal API (along with any needed helper functions) to make using rawbones convenient from JS.

yarn fetches all dependencies and yarn build will produce JS in the src directory.

Usage

yarn start           # watch for changes and rebuild
yarn test --watchAll # run tests

NES Documentation

TODO