Welcome, Guest. Please login or register.

Author Topic: How to detect if an emulator is being used ?  (Read 6612 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline Wasagi

  • Newbie
  • *
  • Join Date: Sep 2010
  • Posts: 34
    • Show only replies by Wasagi
Re: How to detect if an emulator is being used ?
« Reply #14 on: March 03, 2011, 11:18:44 AM »
Quote from: Franko;619175
Well it is a pretty daft question to be honest, a blind man & his dog would know if it was an emulator being used... :)

Of course you could try plugging in an accelerator card in the expansion port... what's that, no expansion port to plug me Amiga accelerator card into... must be a machine running an emulator then... :D


I think you completely missed the point
 

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: How to detect if an emulator is being used ?
« Reply #15 on: March 03, 2011, 11:31:02 AM »
Quote from: Jope;619244
Coding an emufuxxor? How quaint.

Why not just ask Toni directly, I'm sure he can give you some info as to what virtual devices / registers to check for.


Im not sure what you mean by emufuxxor, but what Im doing isnt exclusively related related to uae. OS4.x and MOS 68k emulation cores are also relevant (but easier to detect).
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: How to detect if an emulator is being used ?
« Reply #16 on: March 03, 2011, 01:16:24 PM »
Quote from: Wasagi;619245
I think you completely missed the point


Looks like it... it was early in the morning and I hadn't been to bed yet so the old brain cell was a wee bit addled at the time... :)

Still I'm curious to know why fishy_fiz needs to be able to know this, wonder what secret project he's working on... :)
 

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: How to detect if an emulator is being used ?
« Reply #17 on: March 03, 2011, 01:24:23 PM »
Hehe, nothing particuarly secret, I just want to be able to report the hardware that's being run on semi accurately :) ......... or do I ?   :queue evil laugh:
« Last Edit: March 03, 2011, 01:37:20 PM by fishy_fiz »
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline nicholas

Re: How to detect if an emulator is being used ?
« Reply #18 on: March 03, 2011, 01:41:56 PM »
Quote from: fishy_fiz;619258
Hehe, nothing particuarly secret, I just want to be able to report the hardware that's being run on semi accurately :) ......... or do I ?   :queue evil laugh:


 You could do worse than to read the source code of Piru's WhichAmiga tool.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: How to detect if an emulator is being used ?
« Reply #19 on: March 03, 2011, 01:44:04 PM »
It's not too difficult to report physical hardware, just gets a bit trickier to report a host systems hardware when there's emulation involed.
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: How to detect if an emulator is being used ?
« Reply #20 on: March 03, 2011, 01:48:53 PM »
:idea:Wow I've just had a brilliant idea...:idea:

You could simply have a requester at the start of you prog asking the user to input what kind of system or emulator they're using... :)

(PS:you don't have to thank me for that one, it's a freebie... ;))
 

Offline Fransexy_

  • Sr. Member
  • ****
  • Join Date: Feb 2005
  • Posts: 317
    • Show only replies by Fransexy_
Re: How to detect if an emulator is being used ?
« Reply #21 on: March 03, 2011, 01:51:31 PM »
Quote from: Franko;619163
Erm... that's kinda simple it will have the names Apple, Microsoft, Dell etc... somewhere on the machine... :)


What part of "in code I mean, obviously eyes would suffice otherwise " didn't you understood?
DON\'T TAKE LIFE SO SERIOUSLY AFTER ALL NOBODY GETS OUT ALIVE OF IT
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: How to detect if an emulator is being used ?
« Reply #22 on: March 03, 2011, 01:55:51 PM »
Quote from: Fransexy_;619269
What part of "in code I mean, obviously eyes would suffice otherwise " didn't you understood?


The part that I didn't bother to read... :)
 

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: How to detect if an emulator is being used ?
« Reply #23 on: March 03, 2011, 01:56:59 PM »
Quote from: Franko;619268
:(PS:you don't have to thank me for that one, it's a freebie... ;))


Well that eases my conscience a little as I had no plans to thank you  ;)
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: How to detect if an emulator is being used ?
« Reply #24 on: March 03, 2011, 01:59:37 PM »
Quote from: fishy_fiz;619271
Well that eases my conscience a little as I had no plans to thank you  ;)


Hmph... in that case I'll keep such brilliant ideas to meself in future... :(
 

Offline fishy_fizTopic starter

  • Hero Member
  • *****
  • Join Date: Jan 2005
  • Posts: 1813
    • Show only replies by fishy_fiz
Re: How to detect if an emulator is being used ?
« Reply #25 on: March 03, 2011, 02:04:29 PM »
Just to clarify, that was intended as tongue in cheek. Sometimes the lack of tone and/or infliction on forums can make things seem different than intended.

Really though it wouldnt work, the whole point to the excercise for me is to have the computer tell a person what system theyre running the software on. Time (and me releasing it) will make things a bit clearer.
Near as I can tell this is where I write something under the guise of being innocuous, but really its a pot shot at another persons/peoples choice of Amiga based systems. Unfortunately only I cant see how transparent and petty it makes me look.
 

Offline Franko

  • Hero Member
  • *****
  • Join Date: Jun 2010
  • Posts: 5707
    • Show only replies by Franko
Re: How to detect if an emulator is being used ?
« Reply #26 on: March 03, 2011, 02:11:50 PM »
Quote from: fishy_fiz;619274
Just to clarify, that was intended as tongue in cheek. Sometimes the lack of tone and/or infliction on forums can make things seem different than intended.

Really though it wouldnt work, the whole point to the excercise for me is to have the computer tell a person what system theyre running the software on. Time (and me releasing it) will make things a bit clearer.


I'd gathered that, as I've kinda got used to your sense of humour now... ;)

Still it's got me very curious as to what you're writing, guess I'll just have to wait and see... :)
 

Offline Angus

  • Sr. Member
  • ****
  • Join Date: Apr 2006
  • Posts: 268
    • Show only replies by Angus
    • http://www.angusm.demon.co.uk/AGDB/AGDB.html
Re: How to detect if an emulator is being used ?
« Reply #27 on: March 03, 2011, 02:34:48 PM »
Quote from: fishy_fiz;619274
Sometimes the lack of tone and/or infliction on forums can make things seem different than intended.



Tee-hee.  :)
 

Offline Karlos

  • Sockologist
  • Global Moderator
  • Hero Member
  • *****
  • Join Date: Nov 2002
  • Posts: 16882
  • Country: gb
  • Thanked: 6 times
    • Show only replies by Karlos
Re: How to detect if an emulator is being used ?
« Reply #28 on: March 03, 2011, 02:40:05 PM »
I think it is fair to say there is no single test to determine if your code is running under emulation. You can look for tell-tale resources to determine if your code is running under OS4, MorphOS and UAE, but even if you don't find any of those, there's no guarantee you aren't in an emulation of some description. After all, the "perfect" emulator should be totally indistinguishable from the real thing as far as any userland code is concerned.
int p; // A
 

Offline nicholas

Re: How to detect if an emulator is being used ?
« Reply #29 from previous page: March 03, 2011, 02:49:50 PM »
Version of exec.library should give away MOS and OS4, uaertg, uaehf and uaescsi devices are obvious ones to check for uae.

As for Fellow, Piru's earlier suggestion is probably best.

Are there any other emulators? (Amithlon, OSXL?)
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini