head	1.28;
access;
symbols
	pkgsrc-2026Q2:1.27.0.2
	pkgsrc-2026Q2-base:1.27
	pkgsrc-2026Q1:1.26.0.4
	pkgsrc-2026Q1-base:1.26
	pkgsrc-2025Q4:1.26.0.2
	pkgsrc-2025Q4-base:1.26
	pkgsrc-2025Q3:1.24.0.6
	pkgsrc-2025Q3-base:1.24
	pkgsrc-2025Q2:1.24.0.4
	pkgsrc-2025Q2-base:1.24
	pkgsrc-2025Q1:1.24.0.2
	pkgsrc-2025Q1-base:1.24
	pkgsrc-2024Q4:1.21.0.2
	pkgsrc-2024Q4-base:1.21
	pkgsrc-2024Q3:1.19.0.4
	pkgsrc-2024Q3-base:1.19
	pkgsrc-2024Q2:1.19.0.2
	pkgsrc-2024Q2-base:1.19
	pkgsrc-2024Q1:1.17.0.2
	pkgsrc-2024Q1-base:1.17
	pkgsrc-2023Q4:1.14.0.2
	pkgsrc-2023Q4-base:1.14
	pkgsrc-2023Q3:1.12.0.2
	pkgsrc-2023Q3-base:1.12
	pkgsrc-2023Q2:1.11.0.2
	pkgsrc-2023Q2-base:1.11
	pkgsrc-2023Q1:1.9.0.2
	pkgsrc-2023Q1-base:1.9
	pkgsrc-2022Q4:1.6.0.2
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.4.0.2
	pkgsrc-2022Q3-base:1.4
	pkgsrc-2022Q2:1.1.0.2
	pkgsrc-2022Q2-base:1.1;
locks; strict;
comment	@# @;


1.28
date	2026.07.13.04.35.38;	author wiz;	state Exp;
branches;
next	1.27;
commitid	KzpMRouvb2DLQrNG;

1.27
date	2026.04.19.12.07.59;	author rhialto;	state Exp;
branches;
next	1.26;
commitid	mzn4n5XOpzuB5zCG;

1.26
date	2025.10.23.20.36.51;	author wiz;	state Exp;
branches;
next	1.25;
commitid	1V2hBZn9ypXaCJfG;

1.25
date	2025.10.11.11.47.59;	author rhialto;	state Exp;
branches;
next	1.24;
commitid	5M7P14670nst59eG;

1.24
date	2025.03.03.14.34.01;	author jakllsch;	state Exp;
branches;
next	1.23;
commitid	QpmC3eJ0q9wI8DLF;

1.23
date	2025.02.12.06.44.45;	author ryoon;	state Exp;
branches;
next	1.22;
commitid	wrOiT0jBBwBs99JF;

1.22
date	2025.01.31.17.50.23;	author rhialto;	state Exp;
branches;
next	1.21;
commitid	1GwoVRj6qvi0eFHF;

1.21
date	2024.12.13.20.50.45;	author abs;	state Exp;
branches;
next	1.20;
commitid	h2sYUy0xv0s3JnBF;

1.20
date	2024.10.03.12.42.53;	author rhialto;	state Exp;
branches;
next	1.19;
commitid	tEWbEU72g4hAndsF;

1.19
date	2024.06.14.19.17.57;	author rhialto;	state Exp;
branches;
next	1.18;
commitid	29tQUyHLhR878ZdF;

1.18
date	2024.04.06.08.05.18;	author wiz;	state Exp;
branches;
next	1.17;
commitid	xuM7fEJrv2TOC35F;

1.17
date	2024.03.13.19.14.50;	author rhialto;	state Exp;
branches;
next	1.16;
commitid	HIenEFUEaqzo622F;

1.16
date	2024.01.30.14.21.48;	author ryoon;	state Exp;
branches;
next	1.15;
commitid	gARf2FgciecARtWE;

1.15
date	2024.01.01.19.51.20;	author schmonz;	state Exp;
branches;
next	1.14;
commitid	k3iP5LxSleXJCMSE;

