Login  •  Register


The time is now: Fri Nov 24, 2017 10:15 pm

Emaculation wiki  •  Delete all board cookies



Post new topic  Reply to topic Page 2 of 2 [ 45 posts ]    Go to page Previous  1, 2
Print view Previous topic  |  Next topic
Author Message
 Post subject: Re: High Sierra
PostPosted: Sun Nov 12, 2017 12:53 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
Thank you for that!

I've now successfully built SheepShaver in Xcode, but it won't launch, and doesn't give any error message when I start the executable in the terminal.

I doubt anyone will want to look at this, but here it is:

https://www.dropbox.com/sh/y6z7euzl8xcv ... KPA7a?dl=1

Because I don't know what I'm doing, I probably shouldn't be trying any of this...


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Sun Nov 12, 2017 11:40 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
Further details. When I try to open SheepShaver (built in High Sierra with both Xcode 8.3.3 and Xcode 9.1) from the command line, I get this error:

Code:
LSOpenURLsWithRole() failed with error -10810 for the file /Emulators/SheepShaver/SheepShaver-TestHS.app.


One suggestion on line for that error number was to apply chmod +x on the executable, but it didn't do any good.

Incidentally, the same error occurs if I use "stock" SDL.framework or your patched SDL.framework when building.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Wed Nov 15, 2017 1:24 pm 
Offline
Space Cadet

Joined: Thu Nov 09, 2017 12:06 pm
Posts: 7
I have made a patch to 64bit SheepShaver running on High Sierra.

It is not contain JIT support.

(1) download current source code of SheepShaver (cebix-macemu-e076409.zip) and unzip
(2) apply patch as follows.
Code:
$ patch -up0 -d Downloads/ <patch.txt

(3) open SheepShaver_Xcode8.xcodeproj
(4) set Build Configuration to Release.
(5) build

The patch and binary is here.
http://fast-uploader.com/file/7066306862054/
The mouse cursor problem is also fixed.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Wed Nov 15, 2017 4:01 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
Thank you! The patched code builds perfectly under Xcode 8; I will try it later on Xcode 9.

I hope the developers might include your patch. I will add a link to it in the issue I filed on Github.

Thank you again. This is a great help.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Wed Nov 15, 2017 5:57 pm 
Offline
Space Cadet

Joined: Wed Nov 15, 2017 5:43 pm
Posts: 1
It seems that the download link only has the binary. Where can I find the patch.txt file?


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Wed Nov 15, 2017 7:44 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
The download link leads to a DMG file that has the binary, a readme, and the patch file. You may have to click around on the page if (like me) you don't read Japanese, but the DMG is definitely there.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Wed Nov 15, 2017 8:31 pm 
Offline
Forum All-Star

Joined: Wed Nov 11, 2009 5:47 pm
Posts: 1038
Location: Germany
Thanks for the binary!
I´m not upgrading to HS for now, as I run into issues with HS and my ancient router/DSL modem.
Your build may be a life saver for many here, not in the situation to compile from source.


Last edited by 24bit on Wed Nov 15, 2017 8:47 pm, edited 1 time in total.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Wed Nov 15, 2017 8:46 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1844
Any chance we can get this build hosted on the download page? It seems much cleaner for any modern version of OS X.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 2:42 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
One problem with this build (and it may be a known problem in the current code): when you go to full-screen, the desktop goes blank, and stays blank when you switch back from full-screen.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 4:35 am 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1844
That sounds like an SDL issue; it's calling blank like it's supposed to, but not calling refresh.

This is still using SDL 1.2, correct?


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 5:00 am 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1844
I finally tried the new build in High Sierra... I consistently get a stack heap collision either during or just after boot. This does not happen with the previous version. Non-JIT bug?


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 10:11 am 
Offline
Forum All-Star

Joined: Wed Nov 11, 2009 5:47 pm
Posts: 1038
Location: Germany
The stack/heap collision also happens with Sierra, when running MacOS7.6.
No idea how this may help, though.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 12:34 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
I didn't experience this, but please file a detailed report on the Issues tab at:

https://github.com/cebix/macemu/issues


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 7:06 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1844
Added a comment to the High Sierra issue.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 10:20 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
emendelson wrote:
One problem with this build (and it may be a known problem in the current code): when you go to full-screen, the desktop goes blank, and stays blank when you switch back from full-screen.


Actually, the desktop comes back when you shift the focus away from SheepShaver and then back again. It seems that the screen doesn't refresh by itself...


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Thu Nov 16, 2017 11:44 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1844
emendelson wrote:
Actually, the desktop comes back when you shift the focus away from SheepShaver and then back again. It seems that the screen doesn't refresh by itself...


adespoton wrote:
That sounds like an SDL issue; it's calling blank like it's supposed to, but not calling refresh.

This is still using SDL 1.2, correct?


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Fri Nov 17, 2017 3:08 am 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
adespoton wrote:
This is still using SDL 1.2, correct?


Yes. At least three different messages in this thread explicitly refer to 1.2; e.g.:

Quote:
I'll describe how to build SDL and SheepShaver in High Sierra using Xcode8.3.3

(1) download SDL-1.2.15.zip and unzip
(2) open SDL-1.2.15/Xcode/SDL/SDL.xcode


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Fri Nov 17, 2017 5:40 pm 
Offline
Forum All-Star
User avatar

Joined: Fri Nov 27, 2009 5:11 am
Posts: 1844
That's likely the issue then; refresh isn't being called by default. I believe SDL 2 doesn't have this issue.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Sat Nov 18, 2017 11:45 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
In an earlier message, I wrote that I was unable to get a usable build from Xcode 9. The mistake seems to have been mine - before building, I clicked on the warning that said to update the settings to the current environment. This seemed like the right thing to do, but in fact I was making a beginner's error, which was to do something that wasn't necessary.

When I built without performing this update, the resulting build was entirely usable. More details later.


Top
 Profile  
Reply with quote Post a reply  
 Post subject: Re: High Sierra
PostPosted: Sun Nov 19, 2017 3:05 pm 
Offline
Forum All-Star

Joined: Tue Oct 14, 2008 12:12 am
Posts: 761
I've now posted a working copy of a build made from the current code here:

viewtopic.php?f=20&t=9535

Thanks again to Richard Ludwig for telling me that this was possible!


Top
 Profile  
Reply with quote Post a reply  
Display posts from previous:  Sort by  
Post new topic  Reply to topic Page 2 of 2 [ 45 posts ]    Go to page Previous  1, 2


Who is online

Users browsing this forum: No registered users and 3 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