You can view the program completely here in PDF form and it is explained further down the page.
[wonderplugin_pdf src=”https://www.c64brain.com/wp-content/uploads/2021/05/C64-Lunar-Lander1.pdf” width=”100%” height=”600px” style=”border:0;”]
Finally let’s get an overview of the program’s structure and layout.
Lines 3-14 set up some variables as listed here:
3 EX=0
11 BZ=10
12 POKE 53280,0 – set border color to black
14 RW=1531:RZ=1764:RE=1:TE=1:RM=1397:TM=1
Lines 100-151 setup DATA statements
100 DATA0,24,0,0,24,0,0,60,0,0,126,0,0,90,0,0,90,0,0,219,0,0,195,0
110 DATA0,255,0,0,255,0,0,255,0,0,255,0,0,255,0,0,255,0,1,255,128,3,255,192
120 DATA3,255,192,15,255,240,40,255,120,56,255,28,49,255,140
130 DATA 0
140 DATA0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
150 DATA0,195.0,0,219,0,0,90,0,0,90,0,0,126,0,0,60,0,0,24,0,0,24,0,0,24,0,0,24,0