Re: [hatari-devel] Identifying the presence of Hatari |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-devel Archives
]
- To: hatari-devel@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-devel] Identifying the presence of Hatari
- From: Vincent Rivière <vincent.riviere@xxxxxxxxxxx>
- Date: Mon, 19 Mar 2018 11:19:33 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding; bh=aN6/WqmfIy3lui2VJa4e4cCZhWpHCgI+7veiAOimuCI=; b=fkcphFuFEcbGMIumRvFHHg8FVyMkqeVWvirLkLVchuB5XzO/pSHQ7qm9a5X/yHu9GN XSgn/2EOp0FkAUbLxd3CWXB080WPfj/ENUtL1+zQqAsSVPlzj7EsOZg5XmhRKHnD/AdT 3G82Cdwt3rd+O3nF8ViZb4W76W7Ngt3i3NaOYUNZhZ+sQbIma+v7Mhj/ssXDMrYevBOS WQXMbUpjVWJzmw2cxl0kFwtiShqAgzHgga8iPn+BqHFju2SLKvnnWhMUw0O5wFcaixcA Xk4gbALBMwUO3oAsBJo6NkSrWldhmVjvNNJRXsYSCqmrQZlmuVLlUBJ/6BtxKl7ByuU7 YKFg==
On 19/03/2018 à 05:36, Thorsten Otto wrote:
You could use the NF_NAME NatFeats feature, but unfortunately that is disabled
by default in Hatari.
Exactly.
By default, Hatari wants to be undetectable by software.
On the other hand, when started with "--natfeats yes", the NF_NAME
NatFeats returns "Hatari". Old EmuTOS versions shown "Hatari" in machine
name in that case. This was annoying because "Hatari" was hiding
emulated hardware such as "ST", "Falcon", etc. I fixed
guess_machine_name() in EmuTOS sources 2 years ago:
commit 8fdc9953f91b0a82714ff5b5f22ec27e2ec6afb4
Author: Vincent Rivière <vriviere@xxxxxxxxxxxxxxxxxxxxx>
Date: Tue Apr 5 13:52:12 2016 +0200
Show the emulated machine name on Hatari even with --natfeats yes
We could add hatari_machine_detect() in EmuTOS, just like
aranym_machine_detect(). But it will only work when started with
"--natfeats yes".
--
Vincent Rivière