I am interested in how a program could detect if it is running on an8052 compatible device, or just 8051. It should be reliable, i e if the device is not 8052 compatible, the test sihould not hang up the device.
One idea I have, is to write to the idata space and read back. But then I need to know that NO 8051-non8052-compatible device has the extended,256 bytes, internal memory. So that is no good, unless I can get that comfirmed.
Any constructive input is appreciated.