Skip to content
This repository has been archived by the owner on Jan 31, 2021. It is now read-only.
/ weaknes Public archive

Weaknes is a NES emulator written in JavaScript.

License

Notifications You must be signed in to change notification settings

zecoo89/weaknes

Repository files navigation

Weaknes

Weaknes is a NES emulator written with JavaScript.

CircleCI

Build

$ npm install
$ npm run build

Usage

index.js

async function main() {
  const path = './assets/nestest/nestest.nes'

  const AllInOne = NesPack.AllInOne
  const screenId = 'canvas'
  const isDebug = false
  const allInOne = new AllInOne(screenId, isDebug)
  await allInOne.run(path)
}

main()

index.html

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <link rel="icon" href="data:;base64,iVBORwOKGO=" />
    <title>Screen of NES emulator</title>
  </head>
  <body>
    <canvas id="canvas" width="256" height="240"></canvas>
    <script src="dist/bundle.js"></script>
    <script src="index.js"></script>
  </body>
</html>

Tools

https://github.com/zecoo89/weaknes/wiki

About

Weaknes is a NES emulator written in JavaScript.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published