Programs for the NES. Thanks to PDRoms for archiving some of these programs.
Table of contents:
example.asm
: source code (assembles with ASM6)example-assemble.sh
: Linux script that assembles the program (warning: deletes files)example-chr.bin.gz
: raw CHR ROM data (gzip compressed)example-chr.png
: CHR ROM data as an image (can be encoded withnes_chr_encode.py
in my NES utilities)example.nes.gz
: assembled program (iNES format, gzip compressed)example.png
: screenshot
Plays a short video of Doom gameplay (64×48 pixels, 4 colors, 10 fps, no audio).
Prints Hello, World!.
Shows the transgender flag. Note: this program is heavily optimized for size; it does not represent good programming practice. The actual size is 95 bytes (including interrupt vectors and CHR data).
The program in hexadecimal:
a2038e00202c022010fbcad0f88a20f1
ffa002a2188d0720cad0faa9ff88d0f3
a93f20f1ffa003b9f8ff8d07208810f7
a92020f1ffa005b9ebffa2c08d0720ca
d0fa8810f2a90a8d0120000102000201
8d06208e06206025210030a1ffebff