z80 Development Kit
You are not logged in.
Hi all,
I'm writing a program for the Speccy 128K and was just wondering if anybody had any advise on using paged memory.
The program is going to be a mouse-driven AY tracker (if it ever gets finished), and so far occupies about 17Kb of code, and that's only with a single patch editing screen (there will be a few more screens and hopefully MIDI support as well).
Any advice on how to proceed would be much appreciated.
Cheers,
Gaz.
Offline
The ideal way would be to abstract the extra RAM as a RAM disk, however as far as I'm aware there's no mechanism for doing this yet. It might be worth taking a look at how the Mojon Twins do it in their 128 games written with z88dk. Source code is available with most of them on World of Spectrum. The only other thing I can suggest is writing the program as a series of 16K chunks of code that can be paged in the top end of RAM and having the main code that calls them located below 49152.
Offline