Welcome, Guest. Please login or register.

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

Description:

0 Members and 1 Guest are viewing this topic.

Offline kvasir

  • Full Member
  • ***
  • Join Date: Aug 2004
  • Posts: 249
    • Show all replies
    • http://watertonian.freeiz.com/1200brag/index.html
Re: How to detect if an emulator is being used ?
« on: March 03, 2011, 09:21:00 AM »
Quote from: fishy_fiz;619160
The topic covers it I guess. Just wondering the best way to detect whether or not something is running on an emulator rather than real hardware ? (in code I mean, obviously eyes would suffice otherwise :))


I remember using UAE-control, as an added program in UAE, which allows it to trigger a reset, change floppies (adf files), en/disable audio and joystick emulation. Perhaps figuring out how UAE-Control did that might help, via Enforcer or some kind of snooping tool? If its a physicall static memory address its sending info to (path of a windows/linux/whatever hosted ADF file), you might be able to "patch" that area of memory and see if it gets blocked or something. Or try to eject the disk, and monitor for errors when there's no electronic eject mechanism (Unless a physical Amiga floppy drive exists that did that, but I doubt it considering how annoying it was for Macs)

EDIT: Just tried it, looks like it uses line 1111 :D
« Last Edit: March 03, 2011, 09:36:24 AM by kvasir »
--
Amiga 1200T 68060 50MHZ 192MB Fast
 40GB IDE, 100MB Zip, CD/RW, DVD/Rom
 Mediator+ 4MBSVGA, Soundblaster, 100mbps Ethernet
 Subway USB+ endless list of gadgets :-D
My full specs