SZ81 compiled for intel Mac OS-X

Emulator and emulator development specific topics
User avatar
BarryN
Posts: 151
Joined: Thu Nov 09, 2017 11:34 pm

Re: SZ81 compiled for intel Mac OS-X

Post by BarryN »

mrtinb wrote: Fri Sep 24, 2021 8:39 am Have you tried running this under macOS Big Sur? Maybe there is some new security in that version of macOS.

It seems like it might not have access to read it's own files with icons and font. So the screen is just white.
Try this...

From the finder GUI (important) move the SZ81 folder to any other location, then move it back to your desired location. Try opening the SZ81.app again. Let me know if it runs after that.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: SZ81 compiled for intel Mac OS-X

Post by mrtinb »

I have just moved it from /Applications to /Users/myuser/Applications, but it gives same reaction.

Just a white screen. The code i running however, because F10 closes the program.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
BarryN
Posts: 151
Joined: Thu Nov 09, 2017 11:34 pm

Re: SZ81 compiled for intel Mac OS-X

Post by BarryN »

mrtinb wrote: Fri Sep 24, 2021 10:41 am I have just moved it from /Applications to /Users/myuser/Applications, but it gives same reaction.

Just a white screen. The code i running however, because F10 closes the program.
Try running /Users/myuser/Applications/SZ81/SZ81.app/Contents/MacOS/SZ81 from a terminal window and post here what is outputs.

Are you on Facebook? If you send me the link to your facebook user page I can try to contact you through facebook messenger and we can chat and I'll try to help trouble shoot this issue.
User avatar
BarryN
Posts: 151
Joined: Thu Nov 09, 2017 11:34 pm

Re: SZ81 compiled for intel Mac OS-X

Post by BarryN »

Also, try going to System Preferences -> Security & Privacy -> Privacy -> Full Disk Access -> Unlock the panel and click + and add SZ81.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: SZ81 compiled for intel Mac OS-X

Post by mrtinb »

BarryN wrote: Fri Sep 24, 2021 1:39 pm Also, try going to System Preferences -> Security & Privacy -> Privacy -> Full Disk Access -> Unlock the panel and click + and add SZ81.
Full Disk Access didn't solve it either.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
olofsen
Posts: 189
Joined: Wed Jan 08, 2014 12:29 pm

Re: SZ81 compiled for intel Mac OS-X

Post by olofsen »

Normally the path to the data is determined at compile time. When run from the command line, sz81 shows "PACKAGE_DATA_DIR". Perhaps this helps in determining the directory where sz81 expects it to be installed/run from.
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: SZ81 compiled for intel Mac OS-X

Post by mrtinb »

Code: Select all

PACKAGE_DATA_DIR is ./SZ81.app/Contents/Resources/data
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: SZ81 compiled for intel Mac OS-X

Post by mrtinb »

Recording from Console app:

Code: Select all