1.14
date	2023.11.12.13.21.23;	author wiz;	state Exp;
branches;
next	1.13;
commitid	SjpNXQIV5XeZ3kME;

1.13
date	2023.11.09.21.28.15;	author rhialto;	state Exp;
branches;
next	1.12;
commitid	w6Vmx7ew4GKwRYLE;

1.12
date	2023.07.23.15.44.25;	author rhialto;	state Exp;
branches;
next	1.11;
commitid	EXhXiJhVFEBHsWxE;

1.11
date	2023.05.18.19.30.09;	author rhialto;	state Exp;
branches;
next	1.10;
commitid	IZSn1Lvkv6SIPtpE;

1.10
date	2023.05.06.19.09.14;	author ryoon;	state Exp;
branches;
next	1.9;
commitid	U0SnpK5fQpHc6WnE;

1.9
date	2023.02.14.16.05.58;	author wiz;	state Exp;
branches;
next	1.8;
commitid	wcIsWipdsoa7HvdE;

1.8
date	2023.02.08.20.59.50;	author rhialto;	state Exp;
branches;
next	1.7;
commitid	HggPDprqFyrQvLcE;

1.7
date	2023.01.29.21.16.01;	author ryoon;	state Exp;
branches;
next	1.6;
commitid	QL7aBXsBGmQvUtbE;

1.6
date	2022.12.11.20.28.09;	author rhialto;	state Exp;
branches;
next	1.5;
commitid	KbBkaQFzuePmeb5E;

1.5
date	2022.10.09.18.50.44;	author rhialto;	state Exp;
branches;
next	1.4;
commitid	v5VOKXdrhJFVH4XD;

1.4
date	2022.09.11.12.51.33;	author wiz;	state Exp;
branches;
next	1.3;
commitid	5DT6DUEaifG2DrTD;

1.3
date	2022.08.16.20.08.39;	author rhialto;	state Exp;
branches;
next	1.2;
commitid	FdTxQbXLMEO2T8QD;

1.2
date	2022.08.11.05.08.20;	author gutteridge;	state Exp;
branches;
next	1.1;
commitid	yKydzoO42ClN3qPD;

1.1
date	2022.06.06.14.20.07;	author rhialto;	state Exp;
branches;
next	;
commitid	QW6AdEK5uk9UeZGD;


desc
@@


1.28
log
@*: recursive bump for libmpg123 dependency in lame
@
text
@# $NetBSD: Makefile,v 1.27 2026/04/19 12:07:59 rhialto Exp $

DISTNAME=	open-simh-4.1.0
PKGNAME=	open-simh-4.1.0.20260413
PKGREVISION=	1
CATEGORIES=	emulators
MASTER_SITES=	${MASTER_SITE_GITHUB:=open-simh/}
GITHUB_PROJECT=	simh
GITHUB_TAG=	7994e0a7ce66321cbb11379e10de9fc1944942d9

MAINTAINER=	rhialto@@NetBSD.org
HOMEPAGE=	http://simh.trailing-edge.com/
COMMENT=	Bob Supniks historical computer simulator
LICENSE=	mit

DEPENDS+=	dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf

USE_TOOLS+=	gmake

BUILDLINK_API_DEPENDS.libpcap+=	libpcap>=0.9

.include "../../mk/bsd.prefs.mk"

SIMHPREFIX?=	simh-
PLIST_SUBST+=	SIMHPREFIX=${SIMHPREFIX:Q}

.if ${OPSYS} == "Darwin"
# Doesn't seem to work with pkgsrc pcap, and dylib path is hardcoded.
PREFER.libpcap=		native
# Link error with the native version: _zlibVersion
PREFER.zlib=		pkgsrc
.endif

# The makefile tries to autodetect the options below from "gcc --help", but
# due to the compiler wrapper, it may not always output the expected text.
# So we hardcode the options here.
CFLAGS_O+=		-fno-strict-overflow
CFLAGS_O+=		-finline-functions
.if !empty(PKGSRC_COMPILER:Mgcc)
CFLAGS_O+=		-fpredictive-commoning
CFLAGS_O+=		-fipa-cp-clone
CFLAGS_O+=		-fgcse-after-reload
CFLAGS_O+=		-fno-unsafe-loop-optimizations
.endif

