Quine is a program that displays own source code.
Assemble using nesasm.
nesasm QuiNES.asmbuild.bat is available for windows.
Burn to 16KiB NROM cartridge.
It can also be executed with a flash cartridge like EverDrive.
| Key | Description |
|---|---|
| D-Pad Up, Down | Scroll the screen |
SrcData defines the source code string for each row,
and SrcIndex defines the display line number corresponding to the source code.
First, the source code is displayed it from SrcData, then SrcIndex and SrcData, and finally CHR ROM from PPU.
The code is ... a verbose screen rendering process.
- All written in assembly
- Include CHR in source code
- Do not include files
- Do not macroize routines
- Do not disassemble code area and display it
- None so far
