This is a simple toy project with gravity simulation in 6502 assembly for the NES.
It comes with the assembly code and a NES compiled ROM.
It also includes an editor for files in CHR format written in JavaScript:
You can use this editor on GitHub Pages.
Download the mesen emulator (arch/manjaro linux):
sudo pacman -Sy mesen
Run the .nes file with it:
mesen gravity.nesSince the NES uses a 6502 processor, you will need the following to compile the code:
- asm6.
To build the assembly simply run the following in a terminal:
asm6f gravity.asm gravity.nesIn the chreditor-js/ folder you can find chreditor.html. Double-click or open it in a web browser and you should see a simple editor for CHR files.
You can use this editor on GitHub Pages.

