Re: [hatari-devel] How to detect Hatari?

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Le 04/02/2017 à 10:26, Miro Kropáček a écrit :
Hi,

I can't find it anywhere in the docs -- how to reliably detect that a
PRG (say from AUTO) is executed in Hatari?

Hi
the aim of a good emulator is that you can't differentiate it from real HW :)

You need to enable natfeats extension, then you can call the nf_name method for example. But by default natfeats is not enabled, so you can't expect other people to have it too in case you want your program to detect Hatari or not.

Nicolas



Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/