E-Maculation
https://www.emaculation.com/forum/

High Sierra
https://www.emaculation.com/forum/viewtopic.php?f=20&t=9483
Page 2 of 2

Author:  emendelson [ Sun Nov 12, 2017 12:53 pm ]
Post subject:  Re: High Sierra

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

Author:  emendelson [ Sun Nov 12, 2017 11:40 pm ]
Post subject:  Re: High Sierra

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.

Author:  kanjitalk755 [ Wed Nov 15, 2017 1:24 pm ]
Post subject:  Re: High Sierra

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.

Author:  emendelson [ Wed Nov 15, 2017 4:01 pm ]
Post subject:  Re: High Sierra

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.

Author:  ralphy [ Wed Nov 15, 2017 5:57 pm ]
Post subject:  Re: High Sierra

It seems that the download link only has the binary. Where can I find the patch.txt file?

Author:  emendelson [ Wed Nov 15, 2017 7:44 pm ]
Post subject:  Re: High Sierra

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.

Author:  24bit [ Wed Nov 15, 2017 8:31 pm ]
Post subject:  Re: High Sierra

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.

Author:  adespoton [ Wed Nov 15, 2017 8:46 pm ]
Post subject:  Re: High Sierra

Any chance we can get this build hosted on the download page? It seems much cleaner for any modern version of OS X.

Author:  emendelson [ Thu Nov 16, 2017 2:42 am ]
Post subject:  Re: High Sierra

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.

Author:  adespoton [ Thu Nov 16, 2017 4:35 am ]
Post subject:  Re: High Sierra

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?

Author:  adespoton [ Thu Nov 16, 2017 5:00 am ]
Post subject:  Re: High Sierra

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?

Author:  24bit [ Thu Nov 16, 2017 10:11 am ]
Post subject:  Re: High Sierra

The stack/heap collision also happens with Sierra, when running MacOS7.6.
No idea how this may help, though.

Author:  emendelson [ Thu Nov 16, 2017 12:34 pm ]
Post subject:  Re: High Sierra

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

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

Author:  adespoton [ Thu Nov 16, 2017 7:06 pm ]
Post subject:  Re: High Sierra

Added a comment to the High Sierra issue.

Author:  emendelson [ Thu Nov 16, 2017 10:20 pm ]
Post subject:  Re: High Sierra

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

Author:  adespoton [ Thu Nov 16, 2017 11:44 pm ]
Post subject:  Re: High Sierra

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?

Author:  emendelson [ Fri Nov 17, 2017 3:08 am ]
Post subject:  Re: High Sierra

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

Author:  adespoton [ Fri Nov 17, 2017 5:40 pm ]
Post subject:  Re: High Sierra

That's likely the issue then; refresh isn't being called by default. I believe SDL 2 doesn't have this issue.

Author:  emendelson [ Sat Nov 18, 2017 11:45 pm ]
Post subject:  Re: High Sierra

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.

Author:  emendelson [ Sun Nov 19, 2017 3:05 pm ]
Post subject:  Re: High Sierra

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!

Author:  Benjiatwork [ Mon Nov 27, 2017 3:33 pm ]
Post subject:  Re: High Sierra

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

Benjiatwork

Page 2 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/