The purpose of this repository is to have a place to reference jstout's excellent notes. Outside of structuring this repository and slight changes made, I've added nothing here.
This is still a work-in-progress as I will eventually get around to replacing the current sprites with new assets for CHRs generated with the help of NES Screen Tool.
I use the assembler/linker provided by the cc65 compiler, Mesen for debugging, and NES Extract for extracting PRG/CHR. Before compiling on Debian-based distros (or, on Windows via WSL), ensure you have the below packages installed:
sudo apt install cc65 build-essential
Each demo will have to be compiled individually. Just execute make
within the directory of the demo's corresponding make file. Alternatively for debugging, the Linux version of FCEUX can be used as well. If on Debian, download the version from their website instead of using the very old version provided by your package manager.
Not a requirement, but the code editor I use is Visual Studio Code with the Cole Campbell's language support extension. To install Visual Studio Code on Debian-based distros, execute:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > packages.microsoft.gpg
sudo install -o root -g root -m 644 packages.microsoft.gpg /etc/apt/trusted.gpg.d/
sudo sh -c 'echo "deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.microsoft.gpg] https://packages.microsoft.com/repos/vscode stable main" > /etc/apt/sources.list.d/vscode.list'
sudo apt update -y && sudo apt upgrade -y
sudo apt install apt-transport-https
sudo apt update -y
sudo apt install code
echo -e "export DOTNET_CLI_TELEMETRY_OPTOUT=1" >> ~/.bashrc
source ~/.bashrc