Programming the NES - Everything you need to know
Inkbox
@inkboxsoftwareAbout
Assembly required.
Latest Posts
Video Description
This is a tutorial for how to program the Nintendo Entertainment System (NES) and the Family Computer (Famicom). This guide covers setting up a basic NES program in 6502 Assembly and then looks further into working with basic sprites. At the end of the video and down below I provide more resources as a jumping off point as you begin to program the NES. The six chapters are broken down as follows: Intro 0:00 NES Architecture 0:47 Setting Up Your Programming Environment 3:32 Understanding Your Assembly File 5:36 Getting Started with Sprites 10:59 More on Sprites 20:08 Where to go next 27:53 *Prerequisites:* A computer with internet access A working knowledge of 6502 assembly *Final boiler plate program:* https://github.com/InkboxSoftware/NESGuide *Architecture note:* The APU is a part of the NES' CPU, but programmatically it can be thought of as a separate device, and so that is what I treat it as in my video. *Setting up your environment resources:* Notepad++ https://notepad-plus-plus.org/ Sublime Text https://www.sublimetext.com/ Notepad++ NES 6502 custom language config https://github.com/xram64/6502-npp-syntax My version of it: https://drive.google.com/file/d/1tmMkrgJ0yI8B6GLte7AxUWMSDcKA3Zin/view?usp=sharing YYCHR https://www.smwcentral.net/?p=section&a=details&id=27208 https://www.romhacking.net/utilities/119/ CC65 https://cc65.github.io/ https://github.com/cc65/cc65 FCEUX https://fceux.com/web/home.html *Resources and further reading:* Nesdev Wiki https://www.nesdev.org/wiki/Nesdev_Wiki Learn Assembly links https://www.masswerk.at/6502/6502_instruction_set.html https://en.wikibooks.org/wiki/6502_Assembly https://archive.org/search.php?query=6502+assembly NES 2.0 Header: https://www.nesdev.org/wiki/NES_2.0 A list of errors to keep in mind: https://www.nesdev.org/wiki/Errata *Other Guides:* The Zero Pages https://www.youtube.com/watch?v=JgdcGcJga4w&list=PL29OkqO3wUxzOmjc0VKcdiNPqwliHEuEk&ab_channel=MichaelChiaramonte https://notin.tokyo
You May Also Like
NES Programming Starter Kit
AI-recommended products based on this video

Meta Quest Compact Carrying Case - Refreshed Compact Design - Fits Quest 3/3S, Touch Plus Controller, Active Straps, Charging Cable and Adapter - Compact Carrying Case Edition

Meta Quest Carrying Case for Meta Quest 3/3S - Premium Style and Protection - Fits Headset, Touch Plus Controller, Head Strap, Active Straps, Charging Cable and Adapter 24.2 cm x 32.8 cm x 12.8 cm

CHARM FOCUS Stereo Headset Adapter, Audio Mic Headphone Adapter for Xbox One, Xbox Series X|S and Elite Controller, Adjust Audio Balance (Game Sound & Voice Chat), Not Bluetooth Compatible

2 Pack Rechargeable Controller Battery Pack for Xbox Series X|S and Xbox One with 10FT USB C Charging Cable and Micro USB Adapter 6amLifestyle Battery Pack Xbox Play and Charge Kit

Retro Game Console, Wireless Retro Game Console, Plug & Play Video TV Game with 25100+ Built-in Games, 4K HD Output, and 2.4GHz Wireless Controller, 9 Classic Emulators(Black)

Retro Game Console, Wireless Retro Game Console, Plug & Play Video TV Game with 24500+ Built-in Games, 4K HD Output, and 2.4GHz Wireless Controller, 9 Classic Emulators(Black)

Retro Game Console, Wireless Retro Game Console, 24500+ Games Built-in, 4K HDMI Output, 9 Emulators, Dual 2.4GHz Wireless Game, Plug and Play Video Games, Deep Black(64G)

Retro Game Console, Wireless Retro Game Console, 24500+ Games Built-in, 4K HDMI Output, 9 Emulators, Dual 2.4GHz Wireless Game, Plug and Play Video Games, Black(64G)

Retro Game Console, Wireless Retro Game Console, Plug & Play Video TV Game with 25100+ Built-in Games, 4K HD Output, and 2.4GHz Wireless Controller, 9 Classic Emulators(Black)

Retro Game Console, Wireless Retro Game Console, Plug & Play Video TV Game with 24500+ Built-in Games, 4K HD Output, and 2.4GHz Wireless Controller, 9 Classic Emulators(Black)

eXtremeRate ABXY Buttons for Xbox Core Wireless Controller, Two-Tone Carmine Green & Clear Classic Symbols Action Buttons Replacement Prats for Xbox One S/X, Elite Series 2 Core & 1 Controller



















