Login  •  Register


The time is now: Wed Jul 24, 2019 8:59 am

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 1 of 1 [ 9 posts ]
Print view Previous topic  |  Next topic
Author Message
PostPosted: Sat Sep 13, 2014 7:42 pm 
Offline
Space Cadet

Joined: Tue Sep 09, 2014 10:29 pm
Posts: 9
Looks like the Windows 'SheepShaverGUI.exe' does not allow you to affect the 'Ignore Illegal Instructions' config in the prefs file (which is the item 'ignoreillegal').

"Ignore illegal memory accesses" ignoresegv <true|false>
"Ignore illegal instructions" ignoreillegal <true|false>

Seems it defaults to 'false'. Is this the recommended setting?

Thanks

toshiba1


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Sun Sep 14, 2014 11:04 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5461
Location: Amsterdam, Netherlands
Discussing the settings in the Memory/Misc tab, the SheepShaver for Windows setup manual recommends enabling "Ignore Illegal Memory Accesses":
Quote:
Note 2 : Although not shown in the figure below, it is best to also tick “Ignore Illegal Memory Accesses”.

"Ignore illegal instructions" can indeed not be set in the Windows GUI. As far as I am aware, it should best be left at its default value.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 15, 2014 12:30 am 
Offline
Space Cadet

Joined: Tue Sep 09, 2014 10:29 pm
Posts: 9
interesting. These posts below claim that the 'ignore illegal instructions' set to TRUE improved stability in some programs.

viewtopic.php?f=20&t=5754&p=30520&hilit=ignoreillegal#p30520

viewtopic.php?f=20&t=8262&p=47129&hilit=Ignore+Illegal+Instructions#p47129

viewtopic.php?f=20&t=7656&p=43496&hilit=Ignore+Illegal+Instructions#p43496

Also found a typo in this post, Cat_7 was supposed to refer to 'ignoresegv' for "Ignore illegal memory accesses", not 'ignoreillegal' (which I'm sure is a common mistake):

viewtopic.php?f=20&t=7111&hilit=ignoreillegal

toshiba1


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 15, 2014 2:19 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1053
You are asking about the Windows version. The posts you reference are about the OS X version.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 15, 2014 2:28 am 
Offline
Space Cadet

Joined: Tue Sep 09, 2014 10:29 pm
Posts: 9
Can you explain why that would make a difference? I admit, I'm not an expert in emulation, any info you have would help :)

toshiba1


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 15, 2014 2:50 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 1053
If I knew, I would be glad to explain. But the two versions work very differently, and I'm not sure anyone now knows exactly why.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 15, 2014 8:23 am 
Offline
Expert User
User avatar

Joined: Thu Feb 09, 2006 10:24 pm
Posts: 5461
Location: Amsterdam, Netherlands
The original developers left the project years ago and now only few people (if any) have insight in all of the BasiliskII/SheepShaver code. Most changes in the past years were for the OSX version only.

Enabling "Ignore Illegal Instructions" is normally not recommended also in the OSX version, but it can be tried to see if it can prevent problems with programs that ask for instructions that are not available in these emulators. In many cases those programs will not run properly anyway, regardless this setting.

Is there a special reason why you ask about this setting? You can change "ignoreillegal false" to "ignoreillegal true" yourself in the prefs file using a proper text editor (Notepad will do) and see if that makes any difference in your setup.


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Sep 15, 2014 12:36 pm 
Offline
Space Cadet

Joined: Tue Sep 09, 2014 10:29 pm
Posts: 9
I asked the question originally because I was looking to improve stability overall. I had crashes/hangs fairly often.

So as of late, I set both ignoresegv and ignoreillegal to true.

The results seem to be good thus far. Running 06-05-2013 build in Windows x64. I'm going to continue to pound on it like this and see what happens =)


Top
 Profile  
Reply with quote Post a reply  
PostPosted: Mon Oct 20, 2014 12:52 pm 
Offline
Mac Mechanic
User avatar

Joined: Tue Mar 29, 2011 8:57 pm
Posts: 185
Location: London, UK
In my tests on OSX, I realised SheepShaver may respond better/worse depending on the combination of ROM file and system. For example, I always use "Mac OS ROM 1.4" with Mac OS 8.6. I am guessing it is because this rom was taken from an 8.6 system. If I try using other versions like 1.6 (from Mac OS ROM update), chances are it will crash much more often. I am not sure why it happens, maybe some ROM calls are simply different depending on the system and ROM.

So try combining other ROMs with your system, maybe it becomes more stable.

I am not sure about Old World ROMs, though, I always stick to Power Mac 7500 versions 1 or 2.


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 1 of 1 [ 9 posts ]


Who is online

Users browsing this forum: No registered users and 6 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
 

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group