Sunday, September 01, 2024

[UPDATE] dosbox-x-2024.07.01

Here is update for dosbox-x.

- patch-src_fpu_fpu_instructions_longdouble_h (removed)
original code is fixed, no need to patch

- patch-src_hardware_esfmu_esfm_c (new)
i386 build support, based on
https://github.com/Kagamiin/ESFMu/commit/0994f3e83e1c6e0dc5689681e8d7b9cfd64558e9
https://github.com/Kagamiin/ESFMu/commit/285631cd6f7243367c9721e735b45ddb6ced84e3

ok?

Index: Makefile
===================================================================
RCS file: /cvs/ports/emulators/dosbox-x/Makefile,v
diff -u -p -r1.4 Makefile
--- Makefile 20 Apr 2024 19:21:56 -0000 1.4
+++ Makefile 1 Sep 2024 07:38:18 -0000
@@ -1,9 +1,8 @@
COMMENT= x86 with DOS emulator targeted at playing games

-VERSION= 2024.03.01
+VERSION= 2024.07.01
DISTNAME= dosbox-x-v${VERSION}
PKGNAME= dosbox-x-${VERSION}
-REVISION= 0
CATEGORIES= games x11 emulators

GH_ACCOUNT= joncampbell123
Index: distinfo
===================================================================
RCS file: /cvs/ports/emulators/dosbox-x/distinfo,v
diff -u -p -r1.2 distinfo
--- distinfo 9 Mar 2024 13:03:21 -0000 1.2
+++ distinfo 1 Sep 2024 07:38:18 -0000
@@ -1,2 +1,2 @@
-SHA256 (dosbox-x-v2024.03.01.tar.gz) = KonTGW3cFTYfbcfmqxQr/pWUXZPVJ8/Wusyh96QBpRM=
-SIZE (dosbox-x-v2024.03.01.tar.gz) = 119593920
+SHA256 (dosbox-x-v2024.07.01.tar.gz) = I0YqM5gwP4VY6Glzr5ul09bVO9rzJOx0lhDyuvHdRJs=
+SIZE (dosbox-x-v2024.07.01.tar.gz) = 119702042
Index: patches/patch-src_fpu_fpu_instructions_longdouble_h
===================================================================
RCS file: patches/patch-src_fpu_fpu_instructions_longdouble_h
diff -N patches/patch-src_fpu_fpu_instructions_longdouble_h
--- patches/patch-src_fpu_fpu_instructions_longdouble_h 20 Apr 2024 19:21:56 -0000 1.1
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,123 +0,0 @@
-- Disable FP exceptions in a portable way
- 8b362df1f26fceeccb6f3b37bd26880e72db79b2
-- Update fpu_instructions_longdouble.h
- 53fe254c9ce25a48dbe11582416cbf3a49516dce
-
-Index: src/fpu/fpu_instructions_longdouble.h
---- src/fpu/fpu_instructions_longdouble.h.orig
-+++ src/fpu/fpu_instructions_longdouble.h
-@@ -16,31 +16,18 @@
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- */
-
-+#include <cfenv> /* for std::feholdexcept */
- #include <math.h> /* for isinf, etc */
- #include "cpu/lazyflags.h"
-
--#ifdef __GNUC__
--# if defined(__MINGW32__) || (defined(MACOSX) && !defined(__arm64__))
--# include "fpu_control_x86.h"
--# elif defined(ANDROID) || defined(__ANDROID__) || (defined(MACOSX) && defined(__arm64__)) || defined(EMSCRIPTEN) || defined(__powerpc__)
--/* ? */
--# define _FPU_SETCW(x) /* dummy */
--# else
--# include <fpu_control.h>
--# endif
--static inline void FPU_SyncCW(void) {
-- uint16_t tmp = fpu.cw | 0x80 | 0x3F; // HACK: Disable all FPU exceptions until DOSBox-X can catch and reflect FPU exceptions to the guest
-- _FPU_SETCW(tmp);
--}
--#else
--static inline void FPU_SyncCW(void) {
-- /* nothing */
--}
--

No comments:

Post a Comment