pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

dosbox-x: update to dosbox-x-0.82.11

Module Name:	pkgsrc-wip
Committed By:	Yorick Hardy <>
Pushed By:	yhardy
Date:		Sun Nov 25 13:23:06 2018 +0200
Changeset:	d3bba9db7cd235622df3e1e107dc72c3d9b0c8f9

Modified Files:

Log Message:
dosbox-x: update to dosbox-x-0.82.11


  - SDL GUI fixed to make fade/sepia effect fit the
    actual display rectangle instead of filling the
  - PC-98 BIOS keyboard handling now returns capitals
    for A-Z if SHIFT xor CAPS LOCK is engaged.
  - PC-98 BIOS keyboard handling now uses modifier bits
    of keyboard bitmap to process scan codes, hackish
    IBM PC/AT data area status handling in PC-98 mode
  - PC-98 BIOS keyboard emulation now maps numeric keypad
    to produce the correct keyboard input to the console
    and games. This fixes games that rely on the numeric
    keypad and the DOS console driver
  - Command line parsing fixed to add any BAT, COM, and
    EXE file references given at DOSBox-X's command line
    to the autoexec.bat file run at startup.
  - BOOT command bug fixed that made it impossible to
    specify both disk images and the --debug and --force
  - Debug output fixed to make it easier to break into
    the debugger even during a flood of debug output.
  - Added dosbox.conf option to enable/disable the
    PC-98 bus mouse interface
  - PC-98 boot disks with 128 bytes/sector boot sectors
    now load 4 sectors instead of 2. Seems to be
    required by some games.
  - INT 13h read/write functions fixed to refuse the
    command if the floppy disk has a sector size too
    large for the implementation (such as a PC-98
    disk image mounted in IBM PC mode with 1024 bytes
    per sector).
  - INT 13h AH=2 (read sector) updated to return disk
    change error on first read after disk change, to
    match real BIOS behavior.
  - Floppy emulation now tracks "disk change" signal.
  - PIC event handling fixed, IRQ breakpoints now stop
    at the beginning of the interrupt handler.
  - MPU-401 MIDI default IRQ is now IRQ 6 in PC-98 mode,
    to match factory default setting.
  - MPU-401 MIDI IRQ masked by default in PC-98.
  - PC-98 port BFDB implemented, which allows control
    of the mouse interrupt rate.
  - Eliminated mouse periodic interrupt hack, the mouse
    interrupt on PC-98 is periodic when enabled.
  - 256-byte/sector hard disk images fixed to ensure the
    proper boot drive identifier is presented for MS-DOS
    when booting a hard disk image.
  - Added IMGMOUNT -o partidx=N option. N is an integer
    value that indicates which partition to mount, counting
    up from zero. This allows mounting disk images that
    the FAT driver otherwise can't identify which partition
    to mount.
  - New general -o name=value option for IMGMOUNT, to pass
    various options to the FAT driver.
  - Update Metal Force mouse hack to become a more general
    "fire interrupt on Port C write" with a dosbox.conf
    option to enable. This fixes the requirement to move
    the mouse constantly for "Amaranth" when enabled.
  - Add to cascade interrupt hacks by offering an option
    to ignore the "in service" bit of the PIC for the
    cascade interrupt, while still tracking it for
    the DOS game or interrupt. Handy for PC-98 games
    that check the cascade "in service" bit before
    acting on the interrupt (IRQ 8-15).
  - DOS kernel fixed to limit it's private area and
    UMB region to avoid overlapping the PC-98 SOUND
  - PC-98 SOUND BIOS dummy stub added for games that
    call into it.
  - Emulator hanging problem fixed when inputs are
    processed while running at a very low cycle count.
  - Added PC-98 LIO BIOS list and stub for games that
    require it.
  - Timer and PIC updated to emulate Mode 3 Square Wave
    output through the IRR register. Needed for Steel
    Gun Nyan.
  - PC-98 INT 18h fixed to reenable and process any
    keyboard data waiting when the DOS game or application
    calls INT 18h to read keyboard input. This fixes
    keyboard problems with Quarth.
  - PC-98 FDC BIOS emulation no longer reprograms the
    timer interrupt, but uses an alternate hack to
    avoid divide by zero fault with Ys II.
  - PC-98 GDC command to read back cursor position
  - PC-98 DOS CON device emulation now maintains ANSI
    attribute byte at 60:11D as documented.
  - BOOT now hides hardware cursor when booting a guest
    OS in PC-98 mode.
  - INT 1Dh vector now points at segment FD80 to satisfy
    some games that autodetect PC-98 vs other platforms.
  - INT 18h AH=42 implement display "bank" bit for games
    that need it.
  - PC-98 text scroll region implemented (I/O ports
    76h-7Ah even).
  - PC-98 CRTC mode set regarding 20/25-line mode fixed
    to update line height, text vertical position/height,
    and cursor shape.
  - PC-98 emulation of text height/vertical position
    registers 70h-74h even added.
  - PC-98 text hardware cursor fixed to cover both halves
    of doublewide characters if cursor positioned on left
    half, to match real hardware.
  - Fixed music/interrupt slowdown whenever I/O and INT 10h
    BIOS emulation is involved.
  - PC-98 minimal (non-functional at this time) printer
    port emulation added, as well as system configuration
  - PC-98 CG memory region fixed to match real hardware
    behavior, responding to A4000-A4FFF.
  - FAT filesystem driver now supports 2048 bytes per
    sector filesystems.
  - FAT filesystem driver logical/physical sector matching
    fixed to improve flexibility.
  - Fixed crash that occurs if you maximize the window
    and then adjust scalers to produce output that is
    larger than the maximized window.
  - INT 33h emulation now offers hiding the host cursor
    if the guest has provided an interrupt subroutine
    for the mouse driver to call, since it usually means
    the DOS game wishes to draw the cursor itself.
  - INT 33h emulation now offers hiding the host cursor
    if the guest is polling the cursor position, to
    better support guest/host integration with DOS games
    that draw their own cursor.
  - AUX and PS/2 emulation no longer allowed if machine
    type is PCjr.
  - PS/2 mouse emulation fixed to disable itself if the
    slave PIC needed for IRQ 12 is not present.
  - INT 33h pointer integration improved to support some
    additional DOS games, and to handle DeluxePaint II
  - IMGMOUNT now supports NFD disk images.
  - DOSBox Integration Device now available for PC-98.
  - Added support for T98Next NHD hard disk images.
  - Added support for T98Next NFD R1 disk images.
  - Fixed crash with VGA BIOS allocation if video memory
    allows the full modelist to overflow the available
    ROM space.
  - SDL2 mapper redraw issue resolved.
  - Added dosbox.conf option to determine whether INT 10h
    VESA BIOS emulation points at the modelist in ROM or
    copies the modelist into the DOS application's info
    structure when asked.

