1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Import xzx, a Sinclair ZX Spectrum emulator.

PR:		5024
Submitted by:	Sheldon Hearn <axl@iafrica.com>
This commit is contained in:
Thomas Gellekum 1997-11-13 12:34:25 +00:00
parent 9b1807cd04
commit 74a08f3ef3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=8599
6 changed files with 82 additions and 0 deletions

21
emulators/xzx/Makefile Normal file
View File

@ -0,0 +1,21 @@
# New ports collection makefile for: xzx
# Version required: 2.2.1
# Date created: 13 Nov 1997
# Whom: Sheldon Hearn <axl@iafrica.com>
#
# $Id$
#
DISTNAME= xzx-2.2.1
CATEGORIES= emulators x11
MASTER_SITES= ftp://ftp.gns.getronics.nl/pub/os/sinclair/emulators/unix/
DISTFILES= xzx-2.2.1-src.tar.gz \
xzx-2.2.1-roms.tar.gz \
xzx-2.2.1-contrib.tar.gz
MAINTAINER= axl@iafrica.com
USE_IMAKE= yes
MAN1= xzx.1
.include <bsd.port.mk>

3
emulators/xzx/distinfo Normal file
View File

@ -0,0 +1,3 @@
MD5 (xzx-2.2.1-src.tar.gz) = 51f6f562aca7ee47fe93fa89ec3ea819
MD5 (xzx-2.2.1-roms.tar.gz) = 333db76016b6917b1a019cf6412c23e3
MD5 (xzx-2.2.1-contrib.tar.gz) = 5c42d5c46ccfbe6e90d595ff8e40a03f

View File

@ -0,0 +1,29 @@
--- xzx.config.ORIG Sun Nov 2 14:21:34 1997
+++ xzx.config Thu Nov 13 01:50:08 1997
@@ -33,13 +33,13 @@
*/
/* Where the configuraion files and ROM images are installed */
-ZXLIBDIR = /usr/local/lib/xzx
+ZXLIBDIR = /usr/X11R6/lib/X11/xzx
/* Where the binary files are installed */
-BINDIR=/usr/local/bin
+BINDIR=/usr/X11R6/bin
/* Where the manual pages are installed */
-MANDIR=/usr/local/man/man1
+MANDIR=/usr/X11R6/man/man1
/*******************************************************************************
@@ -85,7 +85,8 @@
*/
#if defined(i386Architecture) || defined(AlphaArchitecture) || \
defined(add_your_machine_here)
-END_DEF = -DLITTLE_ENDIAN
+#FreeBSD has its own LITTLE_ENDIAN
+#END_DEF = -DLITTLE_ENDIAN
#else
END_DEF = -DBIG_ENDIAN
#endif

View File

@ -0,0 +1 @@
ZX Spectrum (48K/128K/+3) Emulator for X11 Windows

12
emulators/xzx/pkg-descr Normal file
View File

@ -0,0 +1,12 @@
XZX is a portable emulator of ZX Spectrum 48K/128K/+3 (8-bit home computers
made by Sir Clive Sinclair) for machines running UNIX and the X Window system.
XZX emulates either a Spectrum 48K, 128K or +3, Interface I with up to 8
microdrives, Multiface 128 (if you have the ROM image) and Kempston joystick.
XZX loads from .SNA, .Z80, .SLT, .DAT, .TAP, .TZX, .VOC, .MDR and .DSK files
and saves to .SNA, .Z80, .SLT, .TAP, .MDR, .DSK and .SCR files.
XZX will work with color (8,16,24,32bpp) and monochrome displays, where
contrasting colours are displayed with the darker colour in black and the
lighter colour in white, which works reasonably well. Halftoning is used if
the scaling factor is increased.

16
emulators/xzx/pkg-plist Normal file
View File

@ -0,0 +1,16 @@
bin/ddtrans
bin/mkcart
bin/xzx
lib/X11/app-defaults/Xzx
lib/X11/xzx/128-0.rom
lib/X11/xzx/128-1.rom
lib/X11/xzx/if1.rom
lib/X11/xzx/keyboard.scr
lib/X11/xzx/mf128.rom
lib/X11/xzx/pl3-0.rom
lib/X11/xzx/pl3-1.rom
lib/X11/xzx/pl3-2.rom
lib/X11/xzx/pl3-3.rom
lib/X11/xzx/spectrum.rom
man/man1/xzx.1.gz
@dirrm lib/X11/xzx