A snake game clone for Commodore home computers
Go to file
giomba 299eee1257 Reorganized memory
Now program takes less space in RAM.
All variables, costants and Lists are moved before the SID song,
in a previously unused space (BASIC RAM).
SID song edit has been changed:
	- same song but slightly different
	- takes up a bit less than 4k
	- more catchy :-)
	- perfectly fits in $1000-$2000 and allows...
...the new custom charset to be put at $2000!
	- Taken TGGS font and properly customized with tiles
Now actual program starts at $2800.

Also added some useful code for assembler to output debug infos when
assembling with -DDEBUG=1

In the meanwhile discovered tremendous subtle bug due to uninitialized
structure (listX and listY). Fixed.

Memory map now is:
	+-------------------------------+
0000	| things in zero page		|
	|	and low RAM		|
	+-------------------------------+
0800	| BASIC autostart		|
	| then data (variables,		|
	|	costants and strings)	|	<-- this can be done better using segments. Reminder for the future.
	|				|
	+-------------------------------+
0E00	| listX				|
	+-------------------------------+
0F00	| listY				|
	+-------------------------------+
1000	| SID song			|
	|				|
	|				|
	+-------------------------------+
2000	| TGGS Custom font charset	|
	|				|
	+-------------------------------+
2800	| ACTUAL CODE			|
	|				|	<-- plus some garbage data, see above (segments TODO)
	.				.
	.				.
2018-09-10 21:39:53 +02:00
.gitignore Improved graphics 2018-09-10 15:41:12 +02:00
amour.sid Reorganized memory 2018-09-10 21:39:53 +02:00
BUGS Probably fixed rare bug: 2017-12-22 12:30:42 +01:00
Makefile Improved graphics 2018-09-10 15:41:12 +02:00
multicolor.asm Reorganized memory 2018-09-10 21:39:53 +02:00
snake.asm Reorganized memory 2018-09-10 21:39:53 +02:00
tggs.font Reorganized memory 2018-09-10 21:39:53 +02:00