head 1.5; access; symbols pkgsrc-2026Q1:1.5.0.28 pkgsrc-2026Q1-base:1.5 pkgsrc-2025Q4:1.5.0.26 pkgsrc-2025Q4-base:1.5 pkgsrc-2025Q3:1.5.0.24 pkgsrc-2025Q3-base:1.5 pkgsrc-2025Q2:1.5.0.22 pkgsrc-2025Q2-base:1.5 pkgsrc-2025Q1:1.5.0.20 pkgsrc-2025Q1-base:1.5 pkgsrc-2024Q4:1.5.0.18 pkgsrc-2024Q4-base:1.5 pkgsrc-2024Q3:1.5.0.16 pkgsrc-2024Q3-base:1.5 pkgsrc-2024Q2:1.5.0.14 pkgsrc-2024Q2-base:1.5 pkgsrc-2024Q1:1.5.0.12 pkgsrc-2024Q1-base:1.5 pkgsrc-2023Q4:1.5.0.10 pkgsrc-2023Q4-base:1.5 pkgsrc-2023Q3:1.5.0.8 pkgsrc-2023Q3-base:1.5 pkgsrc-2023Q2:1.5.0.6 pkgsrc-2023Q2-base:1.5 pkgsrc-2023Q1:1.5.0.4 pkgsrc-2023Q1-base:1.5 pkgsrc-2022Q4:1.5.0.2 pkgsrc-2022Q4-base:1.5 pkgsrc-2022Q3:1.4.0.6 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.4 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.4.0.2 pkgsrc-2022Q1-base:1.4 pkgsrc-2021Q4:1.2.0.4 pkgsrc-2021Q4-base:1.2 pkgsrc-2021Q3:1.2.0.2 pkgsrc-2021Q3-base:1.2 pkgsrc-2021Q2:1.1.0.8 pkgsrc-2021Q2-base:1.1 pkgsrc-2021Q1:1.1.0.6 pkgsrc-2021Q1-base:1.1 pkgsrc-2020Q4:1.1.0.4 pkgsrc-2020Q4-base:1.1 pkgsrc-2020Q3:1.1.0.2 pkgsrc-2020Q3-base:1.1; locks; strict; comment @// @; 1.5 date 2022.11.06.21.31.57; author triaxx; state Exp; branches; next 1.4; commitid aYz3Dxsb5owNGG0E; 1.4 date 2022.03.07.16.37.52; author nia; state Exp; branches; next 1.3; commitid KH8lAetRnEsyVivD; 1.3 date 2022.03.04.07.41.14; author nia; state Exp; branches; next 1.2; commitid z3yyLhrUQkip3SuD; 1.2 date 2021.08.10.11.03.50; author nia; state Exp; branches; next 1.1; commitid fD8GTZAWlL3wNp4D; 1.1 date 2020.07.07.12.05.49; author nia; state Exp; branches; next ; commitid 0inxBY4iqY3WX8fC; desc @@ 1.5 log @dosbox-x: Update to 0.84.3 pkgsrc changes: --------------- * Fix building of FreeBSD by adding -lpthread to LDFLAGS and by disabling call to X11_ErrorHandlerInstall. upstream changes: ----------------- * 0.84.3: https://dosbox-x.com/release-0.84.3.html * 0.84.2: https://dosbox-x.com/release-0.84.2.html * 0.84.1: https://dosbox-x.com/release-0.84.1.html * 0.84.0: https://dosbox-x.com/release-0.84.0.html @ text @$NetBSD: patch-src_dos_dos__programs.cpp,v 1.4 2022/03/07 16:37:52 nia Exp $ dos_programs.cpp: In member function 'bool AUTOTYPE::ReadDoubleArg(const string&, const char*, const double&, const double&, const double&, double&)': dos_programs.cpp:5556:12: error: expected unqualified-id before '(' token if (std::isfinite(user_value)) { --- src/dos/dos_programs.cpp.orig 2022-03-01 02:12:39.000000000 +0000 +++ src/dos/dos_programs.cpp @@@@ -6935,11 +6935,7 @@@@ bool AUTOTYPE::ReadDoubleArg(const std:: if (cmd->FindString(flag, str_value, true)) { // Can the user's value be parsed? const double user_value = to_finite(str_value); -#if defined(__FreeBSD__) || defined(MACOSX) || defined(EMSCRIPTEN) || ((defined(ANDROID) || defined(__ANDROID__)) && defined(__clang__)) - if (isfinite(user_value)) { /* *sigh* Really, clang, really? */ -#else - if (std::isfinite(user_value)) { -#endif + if (isfinite(user_value)) { result = true; // Clamp the user's value if needed @ 1.4 log @dosbox-x: do not lose constness of iconv arg on netbsd prior to current @ text @d1 1 a1 1 $NetBSD: patch-src_dos_dos__programs.cpp,v 1.2 2021/08/10 11:03:50 nia Exp $ d9 1 a9 1 @@@@ -6756,11 +6756,7 @@@@ bool AUTOTYPE::ReadDoubleArg(const std:: @ 1.3 log @dosbox-x: update to 0.83.23 0.83.23 - Fixed XGA accelerated rendering for ViRGE emulation and 24 bits/pixel display modes. Since Windows drivers insist on 24bpp, this is necessary for "Truecolor (24-bit)" to display and render correctly. - dosbox.conf option "vesa vbe 1.2 modes are 32bpp" is now "true" "false" or "auto", where "auto" determines this setting based on which S3 chipset is being emulated. It seems the Windows drivers for ViRGE chipsets require 24bpp for truecolor modes, in fact, they do not even offer 32bpp as an option. Since the Windows 3.1/95/98 drivers use VESA BIOS calls to set video modes, this implies that the VESA BIOS on ViRGE cards are also making the base modes 24bpp rather than 32bpp. Note that the Windows drivers for older S3 chipsets are perfectly happy to use 32bpp unless you select "16.7 million colors (1 Meg)" in Windows 3.1, which is the only option in those drivers to offer 24bpp. To avoid grief with DOSBox-X users, "auto" is the default setting. - Added basic S3 ViRGE XGA acceleration. It's enough for 90% of the GDI functions in Windows 3.1 so far. - Fixed S3 rectangle XGA accelerated pattern blit, when using display memory as the pattern mask source, to follow S3 Trio32/Trio64 documentation, instead of the DOSBox SVN educated guess, to resolve some edge cases where the wrong color is chosen to draw filled rectangles in Windows 3.1. This fixes the "basement" in Microsoft Creative Writer so that clicking around no longer leaves white boxes on the screen. - Extend 256-color foreground/background color behavior from S3 86c928 to Vision864 and Vision868 as Windows 95 behavior suggests they handle the hardware cursor the same way in 256-color mode. - Extend "divide cursor X position by bytes per pixel" behavior from S3 86c928 to Vision864 and Vision868 emulation as well, based on Windows 3.1 video driver behavior. - Gravis Ultrasound: Most I/O registers except port 3x4 are intended for 8-bit I/O. If 16-bit I/O occurs to such registers, handle as two 8-bit I/O cycles. I found something in the Demoscene (1997 demo "Atlantis, Deep Like A Sea") that uses a 16-bit I/O write to write current channel and register select in one write. Prior to this fix, there was no music other than quiet popping noises in DOSBox-X. - Sound Blaster: Fixed DSP command 0x48 (Set DSP block transfer size) to accept block size as BYTES as standardized by Creative and convert to SAMPLES internally. This fixes stuttering voices in Freddy Pharkas when sbtype=sb16. (joncampbell123) - Avoid crashes due to assertion failure when media keys are pressed (maron2000) - Fix CD audio playback failure (cue + mp3) when trying to play from pregap sectors. (maron2000) - Change default value of mt32.rate to 48kHz to match default value of mt32.analog option. (maron2000) - Fix a buffer overflow issue in dos.cpp (maron2000) @ text @@ 1.2 log @dosbox-x: update to 0.83.16 Release notes: https://dosbox-x.com/release-0.83.16.html @ text @d1 1 a1 1 $NetBSD$ d7 1 a7 1 --- src/dos/dos_programs.cpp.orig 2021-08-01 07:45:55.000000000 +0000 d9 1 a9 1 @@@@ -6446,11 +6446,7 @@@@ bool AUTOTYPE::ReadDoubleArg(const std:: d13 2 a14 2 -#if defined(MACOSX) || defined(EMSCRIPTEN) || ((defined(ANDROID) || defined(__ANDROID__)) && defined(__clang__)) if (isfinite(user_value)) { /* *sigh* Really, clang, really? */ d18 1 @ 1.1 log @dosbox-x: Update to 0.83.3 0.83.3 - IMGMAKE can now generate FAT12, FAT16, and FAT32 filesystems. New option "-fat" is added to select the filesystem for the disk image. - Fixed command-line like "./dosbox-x /dir/app.bat" not able to launch the specified program (Wengier) - Fixed bug in DIR command's /P option which might cause it to not work properly. (Wengier) - The default key modifier for the Windows clipboard copy & paste via the right mouse button feature is now "shift" instead of "disabled". (Wengier) - Single-stepping in the debugger with the 286 and 8086 normal cores now works correctly when stepping over instructions with a segment prefix. - Pentium MMX instructions now only available for Pentium MMX or higher. Fixed the bug that allowed MMX instructions for Pentium and lower if programs ignored the CPUID feature bits. Also fixed Pentium MMX instructions so that they work in both 16-bit real mode and 32-bit protected mode to match how they work in real hardware (joncampbell123) - Updated DOSBox-X's implementation for Pentium MMX instructions to latest version by kekko (Wengier) - DOSBox-X will try to automatically run the program with LOADFIX if the error message "Packed file is corrupt" is detected. (Wengier) - MOUNT command can now mount a drive to the UNC root path in the form \\ComputerName\SharedFolder on Windows systems. (Wengier) - Improved the HX-DOS build package to make it fully automated: all required HX DOS Extender files will be included in the package, and dosbox-x.exe can now be run directly in a real DOS system without external requirements. (Wengier) - Fixed incorrect frame rate reported by 3Dfx Voodoo emulation (rderooy, backported from DOSBox SVN). - Added the "Boot from disk image" menu item (A:, C:, and D: drives only) in the "Drive" menu to boot the specified disk image directly in Windows. (Wengier) - Support for converting mouse wheel movements into keyboard presses like arrow keys, configurable by the option "mouse_wheel_key" (default is 0 which disables this feature). When set to 1, mouse wheel movements are converted to up/down arrows. Setting it to 2 or 3 converts such movements to left/right arrows or PageUp/PageDn keys respectively. (Wengier) - Support for reloading the keyboard mapper file with the config -set command. (Wengier) - IMGMOUNT command without parameters will show disk names for drive-number only mounts. (Wengier) - IMGMOUNT can now autodetect DOS <= 3.21 harddisk geometry with MFM sector images (rderooy & Wengier) - IMGMOUNT -fs none fixed to use same geometry detect function that FAT filesystem mounting uses. - Added suppprt for mounting overlay drives using MOUNT command with "-t overlay" option. Backported from DOSBox SVN and adopted for DOSBox-X with additional features such as long filename and PC-98 support, it allows the users to redirect new and changed file(s) to a different location transparently. (Wengier) - Cleaned up the DPI awareness auto-detection code to allow Visual Studio builds to again run on Windows 7. Meanwhile, MinGW builds (either SDL1 or SDL2 version) are still required for Windows XP systems. (Wengier) - Updated Nuked OPL3 to latest version 1.8 for accurate OPL3 emulation (Wengier) - Added AUTOTYPE command to perform scripted keyboard entry into a running DOS program or game. Ported from DOSBox-staging, it can be used to reliably skip intro, provide input to answer initial startup or config questions, or conduct a simple demo. (Wengier) - Added code page 866 (Cyrillic Russian) to support host to guest code page mapping (tuffnatty) - Mouse buttons (left, middle, right) can now be mapped to keys in the keyboard mapper. (Wengier) - Support for mounting .cue files with MP3/OGG/WAV/FLAC compressed audio tracks. (Wengier) - Rewrote the Windows installer for DOSBox-X, as well as the building script for the installer. All required build tools including the Inno Setup Compiler are now provided in the repository and will be automatically called by the building script. (Wengier) - Added config option "mapperfile_sdl2" for SDL2 builds. SDL1 and SDL2 builds of DOSBox-X can not use the same mapper file, or they will likely malfunction. Adding this option allows SDL1 and SDL2 builds of DOSBox-X to work with the same dosbox-x.conf file. (Wengier) - Added GUI menu option under "DOS" to change the long filename setting (enable, disable, or auto). (Wengier) - Improvements and fixes to the save/load state feature: It now supports Sound Blaster Goldplay mode; It now saves PC-98 FM interrupt state so that reloading state does not cause hung music; It is also fixed not to crash when used within a guest operting system (when the DOS kernel has been shut down using the BOOT command); It now supports memory size up to 1000MB; It will save and verify the DOSBox-X version and build. States saved by DOSBox-X in one platform (e.g. 64-bit Windows) may not work in another (e.g. 32-bit Linux). The GUI menu will show if the save slot is empty, and if not the program name of save state will be displayed. - Re-ported and improved the save state feature for saving and loading states with support for up to 10 save slots. They can be selected from the "Capture" menu. (Wengier) - Added COUNTRY command to set country code for country- specific date and time formats. For example, the command "COUNTRY 61" sets the country code to 61 (International English) which uses the DD-MM-YYYY date format instead of the default (U.S.) MM-DD-YYYY date format. (Wengier) - DOS 440Dh IOCTL function 67h (get access flag) added to allow FDISK.EXE to determine FAT filesystem type. Also implemented function 40h (set device parameters) and function 46h (set volume serial number). (Wengier) - Unknown DOS 440Dh IOCTLs warnings now indicate whether triggered by call or query. - S3 VESA BIOS mode number for 1024x768 32bpp changed to avoid conflict with Windows 95 S3 driver and 800x600 16bpp mode. - FAT driver no longer mounts FAT32 volumes unless the DOS version is 7.1 or higher, and it no longer mounts FAT16B LBA volumes unless the DOS version is 7.0 or higher. These are to mimic the MS-DOS behavior. - Fixed FAT driver not to attempt to mount partitions that have nothing to do with the FAT filesystem (such as type 0Dh and extended LBA partition tables). Also fixed the FAT driver to not assume partition start sector 63 if it cannot identify a partition to use. - Added code to FAT driver to identify telltale pattern left by Microsoft FDISK when a partition is created (but not yet formatted) and reject. @ text @d7 1 a7 1 --- src/dos/dos_programs.cpp.orig 2020-06-30 23:09:17.000000000 +0000 d9 1 a9 1 @@@@ -5550,11 +5550,7 @@@@ bool AUTOTYPE::ReadDoubleArg(const std:: d13 1 a13 1 -#if defined(MACOSX) @