Skip to content

Sager611/nes-gravity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NES gravity toy project

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.

Run

Download the mesen emulator (arch/manjaro linux):

sudo pacman -Sy mesen

Run the .nes file with it:

mesen gravity.nes

Building the source

Since the NES uses a 6502 processor, you will need the following to compile the code:

To build the assembly simply run the following in a terminal:

asm6f gravity.asm gravity.nes

CHR Editor

In 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.

About

NES toy example project including a CHR editor written in JavaScript

Resources

License

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors