This is the fifth part of a multi-part series of using Z88dk to create a 128k program with Bank Switching. The code is available from https://github.com/andydansby/zx-spectrum-128k-screen-paging-sccz80
Z88dk Bank Switching Part 5: SECTIONS
Today, let’s take a look at sections which is a mechanism that Z88dk uses to place bits of code and data within a certain section of memory. This allows Z88dk to manage your memory and automatically make adjustments without having to manually link via code data and code blocks. This is what we need for bank switching.