128k Programming basics – Vortex Tracker part 2

This is not officially a part of Z88dk Lessons (just yet). What I wanted to accomplish was getting the Vortex 2 player to compile along with a song and load it as an already working tap.

Continue reading “128k Programming basics – Vortex Tracker part 2”

128k Programming basics – Vortex Tracker part 1

This is not officially a part of Z88dk Lessons (just yet). What I wanted to accomplish was getting the Vortex 2 player to compile along with a song and load it as an already working tap.

The Vortex 2 tracker is officially available at https://bulba.untergrund.net/main_e.htm

Continue reading “128k Programming basics – Vortex Tracker part 1”

128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 10 WYZ Tracker and Player

This is the tenth lesson of programming the 128k ZX Spectrum. Today, I’m going to write about adding music to your program. I’m not going to be writing about making the song itself (perhaps except a rousing version of “Mary had a little lamb”) but integrating the WYZ player into Z88dk.

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 10 WYZ Tracker and Player”

128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 9

Bank Switching

This is the ninth lesson of programming the 128k ZX Spectrum. Today, I’m going to write about BANK Switching your compiler. In this particular case, I’m going to be loading images. Please note, what I am about to explain is a simple test case only.

If you missed out on lesson 8, it’s available at:

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 9”

128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 8

Bank Switching Loader

This is the eighth lesson of programming the 128k ZX Spectrum. Today, I’m going to write about the BANK Switching loader in your compiling tool-chain. In this particular case, I’m going to be loading just a byte of data per bank. After all of the bank loading, we will overwrite the banking code and replace it with our main().

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 8”

Programming basics using Z88DK and the SCCZ80 compiler Lesson 7

File Compression

This is the seventh lesson of programming the 128k ZX Spectrum. Today, I’m going to write about the integration of the ZX0 compressor, written by Einar Saukas.

Continue reading “Programming basics using Z88DK and the SCCZ80 compiler Lesson 7”

128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 6

Loading uncompressed Assets

This is the sixth lesson of programming the 128k ZX Spectrum. Today, I’m going to write about loading assets into your compiler. In this particular case, I’m going to be loading images. Please note, what I am about to explain is a simple test case only. The images are going to be uncompressed for this lesson, so this would never be used in real life. My coverage of compression will happen in the next lesson, so be on the lookout for that.

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 6”

Disassemble Interrupt Mode on some popular ZX Spectrum 128k Games

This article is only meant for research purposes to take a look at how some of the classic ZX Spectrum 128k games were written that use IM2.

Here are the steps that I use to look at the code of some of the Speccy classic 128k games, so I can see how the IM2 was used for some of the games in the heyday.

Continue reading “Disassemble Interrupt Mode on some popular ZX Spectrum 128k Games”

128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 5-1 : IM2 revisited and corrections

This follow up article is to point out some mistakes I made in my last article for Lesson 5.

The article is found at https://zxspectrumcoding.wordpress.com/2021/09/10/128k-programming-basics-using-z88dk-and-the-sccz80-compiler-lesson-5/

The first thing I want to point out is that IM2 stands for Interrupt Mode 2, this was pointed out to me and I since corrected the article with the updated name.

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 5-1 : IM2 revisited and corrections”

128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 5

Interrupt Mode 2: Pardon the Interruption

This is the fifth lesson of programming the 128k ZX Spectrum. Today, I’m going to write about interrupt mode 2, rolling out our own routine and setup. We are making some changes from lesson 4, in which our focus was on placing C code in sections, today we are going into a bit of assembler not to worry, this should be pretty easy to layout in Z88dk.

Continue reading “128k Programming basics using Z88DK and the SCCZ80 compiler Lesson 5”
Design a site like this with WordPress.com
Get started