A web-native NES development playground, with the intention of teaching NES/6502 development using assembly.
Find a file
Avik Das f585d106a5 Upgrade to Astro 5
- Update all the dependencies

- Add a new `svelte.config.js` file. For some reason, the Typescript
  integration was not working just by enabling the Svelte + Astro
  integration in `astro.config.mjs`.
2025-03-08 23:24:30 -08:00
.vscode Initial commit: Astro starter kit 2023-12-09 13:06:43 -08:00
nesasm-wasm Run NESASM to create ROM that runs in emulator 2023-12-10 00:38:37 -08:00
public Start of fixed point chapter 2024-01-02 22:06:09 -08:00
src Flesh out fixed point chapter a bit 2024-01-06 23:58:13 -08:00
.editorconfig Placeholder nesdev.astro file 2023-12-09 13:22:30 -08:00
.gitignore Start of first overview chapter 2023-12-21 01:37:28 -08:00
astro.config.mjs Revert to no base path 2023-12-29 23:37:04 -08:00
LICENSE Add LICENSE 2023-12-10 01:47:54 -08:00
LICENSE-nes-rust Add LICENSE 2023-12-10 01:47:54 -08:00
package.json Upgrade to Astro 5 2025-03-08 23:24:30 -08:00
README.md Update README.md 2023-12-11 23:28:47 -08:00
svelte.config.js Upgrade to Astro 5 2025-03-08 23:24:30 -08:00
tsconfig.json Initial commit: Astro starter kit 2023-12-09 13:06:43 -08:00
yarn.lock Upgrade to Astro 5 2025-03-08 23:24:30 -08:00

NES development on the web

🚀 Project Structure

Inside of your Astro project, you'll see the following folders and files:

/
├── public/
│   └── favicon.svg
├── src/
│   ├── component-instances/
│   │   └── BackgroundColorDemo.svelte
│   ├── components/
│   │   └── NesRomRunner.svelte
│   ├── layouts/
│   │   └── Layout.astro
│   └── pages/
│       └── index.astro
└── package.json

Astro looks for .astro or .md files in the src/pages/ directory. Each page is exposed as a route based on its file name.

Any static assets, like images, can be placed in the public/ directory.

🧞 Commands

All commands are run from the root of the project, from a terminal:

Command Action
yarn install Installs dependencies
yarn run dev Starts local dev server at localhost:4321
yarn run build Build your production site to ./dist/
yarn run preview Preview your build locally, before deploying
yarn run astro ... Run CLI commands like astro add, astro check
yarn run astro -- --help Get help using the Astro CLI

👀 Want to learn more?

Feel free to check our documentation or jump into our Discord server.