This is an Amix-interoperability fork of shanshe/Z3660 (GPL-3.0, full credit to sHaNsHe). It adds a real 68030 PMMU emulator and an emulated A3000 mainboard SCSI so a Z3660 + Z-turn can boot Amiga UNIX (AMIX) 2.1. If you don't run AMIX, nothing changes — the additions default to off and upstream behaviour is unchanged.
What's new in this fork (full reference: docs/AMIX.md):
- 68030 PMMU emulation — new
bootmode UAE_030_MMU(a 68030 interpreter with a working PMMU).- Emulated A3000 SCSI — AMIX's kernel bootstrap path (SuperDMAC + WD33C93).
- New config knobs —
amix_mode(AMIX memory contract) andservice_cadence(emulator throughput vs. interrupt latency), plusDEMU/DSCSIruntime debug gating.- Guest-side AMIX drivers —
amix-z3660scsi/amix-z3660net(SCSI + ethernet inside AMIX) live in the companion amix-kerntools repo.
- Download
BOOT.BINfrom this repo's Releases (no build needed).- Copy it to the SD card's FAT32 boot partition; use the layout in
z3660-zturn_SD_content/for the rest.- You supply your own Kickstart ROM(s) and disk image — Amiga OS ROMs and AMIX itself are copyrighted and are not included.
A dockerised toolchain builds the firmware and the Amiga-side drivers — see docker/README.md. (Drivers build with no AMD account; the full firmware build needs you to download AMD/Xilinx Vitis 2023.2 yourself — it is staged outside the repo and never committed.)
Needs an A3000-variant Kickstart (A4000 ROMs can't boot AMIX) and an AMIX disk image placed on the SCSI id it was installed on (id 6 for the usual A3000 install — see the note in docs/AMIX.md). AMIX 2.1 boots to a stable multiuser login shell; full setup, the SCSI-id rule and current status are in docs/AMIX.md.
Z3660 is an Amiga 4000 CPU accelerator board based on A3660 and Z-turn FPGA board.
Compared to A3660, Z3660 has some key differences:
1. Z3660 accelerator board can only use 060 CPUs. This could be changed in the future, but at this time, only 060 is supported.
2. If Z-turn FPGA board is NOT used, then you get a simple A3660. The only difference is that all A3660 PLDs are replaced by a XC95144XL-10TQ144 CPLD. It could be possible to use 060 up to 100MHz, but only 50 MHz and 64 MHz has been tested. A board with 128 MB of CPU RAM is in the works (to be connected at Z-turn sockets).
3. If you use a Z-turn FPGA board, then you can add 128 MB of CPU RAM (DMA compatible), 256 MB of Z3 RAM (not DMA compatible), RTG 16bit, Ethernet, AHI and MHI. Also there is a SD to SCSI emulation for using raw RDB disk images (USB storage maybe in the future). And of course, you can use a 68060 rev6 at 100 MHz.
Main branch. Z3660 with Z-turn FPGA
This main branch has everything you need to build a Z3660 with Z-turn FPGA.
If you want to build Z3660 without Z-turn FPGA, please go to wo_FPGA branch. The board is the same, but the CPLD firmware and BOM are obviously different.
Current version of Schematics is v021. It has all fixes needed by v02 to have DMA compatibility (tested with ReA4091 as bus master), so you can build it.
The exact model of Z-Turn board you will need is: MYS-7Z020-V2 ( mouser (C or C-S. C-S has restrictions on EU - UK) ).
In this version you can see that I have used a 3V3 DCDC converter, instead of old linear regulator on VR1. Board has both footprints in one. Please be careful with its connection.
Note on RTG status: RTG is full working now. It has all features that ZZ9000 has (except obviously scandoubler). Due limitations of Z-turn, output video is limited to 16 bit.
Manufacturer ID was asigned to 5195 decimal, 0x144B hexadecimal (thanks to Olaf Barthel).
All RTG, AHI and MHI are based on [ZZ9000 RTG](https://source.mnt.re/explore). It has the same band-pass filters as the AX module, but made in software by one of the ARMs.
And finally, a checkmate move...
Don't have a 060 rev6 CPU, and still want to try Z3660 with a Z-turn?
sHaNsHe to the rescue!!! :P
One of the Z-turn ARM CPU can run the emulation code of a 68040 CPU with JIT that reaches up to 120 MIPS!!!
It is based on Amiberry CPU code (for 32bit ARM). (And yes, I know, but Emu68 no longer supports 32 bit ARM).
You can even switch between the real 060 CPU and the emulation by clicking on an app (and rebooting).
Discord channel link:
https://discord.gg/ua4u6SzyHf
Documents to read before using your Z3660
You should read the "KNOWN_ISSUES.md" and "CHANGES.md" files to know the latest news.
Thanks to ByteMavericks we have now the [wiki](https://github.com/shanshe/Z3660/wiki)

