Hello,
I made a function to detect the system information and to know whether a computer with Windows runs in emulation on ARM.
Does someone have such a computer to try my new function for me?
Hi Christian
I’ve an Apple Silicon MacBook Pro running Parallels, Windows for Arm and FileMaker if that’s any help? Or are you after pure hardware?
Kind regards
Andy
Parallels may be good.
FileMaker run there on Windows?
Could you run MBS( "SystemInfo.WindowsSystemInfo"; 0 ) and MBS( "SystemInfo.WindowsSystemInfo"; 1 ) and tell me the results?
The plugin is in the dropbox here:
Andy, you had the chance to try it?
Hi Christian.
On the agenda for tomorrow. Today we saw our son for the first time in 6 months, he has been in lockdown in London. We exchanged Christmas presents and had a meal together outside due to good weather and rule changes here.
Was a higher priority
I’ll send over the details tomorrow.
Kind regards
Andy
Enjoy your time with your son!
Thanks Christian, it was a good day thanks.
Results below:
MBS( "SystemInfo.WindowsSystemInfo"; 0 )
{
"ProcessorArchitecture": 9,
"ProcessorArchitectureText": "AMD64",
"Bits": 64,
"PageSize": 4096,
"ActiveProcessorMask": 3,
"NumberOfProcessors": 2,
"ProcessorType": 8664,
"ProcessorTypeText": "X8664",
"AllocationGranularity": 65536,
"ProcessorLevel": 15,
"ProcessorRevision": 1034
}
MBS( "SystemInfo.WindowsSystemInfo"; 1)
{
"ProcessorArchitecture": 9,
"ProcessorArchitectureText": "AMD64",
"Bits": 64,
"PageSize": 4096,
"ActiveProcessorMask": 3,
"NumberOfProcessors": 2,
"ProcessorType": 8664,
"ProcessorTypeText": "X8664",
"AllocationGranularity": 65536,
"ProcessorLevel": 15,
"ProcessorRevision": 1034
}
As far as I can see there is no difference between the 2 options.
Tests carried out in Parallels Version 16.3.2 (50531) Technical Preview, Windows 10 Pro Insider Preview Build 21343.1000, FileMaker Pro v 19.2.1.14 on a MacBook Pro M1 16Gb/ 1Tb running Big Sur 11.2.3
I hope this helps and let me know if I can be of further assistance.
Kindest regards.
Andy
Thanks for testing.
Seems like Intel on ARM 64-bit emulation lies and doesn't reveal the real native architecture.
No problem. It is difficult to say for sure until this can be genuinely tested on hardware and not (Apple Silicon) emulation.
I'll keep my eyes open for another opportunity.
Kindest regards
Andy
Can you try again?
But this time, please try SystemInfo.WindowsMachineInfo function, as that one may get the right information. SystemInfo.WindowsSystemInfo will report the emulated values.
For macOS we have SystemInfo.isTranslated function already to detect Rosetta.
OK, interesting. Would be fun to run this on something like a Microsoft Surface Pro X and remove the emulation on emulation to compare the results.
Christian, I'm getting "[MBS] Unknown function: SystemInfo.WindowsMachineInfo. Did you mean SystemInfo.WindowsSystemInfo?"
I've also copied the function format from your Monkeybread Software - MBS FileMaker Plugin: SystemInfo.WindowsMachineInfo website, but get the same result.
The MBS plugin is activated in FileMaker Pro 19 and SystemInfo.WindowsSystemInfo still works.
Are you sure you got the new build from today?
Ah, that would be the missing piece of information
Result:
{
"ProcessMachine": "ARM64",
"NativeMachine": "ARM64"
}
Strange that ProcessMachine is reported as ARM64 and not AMD64.
Thank you.