z88dk v2.3 released

Announcements for z88dk releases
Post Reply
User avatar
dom
Well known member
Posts: 2280
Joined: Sun Jul 15, 2007 10:01 pm

z88dk v2.3 released

Post by dom »

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.
Timmy
Well known member
Posts: 423
Joined: Sat Mar 10, 2012 4:18 pm

Re: z88dk v2.3 released

Post by Timmy »

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

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.
So should I just download the nightly instead of 2.3, or is there going to be a fix?
Timmy
Well known member
Posts: 423
Joined: Sat Mar 10, 2012 4:18 pm

Re: z88dk v2.3 released

Post by Timmy »

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. :)
stefano
Well known member
Posts: 2309
Joined: Mon Jul 16, 2007 7:39 pm

Re: z88dk v2.3 released

Post by stefano »

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!"
Timmy
Well known member
Posts: 423
Joined: Sat Mar 10, 2012 4:18 pm

Re: z88dk v2.3 released

Post by Timmy »

stefano 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!"
Yes, I did read it at https://github.com/z88dk/z88dk/releases and downloaded z88dk-src-2.3.tgz :)

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).
User avatar
jorgegv
Well known member
Posts: 309
Joined: Wed Nov 18, 2020 5:08 pm

Re: z88dk v2.3 released

Post by jorgegv »

In Fedora the needed package is gmp-devel
Timmy
Well known member
Posts: 423
Joined: Sat Mar 10, 2012 4:18 pm

Re: z88dk v2.3 released

Post by Timmy »

jorgegv wrote: Wed Jan 10, 2024 11:06 am In Fedora the needed package is gmp-devel
Thanks! I just got 2.3 compiled successfully with your help!
User avatar
jorgegv
Well known member
Posts: 309
Joined: Wed Nov 18, 2020 5:08 pm

Re: z88dk v2.3 released

Post by jorgegv »

My pleasure!
snake
New member
Posts: 2
Joined: Thu Jan 18, 2024 12:34 am

Re: z88dk v2.3 released

Post by snake »

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
User avatar
dom
Well known member
Posts: 2280
Joined: Sun Jul 15, 2007 10:01 pm

Re: z88dk v2.3 released

Post by dom »

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.
Post Reply