To see a diff of this commit:;a=commitdiff;h=d3bba9db7cd235622df3e1e107dc72c3d9b0c8f9

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

 dosbox-x/Makefile                          |  6 +++---
 dosbox-x/distinfo                          | 12 ++++++------
 dosbox-x/patches/        | 12 ++++++------
 dosbox-x/patches/patch-include_byteorder.h |  6 +++---
 4 files changed, 18 insertions(+), 18 deletions(-)

diff --git a/dosbox-x/Makefile b/dosbox-x/Makefile
index 1f2b0e30b7..0d4f06873f 100644
--- a/dosbox-x/Makefile
+++ b/dosbox-x/Makefile
@@ -1,18 +1,18 @@
 # $NetBSD$
-PKGNAME=	dosbox-x-0.82.10
+PKGNAME=	dosbox-x-0.82.11
 CATEGORIES=	emulators
-GITHUB_TAG=	v0.82.10
+GITHUB_TAG=	dosbox-x-v0.82.11
 COMMENT=	DOSBox with accurate emulation and wide testing
 LICENSE=	gnu-gpl-v2
+WRKSRC=			${WRKDIR}/dosbox-x-${GITHUB_TAG}
 # dosbox-x uses a modified SDL1 or system SDL2
 CONFIGURE_ARGS+=	--enable-sdl2
