World Library  
Flag as Inappropriate
Email this Article


Article Id: WHEBN0001363669
Reproduction Date:

Title: GXemul  
Author: World Heritage Encyclopedia
Language: English
Subject: AMD Lance Am7990, MIPS instruction set
Publisher: World Heritage Encyclopedia


Developer(s) Anders Gavare
Stable release / August 17, 2014 (2014-08-17)
Type Emulator
License BSD-style license
Website .net.sourceforgegxemul

GXemul (formerly known as mips64emul) is a computer architecture emulator being developed by Anders Gavare. It is available as free software under a revised BSD-style license. In 2005, Gavare changed the name of the software project from mips64emul to GXemul. This was to avoid giving the impression that the emulator was confined to the MIPS instruction set, which was the only architecture being emulated initially.

Although development of the emulator is still a work-in-progress, since 2004 it has been stable enough to let various unmodified guest operating systems run as if they were running on real hardware. Currently emulated processor architectures include ARM, MIPS, M88K, PowerPC, and SuperH. Guest operating systems that have been verified to work inside the emulator are NetBSD, OpenBSD, Linux, HelenOS, Ultrix, and Sprite.

Apart from running entire guest operating systems, the emulator can also be used for experiments on a smaller scale, such as hobby operating system development, or it can be used as a general debugger.

Dynamic Translation

GXemul's processor emulation uses dynamic translation, to convert the emulated processor's instructions into an intermediate representation (IR). The IR is in a format which can be executed by the host. In other words, it should be possible to port the emulator to new host architectures with just a recompilation; there is no need to implement a native code generation backend for each host architecture to get it running.

Usage Example

Assuming you have downloaded a NetBSD/pmax 5.0 CD-ROM ISO image (pmaxcd-5.0.iso), the following commands will let you install NetBSD onto an emulated DECstation 5000 Model 200 (also known as "3max"):

 dd if=/dev/zero of=nbsd_pmax.img bs=1024 count=1 seek=3000000
 gxemul -e 3max -d nbsd_pmax.img -d b:pmaxcd-5.0.iso

The first command (dd) creates an empty disk image, and the second command launches GXemul. The -e option specifies the machine to emulate, and the -d options add disk images. The first disk image is the newly created disk image where NetBSD will be installed. The second is the CD-ROM ISO image; the b: modifier flag means that the system should boot from the ISO image, instead of the first available disk image.

Installing NetBSD within the emulator should be very similar to installing it on real hardware. Once the installation has completed, the following command should start NetBSD from the disk image:

 gxemul -e 3max -d nbsd_pmax.img

See also

External links

  • The GXemul homepage
  • NetBSD's Emulator page
This article was sourced from Creative Commons Attribution-ShareAlike License; additional terms may apply. World Heritage Encyclopedia content is assembled from numerous content providers, Open Access Publishing, and in compliance with The Fair Access to Science and Technology Research Act (FASTR), Wikimedia Foundation, Inc., Public Library of Science, The Encyclopedia of Life, Open Book Publishers (OBP), PubMed, U.S. National Library of Medicine, National Center for Biotechnology Information, U.S. National Library of Medicine, National Institutes of Health (NIH), U.S. Department of Health & Human Services, and, which sources content from all federal, state, local, tribal, and territorial government publication portals (.gov, .mil, .edu). Funding for and content contributors is made possible from the U.S. Congress, E-Government Act of 2002.
Crowd sourced content that is contributed to World Heritage Encyclopedia is peer reviewed and edited by our editorial staff to ensure quality scholarly research articles.
By using this site, you agree to the Terms of Use and Privacy Policy. World Heritage Encyclopedia™ is a registered trademark of the World Public Library Association, a non-profit organization.

Copyright © World Library Foundation. All rights reserved. eBooks from Project Gutenberg are sponsored by the World Library Foundation,
a 501c(4) Member's Support Non-Profit Organization, and is NOT affiliated with any governmental agency or department.