head 1.2; access; symbols pkgsrc-2026Q2:1.2.0.2 pkgsrc-2026Q2-base:1.2 pkgsrc-2026Q1:1.1.0.6 pkgsrc-2026Q1-base:1.1 pkgsrc-2025Q4:1.1.0.4 pkgsrc-2025Q4-base:1.1 pkgsrc-2025Q3:1.1.0.2 pkgsrc-2025Q3-base:1.1; locks; strict; comment @// @; 1.2 date 2026.05.01.19.52.47; author hauke; state Exp; branches; next 1.1; commitid mhJPJzTPjW9Jg9EG; 1.1 date 2025.07.04.16.30.12; author hauke; state Exp; branches; next ; commitid DD6KGSoUeHyyPr1G; desc @@ 1.2 log @emulators/ntvcm: Update to 20260329 HEAD Minor changes Make package version number regular @ text @$NetBSD: patch-djl__os.hxx,v 1.1 2025/07/04 16:30:12 hauke Exp $ NetBSD does not have sched_setaffinity() --- djl_os.hxx.orig 2026-03-29 16:33:15.000000000 +0000 +++ djl_os.hxx @@@@ -86,7 +86,7 @@@@ inline void set_process_affinity( uint64_t processAffinityMask ) { -#if !defined(__APPLE__) && !defined( __mc68000__ ) +#if !defined(__APPLE__) && !defined( __mc68000__ ) && !defined( __NetBSD__ ) cpu_set_t mask; CPU_ZERO( &mask ); @ 1.1 log @ntvcm is a tool to run i8080/Z80 .COM binaries in CP/M 2.2 emulation. Console input/output works for both BIOS and BDOS APIs. Disk input/output works via the BDOS API. There is no attempt at emulating physical disks. Applications that use BDOS for disk I/O will work, but applications that use the BIOS, or assume things about disk layout, will not. For example, assuming CP/M 2.2's asm.com and load.com are in the current directory, this will assemble test.asm and generate test.com on Windows, Linux, or MacOS: % ntvcm asm test & ntvcm load test @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 --- djl_os.hxx.orig 2025-07-02 22:41:46.000000000 +0000 d7 9 a15 9 @@@@ -87,7 +87,7 @@@@ extern "C" int nanosleep( const struct t inline void set_process_affinity( uint64_t processAffinityMask ) { -#if !defined(__APPLE__) && !defined( OLDGCC ) && !defined( M68K ) +#if !defined(__APPLE__) && !defined( OLDGCC ) && !defined( M68K ) && !defined( __NetBSD__ ) cpu_set_t mask; CPU_ZERO( &mask ); @