News for hackers. Stuff that matters.
Re:MacRelix – Unix-like features for classic Mac OS by Tevo on Sunday May 12, 2024 @11:25PM (#40339530)
Not entirely on topic, but it is such a pleasant touch to see the titles for the properties displayed before the shell all lining up just by word choice alone. I've seen people who pad out code comments like that; it has this rather capricious, sculpture-like feeling to it.
Re:MacRelix – Unix-like features for classic Mac OS by jjuran on Monday May 13, 2024 @01:19AM (#40340035)
Author of MacRelix (and system-info) here.

I'm delighted that you've noticed and appreciate this. :-)

Re:MacRelix – Unix-like features for classic Mac OS by lampiaio on Monday May 13, 2024 @11:27AM (#40344426)
Out of curiosity, how is MacRelix able to detect even under what emulator the system is running on?
Re:MacRelix – Unix-like features for classic Mac OS by jjuran on Monday May 13, 2024 @12:49PM (#40345315)
It's mostly checking Gestalt() and scanning the unit table for specific graphics drivers, occasionally peeking in low memory. (My own v68k core identifies itself through undefined CCR bits in the CHK instruction.)

Have a look at tools/mac/system-info/system-info.cc and mac/libs/mac-sys-utils/mac_sys/has/virtualization.hh in the metamage_1 repository.