How can I emulate the Raspberry Pi on Windows?
Related: Emulation on a Linux PC
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It only takes a minute to sign up.Sign up to join this community
I found a rare gem of a tutorial while trying to find updates for the RISC OS distribution for the RPi. It goes in-depth on how to emulate the RPi in Windows using QEMU. The tutorial is also generous enough to provide a link to the Win32 binary for QEMU. I plan on following this tutorial myself when I find the time.
There is a very nice raspberry pi forum posting about "Emulating Raspberry Pi in Windows the easy way". Somebody all ready did all the work to make raspberry pi emulation in Windows as simple as possible. The instructions are
Unzip the file when it finishes downloading.
Inside the folder you should find a run.bat file which will do all the magic for you.
The zip file is literally Raspberry Pi in a zip, it contains Qemu along with the Wheezy squeeze, and the batch file that you run to start the emulation contains the exact command to start Qemu as an ARM CPU running Wheezy. This is the epitome of KISS.
It should be noted that others have downloaded and checked the files for viruses and that the emulation has been confirmed on several versions of Windows. I can confirm the emulation works in Windows 7 Ultimate.
Bear in mind that the default keyboard layout is English GB. If you are using an English US keyboard then there'll be some problems with the | character, to fix it you need to run the configure keyboard option at the Raspi-config tool at first boot up.
You can emulate the RPi in VirtualBox with relative ease.
Here is a thread with instructions. It's rather straightforward to get this up and running.
EDIT: You need to get Scratchbox and QEMU working with this as VirtualBox doens't emulate ARM out the box.
You could easily try my Raspberry Pi simulator included with sensor, command line and file editor at iotify.io. Check out our documentation at https://docs.iotify.io/ to get started with the different projects OS and make yourself familiar with Raspberry Pi working environment.