summaryrefslogtreecommitdiff
path: root/emulators/x16-rom
diff options
context:
space:
mode:
authorthorpej <thorpej@pkgsrc.org>2019-12-28 19:31:38 +0000
committerthorpej <thorpej@pkgsrc.org>2019-12-28 19:31:38 +0000
commitafa32ac16d6b9a5dd42aec71ad5d8faa46fff088 (patch)
tree49e43b86afddc0ef8fd92c586f66daea142fb2e3 /emulators/x16-rom
parente7e92846b72d3fa56e823ee10567d0bace511193 (diff)
downloadpkgsrc-afa32ac16d6b9a5dd42aec71ad5d8faa46fff088.tar.gz
Add a package for the Commander X16 ROM, which is needed for the
Commander X16 system emulator.
Diffstat (limited to 'emulators/x16-rom')
-rw-r--r--emulators/x16-rom/DESCR10
-rw-r--r--emulators/x16-rom/Makefile23
-rw-r--r--emulators/x16-rom/PLIST2
-rw-r--r--emulators/x16-rom/distinfo6
4 files changed, 41 insertions, 0 deletions
diff --git a/emulators/x16-rom/DESCR b/emulators/x16-rom/DESCR
new file mode 100644
index 00000000000..8eb6eb0d387
--- /dev/null
+++ b/emulators/x16-rom/DESCR
@@ -0,0 +1,10 @@
+This is the Commander X16 ROM containing BASIC, KERNAL, DOS and GEOS. BASIC
+and KERNAL are derived from the Commodore 64 versions. GEOS is derived from
+the C64/C128 version.
+
+* BASIC is fully compatible with Commodore BASIC V2.
+* KERNAL:
+ -> supports the complete $FF81+ API.
+ -> has the same zero page and $0200-$033C memory layout as the C64.
+ -> does not support tape (device 1).
+* GEOS is fully compatible with the C64 version.
diff --git a/emulators/x16-rom/Makefile b/emulators/x16-rom/Makefile
new file mode 100644
index 00000000000..331e7a8fba8
--- /dev/null
+++ b/emulators/x16-rom/Makefile
@@ -0,0 +1,23 @@
+# $NetBSD: Makefile,v 1.1 2019/12/28 19:31:38 thorpej Exp $
+
+DISTNAME= x16-rom-35
+CATEGORIES= emulators
+MASTER_SITES= ${MASTER_SITE_GITHUB:=commanderx16/}
+GITHUB_PROJECT= x16-rom
+GITHUB_TAG= r${PKGVERSION_NOREV}
+
+MAINTAINER= thorpej@NetBSD.org
+HOMEPAGE= http://commanderx16.com/
+COMMENT= ROM for the Commander X16 computer system
+LICENSE= 2-clause-bsd
+
+TOOL_DEPENDS+= cc65-[0-9]*:../../cross/cc65
+
+USE_TOOLS+= gmake
+
+INSTALLATION_DIRS= share/x16
+
+do-install:
+ ${INSTALL_DATA} ${WRKSRC}/rom.bin ${DESTDIR}${PREFIX}/share/x16
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/x16-rom/PLIST b/emulators/x16-rom/PLIST
new file mode 100644
index 00000000000..c30bba9841a
--- /dev/null
+++ b/emulators/x16-rom/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2019/12/28 19:31:38 thorpej Exp $
+share/x16/rom.bin
diff --git a/emulators/x16-rom/distinfo b/emulators/x16-rom/distinfo
new file mode 100644
index 00000000000..fca4e8ebfc3
--- /dev/null
+++ b/emulators/x16-rom/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2019/12/28 19:31:38 thorpej Exp $
+
+SHA1 (x16-rom-35.tar.gz) = c26a3d106d0bfd0b9e4b7c4ff67b076909d75c4b
+RMD160 (x16-rom-35.tar.gz) = dd9d36f3f6f28f2513b0d3c18a4d30c4fedb93dc
+SHA512 (x16-rom-35.tar.gz) = 68694f972cd9675a49ad335485c8aafe79da24da6611933e3c83e1051053c6a7a72555a3d20ce7b607c7045a5212ebffc36d3bbae286f69e09bb7d21802ce425
+Size (x16-rom-35.tar.gz) = 401918 bytes