.if (${MACHINE_ARCH} == "arm")
BUILDLINK_TRANSFORM+=	rm:-O2
.endif

# Needed for PDP11/pdp11_dc.c on gcc 4.1.3
.if (${MACHINE_ARCH} == "vax")
CFLAGS+=	-fforce-addr
.endif

CFLAGS.SunOS+=	-DBSD_COMP
LDFLAGS.SunOS+=	-lm

LDFLAGS.Linux+=	-lm -pthread -lrt

INSTALLATION_DIRS=	bin share/simh share/simh/TX-0 share/doc/simh

MAKE_FILE=		makefile
INCLUDES=		${PREFIX:Q}/include:\
			${BUILDLINK_PREFIX.SDL2:Q}/include/SDL2:\
			${BUILDLINK_PREFIX.editline:Q}/include:\
			${BUILDLINK_PREFIX.libpcap:Q}/include/pcap:\
			${BUILDLINK_PREFIX.pcre:Q}/include/pcre:\
			${BUILDLINK_PREFIX.png:Q}/include:\
			${BUILDLINK_PREFIX.zlib:Q}/include:\
			/usr/include
LIBRARIES=		${PREFIX:Q}/lib:\
			${BUILDLINK_PREFIX.SDL2:Q}/lib${LIBABISUFFIX}:\
			${BUILDLINK_PREFIX.editline:Q}/lib${LIBABISUFFIX}:\
			${BUILDLINK_PREFIX.libpcap:Q}/lib${LIBABISUFFIX}:\
			${BUILDLINK_PREFIX.pcre:Q}/lib${LIBABISUFFIX}:\
			${BUILDLINK_PREFIX.png:Q}/lib${LIBABISUFFIX}:\
			${BUILDLINK_PREFIX.zlib:Q}/lib${LIBABISUFFIX}:\
			/usr/lib${LIBABISUFFIX}
MAKE_ENV+=		INCLUDES=${INCLUDES:Q}
MAKE_ENV+=		LIBRARIES=${LIBRARIES:Q}
MAKE_ENV+=		GCC=${CC:Q}
MAKE_ENV+=		OS_LDFLAGS=${LDFLAGS:Q}
MAKE_ENV+=		CFLAGS_O=${CFLAGS_O:Q}
MAKE_ENV+=		FONTPATH=${PREFIX}/share/fonts/X11/TTF
MAKE_ENV+=		WARNINGS=ALLOWED
MAKE_ENV+=		USE_NETWORK=1

BUILD_MAKE_FLAGS=	TESTS=0


post-extract:
	${MKDIR} ${WRKSRC}/BIN

do-install:
	(cd ${WRKSRC}/BIN && for BIN in *; do \
		if [ -f $$BIN ] ; then \
		${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/${SIMHPREFIX}$$BIN; \
		fi ; \
	done)

	${INSTALL_DATA} ${WRKSRC}/TX-0/*.bin ${DESTDIR}${PREFIX}/share/simh/TX-0
	(cd ${WRKSRC} && for TXT in *.txt */*.txt; do \
		${INSTALL_DATA} "$$TXT" ${DESTDIR}${PREFIX}/share/doc/simh; \
	done)
	rm ${DESTDIR}${PREFIX}/share/doc/simh/CMakeLists.txt

# Note: tests require shm (/var/shm is a tmpfs) for the uc15.
# They are part of the build and can't be run separately.
do-test:
	cd ${WRKSRC} && ${TEST_MAKE_CMD} clean
	cd ${WRKSRC} && ${TEST_MAKE_CMD} all

# The "test" target doesn't need a "build" first.
.if make(test)
do-build:
	@@echo "No separate build phase is needed when doing a 'make test'."
.endif

USE_BUILTIN.editline=	no	# simh uses <editline/readline.h>

