Skip to content
This repository has been archived by the owner on Jan 31, 2023. It is now read-only.

bokuweb/rustynes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rustynes

CircleCI

Work in progress

Screenshot

Demo

https://bokuweb.github.io/rustynes/

requirements

  • emscripten
  • rust
  • wasm-gc
  • SDL2

Using Nix

If you have the Nix package manager installed, you can alternatively run a nix shell with the necessary requirements automatically brought in scope:

nix-shell

In that shell, you can then simply run the following commands.

Development

webAssembly

$ make
$ npm install
$ npm start
$ open http://localhost:3334

Native

$ cargo run -p standalone --release roms/hello.nes

Build

webAssembly

$ make

Native

$ make standalone

Test

$cargo test

TODO

  • Mappers
    • Mapper0
    • Mapper1
    • Mapper2
    • Mapper3
    • Mapper4
    • Othres
  • PPU
    • 8 * 16 Sprite
  • APU
    • Noise
    • DCM
  • 2P GamePad

v0.1.0

prototype.

License

The MIT License (MIT)

Copyright (c) 2018 @bokuweb

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.