SNES Programming Guide

Welcome to my tutorial on SNES programming. The journey of a thousand miles begins with one step.

! The M1TE and SPEZ apps have been updated, Oct 27, 2021 ! They can import images. See links below.

.

SNES Overview

65816 Basics

Further in 65816

What you need, SNESdev

How ca65 works

SNES Example 1

DMA palette

Backgrounds

Layers / Priority

Sprites

Controllers and NMI

Pong. Sprite collisions.

BG Scrolling

BG Collision

SNES Music

HDMA Examples

Color Math

Things I Forgot

SNES Music 2

More tools.

.

.

.

I made some tools to help develop for the SNES. Click on “Releases” to find the exe file. They are .NET apps that can run on non-Windows computers with MONO.

https://github.com/nesdoug/M1TE2

M1TE_NOBODY

https://github.com/nesdoug/SPEZ

SPEZ

SNES example code, easySNES, is not used in the tutorial, but is better in a lot of ways.

https://github.com/nesdoug/SNES_00

Documentation

https://wiki.superfamicom.org/

https://problemkaputt.de/fullsnes.htm

.

(Super Nintendo. Super Famicom. SFC. Gamedev. SNESdev.)