.include "../../devel/SDL2/buildlink3.mk"
.include "../../fonts/SDL2_ttf/buildlink3.mk"
.include "../../devel/editline/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../graphics/png/buildlink3.mk"
.include "../../net/libpcap/buildlink3.mk"
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.27
log
@emulators/open-simh: update to 2026-04-13.

Changes (most recent first):

H316: Fix IMP host port 3 and 4 device addresses.
LINC: Add Visual Studio project files.
LINC: Fix test 31 and 35 on the diagnostics tape.
LINC: Diagnostics for classic LINC.
LINC: Test for teletype output.
LINC: New emulator for the classic LINC.
VIDEO: Accept the ISO "left backslash" key.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.26 2025/10/23 20:36:51 wiz Exp $
d5 1
@


1.26
log
@*: recursive bump for pcre2

Running an old binary against the new pcre doesn't work:
/usr/pkg/lib/libpcre2-8.so.0: version PCRE2_10.47 required by /usr/pkg/lib/libglib-2.0.so.0 not defined
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.25 2025/10/11 11:47:59 rhialto Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.1.0.20250910
PKGREVISION=	1
d8 1
a8 1
GITHUB_TAG=	6e9324e09f4f364346310de34849077c986c29f2
@


1.25
log
@emulators/open-simh: update to 2025-09-10

Changes (most recent first)

PDP11: Changes for Terak 8510/a simulator:
KA10: Update PI Panel to properly display the MI register.
KA10: Update DD and TYM drivers to remove compile warning.
Revert vmnet support, PR #443
ETH_MAC indirection erratum
sigma: implement attention interrupt to sigma)mt.c
Github CI/CD updates
Keep track of generated vmnet MAC addr
Initial pass at documenting vmnet usage
vmnet.framework with legacy makefiles
Move vmnet below the definition of MAX to avoid redefinition
Defensive checks for vmnet.framework
Check for macOS 10.15 to used bridge mode, make usage clear
Allow for shared/bridged mode, show in SHOW ETHERNET
Initial support for vmnet.framework
CMake: Regenerate
Imlac: Add Freeway game to tests.
Imlac: Add support for Alpha display processor.
Imlac: Improve debug output.
Imlac: Model MSB and LSB accumulators.
Imlac: Make display rate adjustable.
Imlac: Set core memory size.
Imlac: Add support for loading paper tapes.
Imlac: Better parsing of load switches.
PDP8: Add the ICBM video game.
PDP8: Add Type 34 display support.
3B2: Address review comments
3B2: Support 4M RAM config on 3B2/700
3B2: Multiple bugfixes and improvements
PDP11: Fix typo in SYSTEM DR register description
PDP11: MASSBUS controller clear vs rhwc register
Update isbc208.c
PDP11: Document CIS register-form instructions
PDP11: Fix L2DR and L3DR comments
Avoid name space collision for the global variables PC, SP and BC when readline is dynamically loaded.
AltairZ80: VDM1 correct boot code, IO addressing
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.24 2025/03/03 14:34:01 jakllsch Exp $
d5 1
@


1.24
log
@Fix open-simh networking on Linux
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.23 2025/02/12 06:44:45 ryoon Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.1.0.20250117
PKGREVISION=	2
d8 1
a8 1
GITHUB_TAG=	feb155fbc49333e879ab082d481e6dcce27d2d91
d68 1
d76 1
d112 6
d124 1
@


1.23
log
@*: Recursive revbump from audio/flac-1.5.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.22 2025/01/31 17:50:23 rhialto Exp $
d5 1
a5 1
PKGREVISION=	1
d84 1
@


1.22
log
@emulators/open-simh: update to 2025-01-17

H316: Convert IMP long leaders to short, and vice versa.
sigma: return corrrect CC on line disconnect
TT2500: Debugging and reduce type slice warnings.
AltairZ80: Support for disk images of Amstrad CPC 6128 with ULIfAC board
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.21 2024/12/13 20:50:45 abs Exp $
d5 1
@


1.21
log
@Make the simh- prefix on binaries adjustable

Add SIMHPREFIX which defaults to simh-

No PKGREVISION as default binary unchanged.

