Things You'll Need
Instructions
Choose an SNES emulator. This is a program you'll run on your computer to mimic the SNES console. This is a quicker way to test and debug your code. There are many SNES emulators out there you can download for free. Check the Resources section below for a list of free emulators on the web. Bsnes is considered the most accurate emulator but is only available for Windows.
Download an assembler program. This will be the program used to compile your game code before running it in the emulator. The WLA-65816 Micro Assembler is a great assembler program for writing SNES games.
Write your code in the assembler. When you're ready to test, you'll convert this program into a ROM file. If your code is in a file called "testgame.asm," your first step is to run "wla-65816 -vo testgame.asm testgame.obj" to create an object file.
Make a link file by opening a blank text file and include "[objects]" on the first line and "testgame.obj" on the second line. Save this file as "testgame.link."
Utilize the WLA linker by running "wlalink -vr testgame.link testgame.smc." The smc file is a ROM file, which is the same code that runs on an SNES.
Run the code in your SNES emulator to test it. If it works properly, you can plug in a controller and play it just as if it were on a Super Nintendo system.