zx128: Move buffers to 0x6000 and dynamically reclaim space
authorAlan Cox <alan@linux.intel.com>
Sun, 25 Nov 2018 16:10:59 +0000 (16:10 +0000)
committerAlan Cox <alan@linux.intel.com>
Sun, 25 Nov 2018 16:10:59 +0000 (16:10 +0000)
commitae3abb6d0a53d67fcd4a62aa96c95c8a3e637547
tree2358766f5c9c8dbaf8901e49379fcb13778e8403
parentea6c7412380a3b439204efa03c4dd0e9d31a4bdc
zx128: Move buffers to 0x6000 and dynamically reclaim space

This gets us dynamic buffers as we want and also frees up the space between
0x4000 and 0x5FFF so that we can use the ZX Spectrum classic screen mapping
and leaves a bit of space in case we need to use any ROM hooks that want to
use system variables and BASIC hooks.

We are a bit tight between 0x2000 and 0x3FFF but have enough space for now.

Freeing up the space means we can next move the screen down. That makes the
screen potentially directly addressible from user space which is a huge win.

It also means we'll have a load of free space in CODE3 which is what we want
as well as probably room to migrate the font about a bit
Kernel/platform-zxdiv/config.h
Kernel/platform-zxdiv/crt0.s
Kernel/platform-zxdiv/fuzix.lnk
Kernel/platform-zxdiv/kernel.def
Kernel/platform-zxdiv/main.c