diff --git a/dosbox-x/distinfo b/dosbox-x/distinfo
index a40634758c..c894a1890e 100644
--- a/dosbox-x/distinfo
+++ b/dosbox-x/distinfo
@@ -1,9 +1,9 @@
-SHA1 (v0.82.10.tar.gz) = fcbea99eb42a3319f8fdd7b1e75efc4f1e78ca13
-RMD160 (v0.82.10.tar.gz) = 1a1e4b15faa33edaa19418ef1ae1bc0ed6d1b125
-SHA512 (v0.82.10.tar.gz) = 79b9b66e283ba37802ef2967e8cc1438a96af49620c7c61c88acd3e5391ee1f2bec3061bbd6b5773b2522a63f8e62d16e535b914f437305bc48ca839b1f4c66e
-Size (v0.82.10.tar.gz) = 34889916 bytes
-SHA1 ( = 2b6b1f1f7876cc5408b7b422ac137fb37ed008a8
-SHA1 (patch-include_byteorder.h) = 54268aef66ed25f8209876a28fb980358b787664
+SHA1 (dosbox-x-v0.82.11.tar.gz) = 66f56b60a166ec7ed21cfe032c59a2aa2928d10c
+RMD160 (dosbox-x-v0.82.11.tar.gz) = 7edf36a1d4c8c3108c0844f8fbd398f1a3eea8e9
+SHA512 (dosbox-x-v0.82.11.tar.gz) = d7b03169c69320214e4a600bd4010d948ece83c67c520e33f09c68671cae003ccf9ad4fa069ea41f83e45550d96030bbfbe9f438c9b76e39f00cf2edc1962d34
+Size (dosbox-x-v0.82.11.tar.gz) = 34912533 bytes
+SHA1 ( = f60d660509f13efefd8823f454a4dc2db9c10e73
+SHA1 (patch-include_byteorder.h) = 86eccfbc2318ddc8d71a6de8723947a48d98a126
 SHA1 (patch-include_dos__inc.h) = a2b8589b7dcb4430267af7948b0d31d3c4aca2c9
diff --git a/dosbox-x/patches/ b/dosbox-x/patches/
index 106e6ce96b..ed5a46c423 100644
--- a/dosbox-x/patches/
+++ b/dosbox-x/patches/
@@ -2,7 +2,7 @@ $NetBSD$
 Fix == test in configure script.
----	2018-11-04 05:04:23.000000000 +0000
+---	2018-11-22 06:17:27.000000000 +0000
 @@ -168,7 +168,7 @@ CFLAGS=["`echo $CFLAGS' ' | sed -e 's/-O
  CXXFLAGS=["`echo $CXXFLAGS' ' | sed -e 's/-O[^ ]* //g'`"]
@@ -47,7 +47,7 @@ Fix == test in configure script.
      dnl Some default CPU flags
-@@ -390,8 +390,8 @@ case "$host" in
+@@ -394,8 +394,8 @@ case "$host" in
@@ -58,7 +58,7 @@ Fix == test in configure script.
  dnl The target cpu checks for dynamic cores
  AH_TEMPLATE(C_TARGETCPU,[The type of cpu this target has])
-@@ -531,7 +531,7 @@ fi
+@@ -535,7 +535,7 @@ fi
  AH_TEMPLATE(C_XBRZ,[Define to 1 to enable XBRZ scaler])
  AC_ARG_ENABLE(xbrz,AC_HELP_STRING([--enable-xbrz],[compile with xBRZ scaler (default yes)]),enable_xbrz=$enableval,enable_xbrz=yes)
@@ -67,12 +67,12 @@ Fix == test in configure script.
  if test x$enable_emscripten != xyes; then
    if test x$enable_xbrz = xyes; then
-@@ -578,7 +578,7 @@ else
+@@ -582,7 +582,7 @@ else
 -AM_CONDITIONAL(C_MT32, test "x$enable_mt32" == "xyes")
 +AM_CONDITIONAL(C_MT32, test "x$enable_mt32" = "xyes")
- dnl FEATURE: DEBUG and HEAVY DEBUG options (debugger)
- AH_TEMPLATE(C_DEBUG,[Define to 1 to enable internal debugger, requires libcurses])
+ dnl NASM (Netwide Assembler)
+ AC_PATH_PROG([NASM], [nasm])
diff --git a/dosbox-x/patches/patch-include_byteorder.h b/dosbox-x/patches/patch-include_byteorder.h
index cf0b2536b9..329aedfa0b 100644
--- a/dosbox-x/patches/patch-include_byteorder.h
+++ b/dosbox-x/patches/patch-include_byteorder.h
@@ -2,10 +2,10 @@ $NetBSD$
 Include the correct endian.h on NetBSD.
---- include/byteorder.h.orig	2018-03-01 04:56:27.000000000 +0000
+--- include/byteorder.h.orig	2018-11-22 06:17:27.000000000 +0000
 +++ include/byteorder.h
-@@ -105,11 +105,11 @@
+@@ -115,11 +115,11 @@
+ #define _BSD_SOURCE
  #include <endian.h>
 -#elif defined(__OpenBSD__)

Home | Main Index | Thread Index | Old Index