Various snippets of 6502 assembly for the go6502 debugger.
Updated README.
Migrated to git.intrfc.com <3
Corrected the LL_NEXT documentation.


browse  log 



You can also use your local clone with git send-email.


Various snippets of 6502 assembly for the go6502 debugger. Many programs are derived from go6502's sample files, written by Brett Vickers, which is shared under the simplified BSD 2-Clause License, available here. Original work in this cookbook is offered under the compatible MIT License.

Clone this git repository, including the go6502 submodule, via:

git clone --recurse-submodules https://git.sr.ht/~chotrin/go6502-cookbook

The programs may be built by cding into the appropriate directory and executing:

go6502 program.cmd

#cookbook structure.

This cookbook is structured in the order I encountered things I needed to learn or implement for my first NES game. Here's a brief overview:

  • 00_arithmetic_program - contains basic math operations, such as addition, subtraction, multiplication, and division.
  • 01_linked_list - contains an example implementation of a linked list, including pushing new elements to the list, traversal, and deletion.