it's my first post here.
I am currently developing a text adventure game. I am obtaining a relatively large C source file that I then cross compile towards different targets using several compilers. Among those, I use and appreciate z88dk and I could obtain ZX Spectrum, CP/M, CPC and MSX executables with little effort.
I've been asked to port the program towards the ZX81. I know that I require the 32K RAM expansion, that seems to be present in different configurations. A friend on Twitter said to me "There seem to be a few options for the ZX81. The 16K is nearly always 4000-7FFF, but 32K varies. I went for 2000-9FFF, but I've seen 4000-BFFF and 4000-7FFF/C000-FFFF."
I tried to compile my software with the following command line:
Code: Select all
zcc +zx81 -lm -create-app -zorg=8192 mysoftware.c -o mysoftware
Reading that page:
https://github.com/z88dk/z88dk/wiki/Pla ... clair-ZX81
I'm a little concerned about the sentence "Programs cannot easily be run over the first 16K memory limit: the RAMTOP is not positioned automatically over it. There is also a further problem when running in HRG mode, a special character vector declared in the startup code need to be kept in that limit too." as my program will require about 28 KB of memory.
Unfortunately, I have a ZXSpectrum, but my knowledge of the ZX81 is almost equal to zero...