Approved by $MAINTAINER
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.20 2024/10/03 12:42:53 rhialto Exp $
d4 1
a4 1
PKGNAME=	open-simh-4.1.0.20240904
d8 1
a8 1
GITHUB_TAG=	2437b13fb1602416dda7886f2023ffdf1f175880
@


1.20
log
@emulators/open-simh: update to 2024 09 04.

Notable changes:

    AltairZ80: Adds "rom" option to "load -h"
    sigma: Update latest from Bob Supnik's v3.12-5
    PDP11: RP11: Implement original RP11 controller flavor
    VAX: Mask QBus addresses to 22 bits for ka630/ka65x
    Mask adapter channel from buffer address for QBus accesses
    Mask QBus addresses to 22 bits
    AltairZ80: Adds CUTER PROM to SOL20 device
    AltairZ80: Fix 8080 and Z80 CPU
    PDP11: Fix to fix disassembly #331
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.19 2024/06/14 19:17:57 rhialto Exp $
d23 3
d93 1
a93 1
		${INSTALL_PROGRAM} $$BIN ${DESTDIR}${PREFIX}/bin/simh-$$BIN; \
@


1.19
log
@emulators/open-simh: update to 2024 06 08.

VAX: Add UW device to 8600 and 8200.
AltairZ80: Changes to JAIR devices
AltairZ80: Adds Cromemco DAZZLER and JS1 devices
IBM 1130: GUI resource file, RegSanityCheck fix
I650: Avoid super-inefficient use of strlen().
I650: Avoid allocating large card decks on the stack.
KA10: Remove unneeded file.
KA10: Fix divide error on KS10, add in some devices.
I7000: Updated general card reader, printer and magtape
B5500: Cleanup some warning from CMAKE.
sigma: Implement CM (Chaining Modifier) flag to IOP simulation in sigma_io.c
CMake: Make generate.py reusable
AltairZ80: Updated docs to include latest devices
Sigma: Fix three kinds of error in I/O modules.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.18 2024/04/06 08:05:18 wiz Exp $
d4 1
a4 1
PKGNAME=	open-simh-4.1.0.20240608
d8 1
a8 1
GITHUB_TAG=	c6b9402f8c994f41f5849a8ef9d2ce39f45caac3
@


1.18
log
@* recursive bump for libxkbcommon 1.7.0

Marc Baudoin reported problems with using old binary packages
with the new libkxbcommon, so force everything to 1.7.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.17 2024/03/13 19:14:50 rhialto Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.1.0.20240303
PKGREVISION=	1
d8 1
a8 1
GITHUB_TAG=	e444c674f6ec57a570dd42d07d03dd56a30cc9ff
@


1.17
log
@emulators/open-simh: update to 2024-03-03

Selected changelog entries:

e444c674 AltairZ80: Enable interrupt event after BOOT
ae9e57f6 SCP: sprint_val comma bug, GH: Remnant symlinks
a5884961 SIM_CARD: Fixed issues caused by last commit to sim_card.c
1a1396d0 I7000: Group update for IBM 7000 series simulators.
e425c75d KA10: Fix RH10/20 to allow access to registers during transfer.
e0b08b38 KA10: Fix random hang on DP disk drives.
fc7b65cb KA10: Poll quicker for Chaosnet packet when there's traffic.
2eaa31f1 B5500: Make sure Lines per page gets initialized properly.
6a1b5685 PDP11: RP11: Make sure to advance DA after every I/O
2a5f758a AltairZ80: Adds SET CPU RESIZEMEMORY and other
d9f2d39c PDP8: Fix missing clock pre-calibration instruction set due to typo
7a6a3255 ETHER: Make sure SET NOASYNC is effective for Ethernet devices
b273cac5 ALTAIRZ80: Fixes problem with MEM dump command
3b4333df ALTAIRZ80: Adds JAIR devices to simulator
560f30d1 SCP: Adjust timer calibrations if SET THROTTLE x/t type is enabled
6925456d ALTAIRZ80: Add 1K RAM to SOL20 device
a275c711 SCP: Reduce compiler warnings on LP64 platforms
f4c39a32 SCP: Add'l memory sanitization fixes
c077c22d PDP11: fix disassembly of reg,src instructions
625b9e8d CMAKE: Python distutils obsoleted.
dd49f851 PDP11: RP11: Remove duplicate checks (now only done in svc routine)
7797344b PDP11, VAX, KS10: Speed up Chaosnet polling when there is traffic.
1ed26cfb KS10: Make Chaosnet work.
47cf74ac PDP11: TA11/TU60 fix identification
b3465af6 CMake: cmake-builder.sh "-c" takes an argument
dfda031f CMake: Multiple targets, clean cache
2396fd03 PDP-11, VAX: Expand DTYPE mask size, fix RF35, add new devices to RQ sim
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.16 2024/01/30 14:21:48 ryoon Exp $
d5 1
@