standard	12:23:45.406965+0200	SZ81	CHECKIN: pid=56414
standard	12:23:45.413821+0200	SZ81	CHECKEDIN: pid=56414 asn=0x0-0xd26d26 foreground=0
standard	12:23:45.423887+0200	SZ81	Received configuration update from daemon (initial)
standard	12:23:45.453253+0200	SZ81	FRONTLOGGING: version 1
standard	12:23:45.453279+0200	SZ81	Registered, pid=56414 ASN=0x0,0xd26d26
standard	12:23:45.455478+0200	SZ81	BringForward: pid=56414 asn=0x0-0xd26d26 bringForward=0 foreground=0 uiElement=1 launchedByLS=0 modifiersCount=0 allDisabled=0
standard	12:23:45.457151+0200	SZ81	Current system appearance, (HLTB: 1), (SLS: 0)
standard	12:23:45.459609+0200	SZ81	No persisted cache on this platform.
standard	12:23:45.461987+0200	SZ81	Post-registration system appearance: (HLTB: 1)
standard	12:23:45.484786+0200	SZ81	NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 1
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x108513c70
 (
    "<NSAquaAppearance: 0x108513610>",
    "<NSSystemAppearance: 0x1084325c0>"
)>
standard	12:23:45.522533+0200	SZ81	0x11ada0000 - [pageID=0, frameID=0, main=1] FrameLoader::setPolicyDocumentLoader: Setting policy document loader to 0x11aef3000 (was 0x0)
standard	12:23:45.523565+0200	SZ81	0x11aef3000 - [pageID=0, frameID=0, main=1] DocumentLoader::DocumentLoader::attachToFrame: m_frame=0x11ada1000
standard	12:23:45.523586+0200	SZ81	0x11ada0000 - [pageID=0, frameID=0, main=1] FrameLoader::setProvisionalDocumentLoader: Setting provisional document loader to 0x11aef3000 (was 0x0)
standard	12:23:45.523610+0200	SZ81	0x11ada0000 - [pageID=0, frameID=0, main=1] FrameLoader::setDocumentLoader: Setting document loader to 0x11aef3000 (was 0x0)
standard	12:23:45.523626+0200	SZ81	0x11ada0000 - [pageID=0, frameID=0, main=1] FrameLoader::transitionToCommitted: Clearing provisional document loader (m_provisionalDocumentLoader=0x11aef3000)
standard	12:23:45.523639+0200	SZ81	0x11ada0000 - [pageID=0, frameID=0, main=1] FrameLoader::setProvisionalDocumentLoader: Setting provisional document loader to 0x0 (was 0x11aef3000)
standard	12:23:45.532226+0200	SZ81	0x11aef3000 - [pageID=0, frameID=0, main=1] DocumentLoader::startLoadingMainResource: Returning empty document
standard	12:23:45.532262+0200	SZ81	0x11ada0000 - [pageID=0, frameID=0, main=1] FrameLoader::setState: main frame load completed
standard	12:23:45.532288+0200	SZ81	Memory usage info dump at MainFrameLoadCompleted:
standard	12:23:45.532324+0200	SZ81	  javascript_gc_heap_extra_memory_size: 0
standard	12:23:45.532337+0200	SZ81	  compressed: 0
standard	12:23:45.532352+0200	SZ81	  phys_footprint: 8677264
standard	12:23:45.532366+0200	SZ81	  document_count: 1
standard	12:23:45.532381+0200	SZ81	  internal: 33161216
standard	12:23:45.532393+0200	SZ81	  resident_size: 57180160
standard	12:23:45.532407+0200	SZ81	  javascript_gc_heap_capacity: 49152
standard	12:23:45.532433+0200	SZ81	  virtual_size: 10071441408
standard	12:23:45.532491+0200	SZ81	  backforward_cache_page_count: 0
standard	12:23:45.532608+0200	SZ81	0x11adc6190 - PerformanceMonitor::measureCPUUsageInActivityState: Process is using 65.8% CPU in state: VisibleNonActive
standard	12:23:45.589071+0200	SZ81	Registering for test daemon availability notify post.
standard	12:23:45.589268+0200	SZ81	notify_get_state check indicated test daemon not ready.
standard	12:23:45.589432+0200	SZ81	notify_get_state check indicated test daemon not ready.
standard	12:23:45.596041+0200	SZ81	SignalReady: pid=56414 asn=0x0-0xd26d26
standard	12:23:45.596378+0200	SZ81	SIGNAL: pid=56414 asn=0x0x-0x13790502
standard	12:23:45.766642+0200	SZ81	CHECKIN: pid=56415
standard	12:23:45.772680+0200	SZ81	CHECKEDIN: pid=56415 asn=0x0-0xd27d27 foreground=0
standard	12:23:45.781104+0200	SZ81	Received configuration update from daemon (initial)
standard	12:23:45.816844+0200	SZ81	FRONTLOGGING: version 1
standard	12:23:45.816946+0200	SZ81	Registered, pid=56415 ASN=0x0,0xd27d27
standard	12:23:45.821265+0200	SZ81	Current system appearance, (HLTB: 1), (SLS: 0)
standard	12:23:45.825117+0200	SZ81	No persisted cache on this platform.
standard	12:23:45.828274+0200	SZ81	Post-registration system appearance: (HLTB: 1)
standard	12:23:45.864912+0200	SZ81	Registering for test daemon availability notify post.
standard	12:23:45.865094+0200	SZ81	notify_get_state check indicated test daemon not ready.
standard	12:23:45.865293+0200	SZ81	notify_get_state check indicated test daemon not ready.
standard	12:23:45.901900+0200	SZ81	SignalReady: pid=56415 asn=0x0-0xd27d27
standard	12:23:45.902717+0200	SZ81	SIGNAL: pid=56415 asn=0x0x-0x13794599
standard	12:23:45.915443+0200	SZ81	NSApp cache appearance:
-NSRequiresAquaSystemAppearance: 1
-appearance: (null)
-effectiveAppearance: <NSCompositeAppearance: 0x7ffdfcd26ce0
 (
    "<NSAquaAppearance: 0x7ffdfce0cd20>",
    "<NSSystemAppearance: 0x7ffdfcc18e80>"
)>
standard	12:23:45.945261+0200	SZ81	WARNING: The Gestalt selector gestaltSystemVersion is returning 10.9.0 instead of 10.16.0. This is not a bug in Gestalt -- it is a documented limitation. Use NSProcessInfo's operatingSystemVersion property to get correct system version number.
Call location:
standard	12:23:45.945331+0200	SZ81	0   CarbonCore                          0x00007fff2285d2d1 ___Gestalt_SystemVersion_block_invoke + 112
standard	12:23:45.945349+0200	SZ81	1   libdispatch.dylib                   0x00007fff202c47e6 _dispatch_client_callout + 8
standard	12:23:45.945367+0200	SZ81	2   libdispatch.dylib                   0x00007fff202c596c _dispatch_once_callout + 20
standard	12:23:45.945382+0200	SZ81	3   CarbonCore                          0x00007fff227fea72 _Gestalt_SystemVersion + 944
standard	12:23:45.945396+0200	SZ81	4   CarbonCore                          0x00007fff227fe688 Gestalt + 149
standard	12:23:45.945413+0200	SZ81	5   SDL                                 0x000000010d21cd38 SDL_SoftStretch + 14284
standard	12:23:45.945429+0200	SZ81	6   SDL                                 0x000000010d212627 SDL_VideoInit + 531
standard	12:23:49.734132+0200	SZ81	Entering exit handler.
standard	12:23:49.734163+0200	SZ81	Exiting exit handler.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
User avatar
BarryN
Posts: 151
Joined: Thu Nov 09, 2017 11:34 pm

Re: SZ81 compiled for intel Mac OS-X

Post by BarryN »

I what I would really like to see is the output from running /Users/myuser/Applications/SZ81/SZ81.app/Contents/MacOS/SZ81 in a terminal window and then exiting. It should look something like this:

Code: Select all

$ /Applications/Emulation/SZ81/SZ81.app/Contents/MacOS/SZ81 
2021-09-26 06:45:16.714 SZ81[58050:2560110] App did finish launching
Terminated: 15
$ PACKAGE_DATA_DIR is ./SZ81.app/Contents/Resources/data
Reading from /Users/barryn/.sz81/sz81rc
SDL_QUIT
User avatar
mrtinb
Posts: 1906
Joined: Fri Nov 06, 2015 5:44 pm
Location: Denmark
Contact:

Re: SZ81 compiled for intel Mac OS-X

Post by mrtinb »

BarryN wrote: Sun Sep 26, 2021 12:50 pm I what I would really like to see is the output from running /Users/myuser/Applications/SZ81/SZ81.app/Contents/MacOS/SZ81 in a terminal window and then exiting. It should look something like this:
I have sent it to you as private message.
Martin
https://zx.rtin.be
ZX81, Lambda 8300, Commodore 64, Mac G4 Cube
Post Reply