128k Programming basics using Z88DK and the SCCZ80 compiler lesson 2, part 1

Setting up BATCH files

This is our second lesson, part 1 of programming the 128k ZX Spectrum. I have split up this lesson into several parts as I have greatly expanded the source code. Even though the code is still simple, I have split up the code into three different areas. Our eventual goal for this lesson is to combine our 3 memory sections into one program. We are not, in this lesson, going for anything spectacular, this is going to be simple code. Even though we are combining 3 sections into one program, the ram-low section and Ram 0 section are going to be storing assembly variables. The nice thing is that assembly variables can be easily seen in C. The irritating thing is that you have to slightly alter the name making it difficult to trace at times. In the end, we are going to be able to place different routines in different memory sections.

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler lesson 2, part 1”
Design a site like this with WordPress.com
Get started