https://github.com/willsams/jstout-programming
All of his notes and demos. http://tecmobowl.org/forums/topic/55469-nes-programming-info/
https://github.com/willsams/jstout-programming
6502 6502-assembly cc65 homebrew nes
Last synced: 6 months ago
JSON representation
All of his notes and demos. http://tecmobowl.org/forums/topic/55469-nes-programming-info/
- Host: GitHub
- URL: https://github.com/willsams/jstout-programming
- Owner: WillSams
- Created: 2017-06-10T23:54:38.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-13T11:58:56.000Z (about 4 years ago)
- Last Synced: 2025-06-19T18:12:39.955Z (6 months ago)
- Topics: 6502, 6502-assembly, cc65, homebrew, nes
- Homepage:
- Size: 5.65 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JStout's NES Programming Notes
The purpose of this repository is to have a place to reference [jstout's excellent notes][1]. 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][2].
## Building the Demos
I use the assembler/linker provided by the [cc65 compiler][3], [Mesen][6] for debugging, and [NES Extract][7] for extracting PRG/CHR. Before compiling on Debian-based distros (or, on Windows via WSL), ensure you have the below packages installed:
```bash
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][8] 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.
## Editing
Not a requirement, but the code editor I use is [Visual Studio Code][4] with the Cole Campbell's [language support extension][5]. To install Visual Studio Code on Debian-based distros, execute:
```bash
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
```
[1]: http://tecmobowl.org/forums/topic/55469-nes-programming-info/
[2]: https://shiru.untergrund.net/software.shtml
[3]: https://cc65.github.io/index.html
[4]: https://code.visualstudio.com
[5]: https://github.com/tlgkccampbell/code-ca65
[6]: https://mesen.ca/
[7]: https://github.com/WillSams/Nes-Extract
[8]: https://ci.appveyor.com/api/projects/zeromus/fceux/artifacts/fceux-2.4.0-amd64.deb?branch=master&job=Ubuntu