| Re: [hatari-devel] Problems with some FPU tests |
[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]
|
The crashes seem to be related to different video conversion functions being used, and some of the system variables not being initialized in tos-less mode. I haven't found out yet why the problem can't be reproduced by eg. adding --machine tt to the arguments of the xbiostst, but the attached patch should fix it.
But now i have a similar problem when trying to add --mmu true for cpulevels that support it, some of the tests then fail with an assertion:
hatari: /home/sebilla/atari/hatari/src/statusbar.c:591: Statusbar_UpdateInfo: Assertion `end - DefaultMessage.msg < MAX_MESSAGE_LEN' failed.
|
diff -r 190455576334 src/options.c
--- a/src/options.c Mon Apr 23 10:33:37 2018 +0200
+++ b/src/options.c Tue Apr 24 15:46:57 2018 +0200
@@ -1671,6 +1671,13 @@
{
bLoadAutoSave = false;
}
+ if (!bUseTos)
+ {
+ ConfigureParams.Screen.DisableVideo = true;
+ ConfigureParams.Sound.bEnableSound = false;
+ ConfigureParams.Rom.bPatchTos = false;
+ ConfigureParams.Screen.bShowStatusbar = false;
+ }
break;
case OPT_PATCHTOS:
diff -r 190455576334 src/video.c
--- a/src/video.c Mon Apr 23 10:33:37 2018 +0200
+++ b/src/video.c Tue Apr 24 15:46:57 2018 +0200
@@ -4132,6 +4132,9 @@
if (nVBLs % (nFrameSkips+1))
return;
+ if (ConfigureParams.Screen.DisableVideo)
+ return;
+
/* Now draw the screen! */
if (bUseVDIRes)
{
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |