Read error b

Time to align your Azimuth

User Tools

Site Tools


tech:unix:freebsd:joyce

This is an old revision of the document!


JOYCE for UNIX


Environment

  • FreeBSD 14.x
  • X11 (e.g. x11/xorg)


Dependencies

  • devel/sdl12
  • graphics/png
  • lang/gcc14
  • print/libharu (2.5.5 only)
  • textproc/libxml2


Overview

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.


Install and Configure GCC 14

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.

Install

# pkg install -y lang/gcc14

Configure

# 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.


JOYCE 2.4.2 (Stable)

Install Dependencies

# pkg install -y devel/sdl12 graphics/png textproc/libxml2

Fetch and Untar

$ 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

Build and Install

$ ./configure
$ make
$ su 
# make install 


JOYCE 2.5.5 (Development)

Install Dependencies

# pkg install -y devel/sdl12 graphics/png print/libharu textproc/libxml2

Fetch and Untar

$ 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>

Build and Install

$ ./configure
$ make
$ su
# make install


Running JOYCE and ANNE

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.


Software

The most complete source of Amstrad PCW software can be found at the PCW Gotek USB Software Collection.

tech/unix/freebsd/joyce.1774897372.txt.gz · Last modified: by pollito