A snake game clone for Commodore home computers
Go to file
2020-04-06 16:22:48 +02:00
res.org level layout is unpacked on screen correctly 2020-04-02 16:17:48 +02:00
src some better colors 2020-04-06 16:22:48 +02:00
util some better colors 2020-04-06 16:22:48 +02:00
.gitignore first level draft - level txt parser 2020-04-02 01:13:10 +02:00
LICENSE repository organization fix 2020-04-01 21:11:08 +02:00
Makefile commented code for level loading 2020-04-02 17:09:57 +02:00
README.md level layout is unpacked on screen correctly 2020-04-02 16:17:48 +02:00

snake6502

snake6502 is a snake-like game clone for Commodore home computers, written for fun because «I always wanted to code something for a computer of my retrocomputers collection actually, this is the main reason I collect them: to write programs».

Compile

You need the dasm macro assembler, then:

$ make

You can also make it output useful extra info with:

$ make debug

Memory map

Address PRG Description
$0000 - $0001 no hardware
$0002 - $00FF no zero page pointers
$0100 - $07FF no free ram
$0800 - $0FFF yes initialized data segment (incl. const) + BASIC autostart
$1000 - $1FFF yes SID tune
$2000 - $27FF yes custom char
$2800 - $xxxx yes program logic (only needed part used)
$xxxx - $CCFF no free ram
$CD00 - $CDFF no data segment (not-initialized vars)
$CE00 - $CEFF no list X
$CF00 - $CFFF no list Y
$D000 - $DFFF no I/O
$E000 - $FFFF no Kernal