I've uploaded a 2.3 release snapshot, this is just a copy of the 20231220 nightly.
As ever, there's a large number of changes, the headline items are:
* z88dk now supports ez80, r800, r4k, r5k, kc160 processors
* New video drivers: V9938, Tektronix, Regis
* New fixed point Q8.8 maths library
* Upgrade to SDCC 4.3.0 r14210
New and significantly improved targets for this release:
* Agon Light +agon
* Aquarius Plus +aquarius -clib=aqplus
* Amstrad CPC +cpc
* Einstein 256 +cpm -subtype=einstein256
* Nabu PC +cpm -subtype=nabupc
* Nabu PC +nabu
* TI83+ +ti83p
Downloads are available on GitHub, I'll update the sourceforge release later on this evening.
z88dk v2.3 released
Re: z88dk v2.3 released
Just to let you know that I was trying to build and install the released version 2.3 (the linux tgz version) tonight, and I got the same missing file problem as mentioned in the other thread viewtopic.php?t=11862
So should I just download the nightly instead of 2.3, or is there going to be a fix?
Code: Select all
gcc -g -O2 -Wall -std=gnu11 -MMD -pedantic -I../common -c -o ti8xk.o ti8xk.c
ti8xk.c:20:10: fatal error: gmp.h: No such file or directory
20 | #include <gmp.h> // Not much you can do about The GNU multi-percision library
| ^~~~~~~
compilation terminated.
Re: z88dk v2.3 released
Sorry about that. It was 3am when I posted it. I'll just repost the problem in some other thread, but you can leave it unchanged if you want to. 

Re: z88dk v2.3 released
You probably did, but can I ask if you downloaded the right z88dk-src-2.3.tgz file ?
I'm asking because there is a possible confusion: "Do not download the autogenerated "Source code" files at the bottom - they are missing dependencies and won't compile correctly!"
I'm asking because there is a possible confusion: "Do not download the autogenerated "Source code" files at the bottom - they are missing dependencies and won't compile correctly!"
Re: z88dk v2.3 released
Yes, I did read it at https://github.com/z88dk/z88dk/releases and downloaded z88dk-src-2.3.tgzstefano wrote: ↑Fri Jan 05, 2024 1:03 pm You probably did, but can I ask if you downloaded the right z88dk-src-2.3.tgz file ?
I'm asking because there is a possible confusion: "Do not download the autogenerated "Source code" files at the bottom - they are missing dependencies and won't compile correctly!"

But it's good to re-iterate here.
It's just that libgmp3-dev is an odd one, you added that in the main table but I don't actually check if it's new. It's probably not in the list of "sudo apt install" either.
Now I use zypper instead of apt, and their repositories don't have libgmp3-dev. The closest they have is something like libgmpxx4, and I'm not sure yet if it is the one (no dev or devel suffix there though).
Re: z88dk v2.3 released
In Fedora the needed package is gmp-devel
Re: z88dk v2.3 released
My pleasure!
Re: z88dk v2.3 released
eZ80 +agon
Does this include ADL=1 (24 Bit Mode)
"[z80asm] add support to ez80, both z80 memory mode and ADL memory mode"
What are the specific switches?
Simple command line:
~ % zcc +agon -ohelloworld.bin helloworld.c
Does this include ADL=1 (24 Bit Mode)
"[z80asm] add support to ez80, both z80 memory mode and ADL memory mode"
What are the specific switches?
Simple command line:
~ % zcc +agon -ohelloworld.bin helloworld.c
Re: z88dk v2.3 released
The compilers and libraries only support z80 mode, however access to more than 64k of data is available using either named address spaces or __far pointers. As a result +agon binaries are, as indicated on the wiki, ADL=0 compilations.
Both the assembler (z88dk-z80asm) and disassembler (z88dk-dis) support ADL=1.
From the command line we use -mez80 to indicate ADL=1 and -mez80_z80 to indicate ADL=0. Of course z80asm supports the .ASSUME ADL=0/1 directives.
Both the assembler (z88dk-z80asm) and disassembler (z88dk-dis) support ADL=1.
From the command line we use -mez80 to indicate ADL=1 and -mez80_z80 to indicate ADL=0. Of course z80asm supports the .ASSUME ADL=0/1 directives.