From 3c37ab44c4a3e2e0c2a943a70007522721c46229 Mon Sep 17 00:00:00 2001 From: Seg Date: Tue, 1 Dec 2020 00:37:45 -0800 Subject: [PATCH 1/2] Change SheepShaver default build to direct addressing. --- SheepShaver/src/Unix/configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SheepShaver/src/Unix/configure.ac b/SheepShaver/src/Unix/configure.ac index 749ebdff..d2cca7ca 100755 --- a/SheepShaver/src/Unix/configure.ac +++ b/SheepShaver/src/Unix/configure.ac @@ -57,13 +57,13 @@ AC_ARG_WITH(libvhd, dnl Addressing mode AC_ARG_ENABLE(addressing, - [ --enable-addressing=AM set the addressing mode to use [default=real]], + [ --enable-addressing=AM set the addressing mode to use [default=direct]], [case "$enableval" in real) WANT_ADDRESSING_MODE="real";; direct) WANT_ADDRESSING_MODE="direct";; direct,0x*) WANT_ADDRESSING_MODE="direct"; NATMEM_OFFSET=`echo "$enableval" | sed -n '/direct,\(0[[xX]][[0-9A-Fa-f]]*\([[UuLl]]\{1,2\}\)\?\)$/s//\1/p'`;; esac], - [WANT_ADDRESSING_MODE="real"] + [WANT_ADDRESSING_MODE="direct"] ) dnl SDL options. From 63fdad3ab7b6c11ec95ad3a36ee8e9786de264a6 Mon Sep 17 00:00:00 2001 From: Seg Date: Thu, 3 Dec 2020 20:26:26 -0800 Subject: [PATCH 2/2] Disable JIT in SheepShaver default build. JIT is currently broken with direct addressing. --- SheepShaver/src/Unix/configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SheepShaver/src/Unix/configure.ac b/SheepShaver/src/Unix/configure.ac index d2cca7ca..02b7fb30 100755 --- a/SheepShaver/src/Unix/configure.ac +++ b/SheepShaver/src/Unix/configure.ac @@ -29,7 +29,7 @@ case $target_os in esac dnl Options. -AC_ARG_ENABLE(jit, [ --enable-jit enable JIT compiler [default=yes]], [WANT_JIT=$enableval], [WANT_JIT=yes]) +AC_ARG_ENABLE(jit, [ --enable-jit enable JIT compiler [default=no]], [WANT_JIT=$enableval], [WANT_JIT=no]) AC_ARG_ENABLE(ppc-emulator, [ --enable-ppc-emulator use the selected PowerPC emulator [default=auto]], [WANT_EMULATED_PPC=$enableval], [WANT_EMULATED_PPC=auto]) AC_ARG_ENABLE(fbdev-dga, [ --enable-fbdev-dga use direct frame buffer access via /dev/fb0 [default=yes]], [WANT_FBDEV_DGA=$enableval], [WANT_FBDEV_DGA=yes]) AC_ARG_ENABLE(xf86-dga, [ --enable-xf86-dga use the XFree86 DGA extension [default=yes]], [WANT_XF86_DGA=$enableval], [WANT_XF86_DGA=yes])