x11/xorg)
devel/sdl12graphics/pnglang/gcc14print/libharu (2.5.5 only)textproc/libxml2
JOYCE for UNIX is an Amstrad PCW emulator written by John Elliott, and includes both JOYCE for emulating classic PCWs as well as ANNE which emulates the PcW16.
JOYCE will not build under under Clang, which is included with FreeBSD, so GCC must be installed along with some other dependencies.
FreeBSD allows you to install multiple versions of GCC, but does not have a mechanism for choosing a default GCC or G++. Therefore, we will create symlinks after we install it.
# pkg install -y lang/gcc14
# cd /usr/local/bin # ln -s gcc14 gcc # ln -s g++14 g++
For the user who will build JOYCE, add the following lines to their ~/.profile file:
C_INCLUDE_PATH=/usr/local/include/; export C_INCLUDE_PATH LIBRARY_PATH=/usr/local/lib/; export LIBRARY_PATH
If they are already logged in, they can run these commands directly from the command line, before running ./configure.
# pkg install -y devel/sdl12 graphics/png textproc/libxml2
$ fetch https://www.seasip.info/Unix/Joyce/joyce-2.4.2.tar.gz $ tar xvfz joyce-2.4.2.tar.gz $ cd joyce-2.4.2
$ ./configure $ make $ su # make install
# pkg install -y devel/sdl12 graphics/png print/libharu textproc/libxml2
$ fetch https://www.seasip.info/Unix/Joyce/joyce-2.5.5.tar.gz $ tar xvfz joyce-2.5.5.tar.gz $ cd joyce-2.5.5
Edit the bin/PcwGuest.cxx file, and add this line to the end of the #include list:
#include <sched.h>
$ ./configure $ make $ su # make install
JOYCE can be found at /usr/local/bin/xjoyce, and ANNE at /usr/local/bin/xanne. Note that you will need a valid boot image for the emulator to be useful.
The most complete source of Amstrad PCW software can be found at the PCW Gotek USB Software Collection.