1.16
log
@*: Recursive revbump from audio/pulseaudio-17.0
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.15 2024/01/01 19:51:20 schmonz Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.1.0.20231024
PKGREVISION=	2
d8 1
a8 1
GITHUB_TAG=	b23cde9c5d4ff3c04ccbec4f4c6853ea0daba46d
@


1.15
log
@open-simh: avoid clang warnings for gcc-specific optimizations. NFCI.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.14 2023/11/12 13:21:23 wiz Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.14
log
@*: revebump for new brotli option for freetype2

Addresses PR 57693
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.13 2023/11/09 21:28:15 rhialto Exp $
a34 1
CFLAGS_O+=		-fno-unsafe-loop-optimizations
a35 1
CFLAGS_O+=		-fgcse-after-reload
d39 2
@


1.13
log
@emulators/open-simh: update to version 4.1.0.20231024

DISK: Do not allow to emit any "footers"
PDP11: RP11: Implement delayed CS_DONE for "initiation" commands (SEEK/HOME)
SCP: SOCK: Increase backlog in the listen() syscall
Remove files symlinked to /Library
PDP11: 11/70 read-only registers must not return NXM on write
PDP11: RP11: Major update after XXDP
PDP11: TS11: Fix help output for BOOT command
SEL32: Do general code cleanup to remove unused code. SEL32: Update Ping and ICMP support code to use correct packet size. SEL32: Update SetupNet script to support latest Fedora release. SEL32: Improve disk write speed. SEL32: Add .tap file reassignent support in sel32_mt.c.
KA10: Fixed OWGBP on KL10B.
KA10: Allow single step over XCT, byte and extend instructions.
KA10: Add -m option to load .exe files to load monitors.
KA10: Fixed nopage read/write to always refer to memory.
KA10: Moved over older changed to ITS and WAITS devices.
KA10: Fixed depositing symbolic into register and symbolic of reg 17
KA10: Fixed PUSH for extended addressing on KL.
KA10: Fixed to allow EDDT to work correctly on KL10.
KA10: Fixed save command on Tops 10 7.0x.
SIM_CARD: Fixed to better detect mixed binary and ascii decks.
SCP: Fix correctly loading simh.ini when user HOME not defined
TX-0: Make ^E work in readin mode.
Stop ptp_svc from setting the ios bit; sim_instr never clears it and simulation loops.
Before, when the simulator decoded pad, it handled pad without cry and pad with cry. When it decoded cry, it printed a "TO DO" message.
PDP11: RF11: Fix DAE computation in service routine
Fix apple silicon build problems Issue #294
AltairZ80: M2SIO, CPU, SIO and PMMI additions and fixes
PDP11: RP11-C (RP02/03) disk implementation
DISK: Fix VHD to Ensure that the CHS capacity exceeds the disk length
AltairZ80: Add CTS command to M2SIO device
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.12 2023/07/23 15:44:25 rhialto Exp $
d5 1
@


1.12
log
@emulators/open-simh: update to version 4.1.0.20230717

