On Tue, 7 Sep 1999, Sean 'Captain Napalm' Conner wrote about using
self-modifying code to check the size of the prefetch buffer to
differentiate between 8086 and 8088.
But does anyone have a good way to differentiate between 386SX and 386DX?
Possibilities that come to mind include brute force speed comparison?
Compare speed of moving data that is word v doubleword aligned?
SX has 24 bit address bus, DX has 32 bits. Any easy way to test?
How about trying to select or write to memory addresses higher than 16mb,
which was the maximum the 386sx could address? Or would that give you
false positives for 386sx if you don't actually have more than 16 megs of RAM?
--
Jim Strickland
jim(a)DIESPAMMERSCUMcalico.litterbox.com
-----------------------------------------------------------------------
BeOS Powered!
-----------------------------------------------------------------------