|PC Virtual Machine Monitors|
An emulator is a device, computer program, or system that accepts the same inputs and produces the same outputs of another device, computer program or system.
Emulators are available for everything from running Windows on the Mac OS to running Game Boy games on PS3s. In the context of kernel development however we want a generic emulator which emulates the environment you would like your kernel to run in.
QEMU is operated from the command line with the parameters used to specify the hardware environment of the system and also to link to the image which holds your kernel binary. It's available for Linux and Windows (the later as 'kqemu').
A simple command to run a floppy image would be:
qemu -fda floppy.img
You can use Ctrl+Alt to release the cursor (while captured) and can use Ctrl+Alt+F to toggle fullscreen. There are further parameters available for use:
|HDD Image/Device path|| |
|CD Image/Device path|| |
|Boot Device x(if not default)|| |
|(x)MB RAM|| |
|Localized Time|| |
|USB Support|| |
|Start in Full-Screen|| |
Bochs supports a variety of features, all of which can be carefully customized with command line switches or a settings file. It can emulate a PC with VBE, NE2000, and Sound Blaster 16. It also has a built-in debugger which can be useful for testing and debugging your kernel. Bochs can emulate CPUs with support for SMP and x86-64. However, Bochs itself does not use threading and the emulation is not virtualized, so you can expect slow and CPU-intensive emulation. Bochs is available for Linux and Windows and is free and open source.
VirtualBox is a desktop VM package.
Microsoft Virtual PC
Microsoft Virtual PC is a desktop VM package.
CPCE is an Amstrad emulator, see the official CPCE website for installation and usage instructions.
YAPE is a Commodore emulator.