Fixes a crashing bug when attaching disk images to RQ (MSCP) devices.
Build and sanitizer fixes.
Further:
* cf47a20f DISK: add RQDX1 model and make it default for MV1.
* 0d47f7d3 AltairZ80: Updated documentation including format change
* 86ffe4be sim_disk.c: only free filebuf if it was allocated here too.
* f8a9f9bb AltairZ80: m68k: Avoid buffer overflow detected by gcc 9.4.0.
* 5b22fcf4 PDP11: RK11: Complete fix for WC as implemented in V3 + other fixes
* fcaf741d sigma: Correct DP Sense Length error(Bob Supnik)
* 3acc69fb AltairZ80: IBC MCC: Clean up HDC.
* b982fc99 TIMER: Properly report clock calibration inconsistency
* 96de0748 SCP: Don't malloc ep->match_pattern twice
* 76da2c0d 3B2: Properly NULL-terminate IU mod arrays
* ea5bcf97 Fix TODR example command
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.11 2023/05/18 19:30:09 rhialto Exp $
d4 1
a4 1
PKGNAME=	open-simh-4.1.0.20230717
d8 1
a8 1
GITHUB_TAG=	cf47a20fd459d63be6c2e5a4728f2d2a31eaf884
d37 1
a37 1
.if ${PKGSRC_COMPILER} == "gcc"
d78 1
a78 1
MAKE_ENV+=		FONTPATH=${PREFIX:Q}/share/fonts/X11/TTF
@


1.11
log
@emulators/open-simh: update to 2023 05 11.

Initial version of new ND100 (Nord-100) emulator.
PDP11: numerous 11/70 compatibility fixes
Further the usual small fixes and cleanups.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.10 2023/05/06 19:09:14 ryoon Exp $
d4 1
a4 1
PKGNAME=	open-simh-4.1.0.20230511
d8 1
a8 1
GITHUB_TAG=	793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8
d98 1
@


1.10
log
@*: Recursive revbump from audio/libopus 1.4
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.9 2023/02/14 16:05:58 wiz Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.1.0.20230207
PKGREVISION=	2
d8 1
a8 1
GITHUB_TAG=	5e01c0516b14d16fa4e780dff13077bed76aa38a
d33 2
d37 1
d40 1
a40 2
CFLAGS_O+=		-fno-unsafe-loop-optimizations
CFLAGS_O+=		-fno-strict-overflow
@


1.9
log
@*: recursive bump for SDL2_ttf dependency change
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.8 2023/02/08 20:59:50 rhialto Exp $
d5 1
a5 1
PKGREVISION=	1
@


1.8
log
@emulators/open-simh: update to version 4.1.0.20230207

Pkg changes: build fix to avoid a miscompilation by lang/gcc10
Changes: use version 4.1 to differentiate open-simh from simh

5e01c051  3B2: Fix inconsistent 64bit type name reference
c5ce3395 AltairZ80: ADCS6: Fix uninitialized unit structure
2374c3b6 Floating loads are src,dst (nickd4)
949359fd Update version to identify Open SIMH builds
4562408a Common code: various bugfixes; Mac "Classic" and OS/2 support has been removed
86a995b8 PDP11: numerous 11/70 compatibility fixes
8e13ea1d SIGMA: Invalid address must set a TDV-visible error flag (Ken Rector)
16de685c PDP11, VAX: Re-enabled VH11 after fixes (Mark Pizzolato)
8bc5b0b1 I7094: Changed structures to arrays for display
09899c18 AltairZ80: 2SIO: Fix potential NULL pointer dereference.
023cd3b3 AltairZ80: Add support for NMI interrupts.
11e555bb AltairZ80: Fix width of vectorInterrupt pseudo register.
1921b589 KA10: Fixed TM10A to request first word at issue of write instruction.
b487b3a7 KA10: Fixed issue with ITS KA quantum clock interrupt.
1294ef1e KA10: Fixed IMP address determination for KS, code cleanup.
cd40b302 KA10: Fixed Chaosnet devices to work properly under ITS.
da6dcef8 3b2: Fix for clock drift when idling
dcd3e480 AltairZ80: ADCS6: Initialize extended UDATA in reset routine.
1a136665 AltairZ80: Adds -H switch to LOAD command for loading Intel hex files
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.7 2023/01/29 21:16:01 ryoon Exp $
d5 1
@


