Page 2 of 2

Re: High Sierra

Posted: Sun Nov 12, 2017 12:53 pm
by emendelson
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...

Re: High Sierra

Posted: Sun Nov 12, 2017 11:40 pm
by emendelson
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: Select all

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.

Re: High Sierra

Posted: Wed Nov 15, 2017 1:24 pm
by kanjitalk755
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: Select all

$ 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.

Re: High Sierra

Posted: Wed Nov 15, 2017 4:01 pm
by emendelson
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.

Re: High Sierra

Posted: Wed Nov 15, 2017 5:57 pm
by ralphy
It seems that the download link only has the binary. Where can I find the patch.txt file?

Re: High Sierra

Posted: Wed Nov 15, 2017 7:44 pm
by emendelson
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.

Re: High Sierra

Posted: Wed Nov 15, 2017 8:31 pm
by 24bit
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.

Re: High Sierra

Posted: Wed Nov 15, 2017 8:46 pm
by adespoton
Any chance we can get this build hosted on the download page? It seems much cleaner for any modern version of OS X.

Re: High Sierra

Posted: Thu Nov 16, 2017 2:42 am
by emendelson
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.

Re: High Sierra

Posted: Thu Nov 16, 2017 4:35 am
by adespoton
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?

Re: High Sierra

Posted: Thu Nov 16, 2017 5:00 am
by adespoton
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?

Re: High Sierra

Posted: Thu Nov 16, 2017 10:11 am
by 24bit
The stack/heap collision also happens with Sierra, when running MacOS7.6.
No idea how this may help, though.

Re: High Sierra

Posted: Thu Nov 16, 2017 12:34 pm
by emendelson
I didn't experience this, but please file a detailed report on the Issues tab at:

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

Re: High Sierra

Posted: Thu Nov 16, 2017 7:06 pm
by adespoton
Added a comment to the High Sierra issue.

Re: High Sierra

Posted: Thu Nov 16, 2017 10:20 pm
by emendelson
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...

Re: High Sierra

Posted: Thu Nov 16, 2017 11:44 pm
by adespoton
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?

Re: High Sierra

Posted: Fri Nov 17, 2017 3:08 am
by emendelson
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.:
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

Re: High Sierra

Posted: Fri Nov 17, 2017 5:40 pm
by adespoton
That's likely the issue then; refresh isn't being called by default. I believe SDL 2 doesn't have this issue.

Re: High Sierra

Posted: Sat Nov 18, 2017 11:45 pm
by emendelson
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.

Re: High Sierra

Posted: Sun Nov 19, 2017 3:05 pm
by emendelson
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!

Re: High Sierra

Posted: Mon Nov 27, 2017 3:33 pm
by Benjiatwork
Thanks alot kanjitalk755, works fine in High Sierra ! No more mouse rectangle shadow, so happy !

Benjiatwork