Questions tagged [emulation]

For questions about emulation and emulators, where a computer program is emulating (imitating) the behavior of another program or hardware device.

An emulator is a system which is designed to perform the duties of a different system. An emulator is distinct from a simulator (an emulator is intended to replicate the external behaviour of a system, whereas a simulator replicates the internal behaviour). See:

Emulators are commonly used to allow programs written for one system to be run on a different system. This is desirable when developing for a wide variety of target platforms, or when maintaining old programs designed for deprecated hardware.

One type of emulator that emulates a computer is called a . These are used by companies so they can tests their apps on the emulator rather than on an actual hardware.

Examples of some emulators:

Questions in this tag should relate in some way to the implementation or usage of a computer system which is an emulator.

4400 questions
27
votes
7 answers

CPU Emulation and locking to a specific clock speed

If you had read my other question, you'll know I've spent this weekend putting together a 6502 CPU emulator as a programming exercise. The CPU emulator is mostly complete, and seems to be fairly accurate from my limited testing, however it is…
FlySwat
  • 172,459
  • 74
  • 246
  • 311
26
votes
1 answer

Visual Studio Android Emulator Display Keyboard

How can I display keyboard on VS Android Emulator? In AVD I can setup it from emulator configurator, but there is no way in VS.
BoSkiv
  • 801
  • 8
  • 12
26
votes
4 answers

Simplest possible architecture that can be virtualized and run the Linux kernel

I've been inspired by Fabrice Bellard's implementation of an x86 virtual machine in Javascript, and I'd like to try writing the simplest possible virtual machine that is capable of running the Linux kernel. This is a purely educational endeavour,…
Richard Keller
  • 1,980
  • 2
  • 19
  • 32
25
votes
5 answers

Android Device Manager fails to launch after updating to MacOS Big Sur 11.3

So my Mac just forced updated to Big Sur 11.3. I've been trying to access the Android Device Manager to run an emulated device and it has been silently failing each time. When I tried to run it from the command line, I get this error…
centuryfall
  • 400
  • 2
  • 5
  • 13
25
votes
3 answers

Bluetooth Low Energy on Android Emulator

I studied about Bluetooth Low Energy. But I don't have supported BLE device for testing. Therefore, I want to ask : Do the Android emulator supports BLE feature for testing? I tried with the following code on Android Emulator 4.3 (x86) and Android…
user3060611
24
votes
2 answers

How do I run an Android emulator automatically from Eclipse?

I need to know how to run an Android emulator automatically from Eclipse. Any ideas?
tantan
24
votes
2 answers

Is there any way to emulate perfectly a OnePlus device?

I'm trying to debug a problem that seems to be happening only on OnePlus devices, unfortunately buying this device is not an option for me, so I've been looking on Google how to emulate an OnePlus device but without any success :( Is there any way I…
Gabcvit
  • 1,468
  • 1
  • 15
  • 32
24
votes
1 answer

A Reference on the layout and structure of GameBoy Color Roms?

Does anyone have a reference or source about how GameBoy Color roms are laid out - where the data and code, what machine code instructions are used, how the clock works etc? I'm interested in perhaps building an emulator myself but I can't find any…
Callum Rogers
  • 15,630
  • 17
  • 67
  • 90
24
votes
4 answers

Emulate ZPL printer

To emulate ZPL printer on my mac I searched through internet for a few days. Finally I've got a solution to post here, so other users could find it helpful. I wanted to post my solution here Emulate Zebra printer But "thanks" for those who decided…
ZuzEL
  • 12,768
  • 8
  • 47
  • 68
24
votes
3 answers

Running Android emulator on computer with AMD processor

Is there anyway to run Android virtual devices through Eclipse while operating with AMD processor? I had Genymotion for a while and despite it worked, it was too much of a kerfuffle to dabble with it.
EmppuTheEngineer
  • 281
  • 1
  • 2
  • 8
24
votes
3 answers

TargetApi not taken into account

In one of our methods, we use smoothScrolling in a list view. As this method is not available before API Level 8 (FROYO), we used the TargetApi annotation to prevent the method from being called in previous SDK versions. As you can see, we do use…
Snicolas
  • 37,840
  • 15
  • 114
  • 173
23
votes
7 answers

Android studio - the emulator is stacked outside of the screen

My android emulator won't show the minimize or close button, It's stuck to the left of my screen and I can't drag it to the right or anywhere.
Mergim Ujkani
  • 309
  • 1
  • 2
  • 13
23
votes
17 answers

Trouble getting Android emulator to run in eclipse

I'm trying to run the SDK Samples on the Emulator in Eclipse 3.5. Most of the time the AVD Manager hangs when I try to create a new AVD. When I manage to create an AVD and try to start the emulator I get this: emulator: ERROR: no search paths found…
Sharonix
  • 231
  • 1
  • 2
  • 3
23
votes
4 answers

How to deal with branch prediction when using a switch case in CPU emulation

I recently read the question here Why is it faster to process a sorted array than an unsorted array? and found the answer to be absolutely fascinating and it has completely changed my outlook on programming when dealing with branches that are based…
22
votes
1 answer

How can I configure the Android emulator to simulate the Galaxy Nexus?

What settings for the Android emulator will as closely simulate the characteristics of the Galaxy Nexus as possible?
Albert078
  • 363
  • 1
  • 3
  • 6