1.7
log
@*: Recursive revbup from graphics/freetype2
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/12/11 20:28:09 rhialto Exp $
d3 2
a4 3
DISTNAME=	open-simh-4.0.0
PKGNAME=	open-simh-4.0.0.20221202
PKGREVISION=	1
d8 1
a8 1
GITHUB_TAG=	ce791138b5b5365105415a9a1cf4091d6e50a43d
d30 10
d75 1
@


1.6
log
@emulators/open-simh: update to 2022-12-02.

- Improvements mainly in AltairZ80, PDP11.
- Stop trying to disable LTO, since it is now explicitly only enabled when
  LTO=1 is given.
- Allow compiler warnings for now; pkgsrc build warns about a re#define
  where native build doesn't.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2022/10/09 18:50:44 rhialto Exp $
d5 1
@


1.5
log
@emulators/open-simh: update to 2022-10-08

- Switch to editline for line editing; must be pkgsrc version because simh
  uses <editline/readline.h>. Also link it explicitly, so it doesn't
  randomly use readline any more if it happened to be available at runtime.
- Add 3b2-700.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2022/09/11 12:51:33 wiz Exp $
d4 1
a4 1
PKGNAME=	open-simh-4.0.0.20221008
d8 1
a8 1
GITHUB_TAG=	3a7ec4788f919757e85b74552d2d193149ff4442
a29 3
BUILDLINK_TRANSFORM+=	rm:-flto
BUILDLINK_TRANSFORM+=	rm:-fwhole-program

d65 2
a66 1
MAKE_ENV+=		FONTPATH=${PREFIX}/share/fonts/X11/TTF
@


1.4
log
@*: bump PKGREVISION for flac shlib bump
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2022/08/16 20:08:39 rhialto Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.0.0.20220814
PKGREVISION=	1
d8 1
a8 1
GITHUB_TAG=	d862d024ea5f6f0cc915e7347a199bfce2a5ea96
d52 1
d59 1
d77 2
a78 2
	(cd ${WRKSRC}/BIN && for BIN in *; do				\
		if [ -f $$BIN ] ; then					\
d80 1
a80 1
		fi ;							\
d84 2
a85 2
	(cd ${WRKSRC} && for TXT in *.txt */*.txt; do			\
		${INSTALL_DATA} "$$TXT" ${DESTDIR}${PREFIX}/share/doc/simh;		\
d94 2
d98 1
@


1.3
log
@emulators/open-simh: update to 4.0.0.20220814

Various fixes and updates, including

SCP: Fix details missed when merging update REGister macros from v3.12-2
QBus VAX and PDP11: Add support for HDLC framing to DUP11/DPV11
SCP: Add parenthesis to avoid potential compiler warnings
KA10: Updated documentation for PDP10 simulators.
KA10: Added default disable for devices that could be on KL10.
KA10: IMP Code support for Tenex.
KA10: Fixed DK10 to properly interrupt.
SCP: Fixed bug in byte deposits if aincr > 1
QBus VAX and PDP11: Add support for DPV11 in DDCMP mode
Sample stub simulator.
Unibus and Qbus VAXen: Add DUP-11/DPV-11 device
PDP11, Qbus & Unibus VAX: Extend DUP device for DECnet Phase V support
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2022/08/11 05:08:20 gutteridge Exp $
d5 1
@


1.2
log
@Bump all dependent packages of wayland (belatedly)

The package changed with the addition of its libepoll-shim dependency.
Otherwise, we can get:
ERROR: libepoll-shim>=0.0.20210418 is not installed; can't buildlink files.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2022/06/06 14:20:07 rhialto Exp $
d4 1
a4 2
PKGNAME=	open-simh-4.0.0.20220531
PKGREVISION=	1
d8 1
a8 1
GITHUB_TAG=	5a7a4c778edf6bad66bc688923316ccf951398be
@


1.1
log
@Add emulators/open-simh.

The fork from emulators/simh due to licensing issues.
@
text
@d1 1
a1 1
# $NetBSD$
d5 1
@

