High Sierra

About SheepShaver, a PPC Mac emulator for Windows, MacOS X, and Linux that can run System 7.5.3 to MacOS 9.0.4.

Moderators: Cat_7, Ronald P. Regensburg, ClockWise

emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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...
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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.
kanjitalk755
Mac Mechanic
Posts: 153
Joined: Thu Nov 09, 2017 12:06 pm

Re: High Sierra

Post 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.
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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.
ralphy
Space Cadet
Posts: 1
Joined: Wed Nov 15, 2017 5:43 pm

Re: High Sierra

Post by ralphy »

It seems that the download link only has the binary. Where can I find the patch.txt file?
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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.
User avatar
24bit
Forum All-Star
Posts: 1405
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: High Sierra

Post 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.
Last edited by 24bit on Wed Nov 15, 2017 8:47 pm, edited 1 time in total.
User avatar
adespoton
Forum All-Star
Posts: 3068
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: High Sierra

Post 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.
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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.
User avatar
adespoton
Forum All-Star
Posts: 3068
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: High Sierra

Post 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?
User avatar
adespoton
Forum All-Star
Posts: 3068
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: High Sierra

Post 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?
User avatar
24bit
Forum All-Star
Posts: 1405
Joined: Wed Nov 11, 2009 5:47 pm
Location: Germany

Re: High Sierra

Post by 24bit »

The stack/heap collision also happens with Sierra, when running MacOS7.6.
No idea how this may help, though.
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post by emendelson »

I didn't experience this, but please file a detailed report on the Issues tab at:

https://github.com/cebix/macemu/issues
User avatar
adespoton
Forum All-Star
Posts: 3068
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: High Sierra

Post by adespoton »

Added a comment to the High Sierra issue.
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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...
User avatar
adespoton
Forum All-Star
Posts: 3068
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: High Sierra

Post 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?
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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
User avatar
adespoton
Forum All-Star
Posts: 3068
Joined: Fri Nov 27, 2009 5:11 am
Location: Emaculation.com
Contact:

Re: High Sierra

Post by adespoton »

That's likely the issue then; refresh isn't being called by default. I believe SDL 2 doesn't have this issue.
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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.
emendelson
Forum All-Star
Posts: 1228
Joined: Tue Oct 14, 2008 12:12 am

Re: High Sierra

Post 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!
User avatar
Benjiatwork
Space Cadet
Posts: 6
Joined: Sat Sep 30, 2017 7:24 pm
Location: Bagnols-sur-Cèze, France

Re: High Sierra

Post by Benjiatwork »

Thanks alot kanjitalk755, works fine in High Sierra ! No more mouse rectangle shadow, so happy !

Benjiatwork
Post Reply