Re: [hatari-users] Detect Hatari |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/hatari-users Archives
]
- To: hatari-users@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [hatari-users] Detect Hatari
- From: Thomas Huth <th.huth@xxxxxxxxx>
- Date: Sun, 14 Jun 2020 16:30:45 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1592145047; bh=YxgUXJkvPFmf+IjH4E92Za75sosDDnnqrmNX2tqh1H4=; h=Date:From:To:Subject:From; b=eDpZvdAMathxuBx1GVjkg4WZfgSIGHMHjH+K6azMle+wCz2ZC0oaJD+aW3loy/334 MF/PJekrBK+1CIGX4PVwiBUstqMIvYdzPlqW8p2Zk2lvk3P5L+c773TueAdJLZY+23 YSvy8A3N4ncD+N4bGMdHpj70G98GPQctdXYd904pTMrIH9+D8W7lo9MTZSI7K3moXq lyNh9ucZ608TNyD5BeTXeCv9ndI4gbcmPlW2s0dShLQW7DmBHuPaeQ9FwewNZ4uG4+ CPQGBY4xEXqwTPjKGYGffoR4rga18Mcg4vpGXp5VNPO40U396jIiHYOFUaLJ8CsRYR nUBXwdT3YylGg==
Am Sun, 14 Jun 2020 11:51:39 +0200
schrieb Jo Even Skarstein <joska@xxxxxxxxx>:
> Hi,
>
> Is there a clean way for a TOS program to detect that it's running in
> Hatari?
Yes, run Hatari with "--natfeats on", then you can use the NF_NAME
natfeats call to get the name of the emulator.
Thomas