I have been ruminating about Nigel Williams' question as to running Z80 Cromix under Linux. He suggested yaze-ag and I have another easier idea ...
It is to use the already excellent and lofty work of Udo Monk and use his Z80 pack
---
He has decent instructions for CPM but not for running cromemcosim which enables you to run CDOS or Z80 cromix under Linux.
So I have just got it all working, Cromix 11.27, 3 terminals, under x64 Linux on Ubuntu 20 ...
The big picture is this
- you download his latest Z80 pack which is at level 1.37
- you will need to compile up the frontpanel and also the simulator
- I found a couple of packages missing from my Ubuntu 20 Linux system. Well Virtual Machine. My notes are
sudo apt-get install libpthread-stubs0-dev
sudo apt-get install libjpeg-dev
sudo apt install mesa-common-dev
sudo apt-get install libglu1-mesa-dev
sudo apt-get install -y mesa-utils
sudo apt-get install -y x11-utils
cd ~/z80pack-1.37/frontpanel
make -f Makefile.linux clean
make -f Makefile.linux clean
cd ~/z80pack-1.37/cromemcosim/srcsim edit Makefile.linux and change LFLAGS to
FLAGS = -L../../frontpanel -lfrontpanel -ljpeg -lGL -lGLU \
-lX11 -lm -lpthread
make -f Makefile.linux clean
make -f Makefile.linux
sudo cp libfrontpanel.so /usr/local/lib
cd ~/z80pack-1.37/cromemcosim
edit cromix script and insert this line before call to cromemcosiim
export LD_LIBRARY_PATH=/lib:/usr/lib:/usr/local/lib
./cromix
- It's necessary to interact with the Graphical Z1 front panel like this
toggle switch 12 up (to simulate C, aka C000 hex)
press right edge power switch up to switch on
press run toggle up to jump to your selected xc000
cromemcosim script loads RDOS and so then it tries to boot, load from diskette fda
I will make 100% foolproof and longer instructions to follow, just thought I would post this as a solution to the Linux issue
and will of course also try it out on a Raspberry Pi in fullness of time. Should that work [on the pi, running PiOS i.e. Raspbain not Ubuntu preferably] I can generate a system that is live to the internet, all you would have to do is telnet into it (and I would have it auto regenerate itself every say 24 hours in case somebody logs in and trashes it etc).
These are my thoughts so far. Comments and suggestions welcome.
m