1) Attempt to reset the 'B' flag,
2) If the attempt succeeds, you are running on an emulator,
othewise you are running on hardware.
This method is based on Eckhard's theory that the 'B' flag
is directly wired to the IRQ pin, hence it cannot be
controlled from software on a 'real' 6507.
Any thoughts on this?
NOTE: I doubt the wisdom of writing games which check the
running environment, but as an exercise in research it's not
a bad project!
Democracy: The triumph of popularity over principle.
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://stella.biglist.com