This is a project covering my exploration of coding 6502 assembly for the NES.
The goal isn't to produce a game, per se, but to hopefully learn to work with the NES architecture, tools for producing ROMS, etc. These little "lab sessions" should be accessible to anyone with some modest background in systems programming.
These are developed on KDE Neon (Linux), and the Makefile may not work for Windows.
You will need a copy of cc65 built and installed. My preferred emulator/debugger is fceux under Wine, and NOT the one under Linux, as their Windows release has a powerful set of debugging tools available. With them, you can inspect pattern and name tables!
Alternatively, I'd recommend mednafen,
which on Ubuntu systems can be installed with a simple sudo apt-get install mednafen
.
My latest example code will always live on the master branch. To see earlier demos/labs, please look at the labXX branches. Current ones include:
- Lab 1: Hello World!
- Lab 2: Drawing a background color
- Lab 3: Pattern, name, and attribute tables
To build and run:
make
mednafen bin/<name_of_rom>.nes