This chapter is a draft. See the outline.

cc65 Game template

Getting started with the game template for cc65 and Atari Lynx
Word count: 167
In this chapter:

Create a repository from cc65 game template

alt text

Choose the owner and give it a name of your choice, for example game-tutorial.

alt text alt text

Clone the repository to your local computer:

git clone https://github.com/alexthissen/game-tutorial.git game-tutorial

alt text

Using GitHub Codespaces

alt text

alt text alt text alt text Build the project by pressing Ctrl+Shift+B and selecting cc65 Make Build (Debug) from the selection that opened.

alt text

# Flags for C-code compiler
CFLAGS=-I ./includes -t $(SYS) --add-source -O -Or -Cl -Os -D $(BUILD)

# Change name of target file below
target = shmup.lnx
objects = lnxheader.o directory.o main.o game/game.o vbl.o \