ZX Spectrum Next Layer 2 Graphics - Retro Coding in C and Z80 - Devlog #2 @ncot_tech
ZX Spectrum Next Layer 2 Graphics - Retro Coding in C and Z80 - Devlog #2  @ncot_tech
Uploaded March 2021 | Updated November 2026, 4 days ago
In this video I work out how to plot pixels onto the ZX Spectrum Next's Layer 2 graphics mode.

I look at the way the video memory is organised, how to create 8 bit per pixel colours and use the DMA controller to quickly erase the screen.

For fun I also draw some pretty patterns and a sierpinski triangle.

ZX Spectrum Next Layer 2 Graphics - Retro Coding in C and Z80 - Devlog #2

Links:
R3G3B2 macro - gist.github.com/ncot-tech/35c2263a7978edb48d03e7b640ab58b0
Layer 2 Pixel Plotting - gist.github.com/ncot-tech/e9ca03dbfd825a9e074d156f5c52bce4
Using DMA to clear screen - gist.github.com/ncot-tech/f51ddcc4bd307f2bc0ccdf3d86772c5d

Sections:
0:00 - Intro
0:25 - Layer 2 explained
1:06 - Memory banking
4:32 - RGB Colour
9:31 - DMA
12:02 - Overview
ZX Spectrum Next Layer 2 Graphics - Retro Coding in C and Z80 - Devlog #2Atari ST mouse - how’s it work anyway?I Threw Away My Game Engine and Rebuilt It — Heres WhyHow computers add numbers using logic gates - Half and full adders explainedCalculators, Reverse Polish Notation, and the Birth of ComputingThe PC Speaker shouldnt sound this good!These cables shouldnt exist, they make no sense!How computers store decimal numbers - IEEE754 ExplainedGenerating Infinite Pi Digits Without OverflowCoding Dithering From Scratch - Random Ordered and Floyd-Steinberg ExplainedRoku streaming stick YouTube failHow computers drew 3D before GPUs existed
NCOT Technology |

ZX Spectrum Next Layer 2 Graphics - Retro Coding in C and Z80 - Devlog #2

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER