Sun Aug 7 17:36:52 2022 UTC ()
Update to x16-rom r41.


(thorpej)
diff -r1.1 -r1.2 pkgsrc/emulators/x16-rom/DESCR
diff -r1.2 -r1.3 pkgsrc/emulators/x16-rom/Makefile
diff -r1.3 -r1.4 pkgsrc/emulators/x16-rom/distinfo
diff -r0 -r1.1 pkgsrc/emulators/x16-rom/patches/patch-scripts_symbolize.sh

cvs diff -r1.1 -r1.2 pkgsrc/emulators/x16-rom/DESCR (expand / switch to unified diff)

--- pkgsrc/emulators/x16-rom/DESCR 2019/12/28 19:31:38 1.1
+++ pkgsrc/emulators/x16-rom/DESCR 2022/08/07 17:36:52 1.2
@@ -1,10 +1,20 @@ @@ -1,10 +1,20 @@
1This is the Commander X16 ROM containing BASIC, KERNAL, DOS and GEOS. BASIC 1This is the Commander X16 ROM containing BASIC, KERNAL, DOS and GEOS. BASIC
2and KERNAL are derived from the Commodore 64 versions. GEOS is derived from 2and KERNAL are derived from the Commodore 64 versions. GEOS is derived from
3the C64/C128 version. 3the C64/C128 version.
4 4
5* BASIC is fully compatible with Commodore BASIC V2. 5* BASIC is fully compatible with Commodore BASIC V2, with some additions.
6* KERNAL: 6* KERNAL:
7 -> supports the complete $FF81+ API. 7 -> supports the complete $FF81+ API.
8 -> has the same zero page and $0200-$033C memory layout as the C64. 8 -> adds lots of new API, including joystick, mouse and bitmap graphics.
9 -> does not support tape (device 1). 9 -> supports the same $0300-$0332 vectors as the C64.
 10 -> does not support tape (device 1) or software RS-232 (device 2).
10* GEOS is fully compatible with the C64 version. 11* GEOS is fully compatible with the C64 version.
 12* DOS
 13 -> is compatible with Commodore DOS ($, SCRATCH, NEW, ...).
 14 -> works on SD cards with FAT32 filesystems.
 15 -> supports long filenames, timestamps.
 16 -> supports partitions and subdirectories (CMD-style).
 17* CodeX Interactive Assembly Environment
 18 -> edit assembly code in RAM
 19 -> save program, and debug information
 20 -> run and debug assembly programs

cvs diff -r1.2 -r1.3 pkgsrc/emulators/x16-rom/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/x16-rom/Makefile 2019/12/31 10:23:37 1.2
+++ pkgsrc/emulators/x16-rom/Makefile 2022/08/07 17:36:52 1.3
@@ -1,23 +1,25 @@ @@ -1,23 +1,25 @@
1# $NetBSD: Makefile,v 1.2 2019/12/31 10:23:37 mef Exp $ 1# $NetBSD: Makefile,v 1.3 2022/08/07 17:36:52 thorpej Exp $
2 2
3DISTNAME= x16-rom-35 3DISTNAME= x16-rom-41
4CATEGORIES= emulators 4CATEGORIES= emulators
5MASTER_SITES= ${MASTER_SITE_GITHUB:=commanderx16/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=commanderx16/}
6GITHUB_PROJECT= x16-rom 6GITHUB_PROJECT= x16-rom
7GITHUB_TAG= r${PKGVERSION_NOREV} 7GITHUB_TAG= r${PKGVERSION_NOREV}
8 8
9MAINTAINER= thorpej@NetBSD.org 9MAINTAINER= thorpej@NetBSD.org
10HOMEPAGE= http://commanderx16.com/ 10HOMEPAGE= http://commanderx16.com/
11COMMENT= ROM for the Commander X16 computer system 11COMMENT= ROM for the Commander X16 computer system
12LICENSE= 2-clause-bsd 12LICENSE= commander-x16-rom-license
13 13
14TOOL_DEPENDS+= cc65-[0-9]*:../../cross/cc65 14TOOL_DEPENDS+= cc65-[0-9]*:../../cross/cc65
15 15
16USE_TOOLS+= gmake bash 16USE_TOOLS+= gmake bash
17 17
18INSTALLATION_DIRS= share/x16 18INSTALLATION_DIRS= share/x16
19 19
20do-install: 20do-install:
21 ${INSTALL_DATA} ${WRKSRC}/rom.bin ${DESTDIR}${PREFIX}/share/x16 21 ${INSTALL_DATA} ${WRKSRC}/build/x16/rom.bin \
 22 ${DESTDIR}${PREFIX}/share/x16
22 23
 24.include "../../lang/python/tool.mk"
23.include "../../mk/bsd.pkg.mk" 25.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/emulators/x16-rom/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/x16-rom/distinfo 2021/10/26 10:24:15 1.3
+++ pkgsrc/emulators/x16-rom/distinfo 2022/08/07 17:36:52 1.4
@@ -1,5 +1,6 @@ @@ -1,5 +1,6 @@
1$NetBSD: distinfo,v 1.3 2021/10/26 10:24:15 nia Exp $ 1$NetBSD: distinfo,v 1.4 2022/08/07 17:36:52 thorpej Exp $
2 2
3BLAKE2s (x16-rom-35.tar.gz) = 89883a93241342ef9eee6d523c908a652aea1f52e0c06daf014f3eaa8fb9774c 3BLAKE2s (x16-rom-41.tar.gz) = ad1c5ce4fe1fb3b2642f59fdedf0d3895e097663c68f71fb016479ba7b31277a
4SHA512 (x16-rom-35.tar.gz) = 68694f972cd9675a49ad335485c8aafe79da24da6611933e3c83e1051053c6a7a72555a3d20ce7b607c7045a5212ebffc36d3bbae286f69e09bb7d21802ce425 4SHA512 (x16-rom-41.tar.gz) = 21afe719d1447e289a210607fde0a54847d2dcc6216933146b2a96f13e83c72158827c98a2c2dcc2f9b4fd1aee18d1b25947ca0ef3cb60bad0518f7952c10512
5Size (x16-rom-35.tar.gz) = 401918 bytes 5Size (x16-rom-41.tar.gz) = 630172 bytes
 6SHA1 (patch-scripts_symbolize.sh) = 1d5c75ccd3015508ab8510a1b0890a376aca80eb

File Added: pkgsrc/emulators/x16-rom/patches/patch-scripts_symbolize.sh
$NetBSD: patch-scripts_symbolize.sh,v 1.1 2022/08/07 17:36:52 thorpej Exp $

Not all systems have bash located in /bin.

--- scripts/symbolize.sh.orig	2022-08-07 00:14:46.188776145 +0000
+++ scripts/symbolize.sh	2022-08-07 00:16:00.740600064 +0000
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
 
 echo "uint16_t addresses_bank$1[] = {"
 for i in $(cat $2 | sort | uniq | grep "^.....[ABCDEF]" | cut -c 6-9); do