top | item 40340035

(no title)

jjuran | 1 year ago

Author of MacRelix (and system-info) here.

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

discuss

order

lampiaio|1 year ago

Out of curiosity, how is MacRelix able to detect even under what emulator the system is running on?

jjuran|1 year ago

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.