BSD Ports

emulators/bochs 2.8,2 MidnightBSD

IA-32 (x86) PC emulator that runs DOS, Win 95, and more

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
lgpl2.1
Categories
emulators

Description

Bochs is a highly portable open source IA-32 (x86) PC emulator written in C++, that runs on most popular platforms. It includes emulation of the Intel x86 CPU, common I/O devices, and a custom BIOS. Currently, bochs can be compiled to emulate a 386, 486, Pentium, Pentium Pro or AMD64 CPU, including optional MMX, SSE, SSE2 and 3DNow instructions.

Bochs is capable of running most Operating Systems inside the emulation including Linux, DOS, Windows 95/98 and Windows NT/2000/XP.

Bochs was written by Kevin Lawton and is currently maintained by the Bochs project.

Bochs can be compiled and used in a variety of modes, some which are still in development. The 'typical' use of bochs is to provide complete x86 PC emulation, including the x86 processor, hardware devices, and memory. This allows you to run OS's and software within the emulator on your workstation, much like you have a machine inside of a machine. For instance, let's say your workstation is a Unix/X11 workstation, but you want to run Win'95 applications. Bochs will allow you to run Win 95 and associated software on your Unix/X11 workstation, displaying a window on your workstation, simulating a monitor on a PC.

In the other systems

SystemPortVersion
MidnightBSDemulators/bochs2.8,2
FreeBSDemulators/bochs3.1,2
OpenBSDemulators/bochs3.1p1
NetBSDemulators/bochs2.7nb14
DragonFlyemulators/bochs2.8,2
HardenedBSDemulators/bochs3.1,2
GhostBSDemulators/bochs3.1,2

Install

Binary package:

mport install bochs

From mports:

cd /usr/mports/emulators/bochs && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	bochs>0:emulators/bochs

Dependencies

No port depends on this one.

Configuration

Options name: emulators_bochs

OptionDefaultDescription
A20_PINonSupport for A20 pin
ALIGN_CHECKonAlignment check support
ASSERT_CHECKoffBX_ASSERT checks
AVXoffAVX instructions support
BUSMOUSEoffBusmouse support
CDROMonCDROM support
CHAININGoffSupport handlers-chaining emulation speedups
CLGD54XXoffCirrus Logic GD54xx video card
CONF_MSRSonConfigurable MSR registers support
DEBUGGERoffDebugger support
DEBUGGER_GUIoffGTK 2 GUI debugger support
DEBUGGER_X86offX86 hardware debugger
DISASMonDisassemler support
DOCSoff
E1000offIntel(R) Gigabit Ethernet support
ES1370offES1370 soundcard support
EVEXoffEVEX prefix and AVX-512 extensios support
FPUonFPU emulator
GAMEPORToffStandard PC gameport support
GDB_STUBoffGDB stub support
IDLE_HACKoffKeep Bochs from using all CPU time
IODEBUGoffI/O interface to debugger
LARGE_RAMFILEonLarge ramfile support
LOGGINGonLogging support
LONG_PHY_ADDRoffSupport for physical address >= 32bit
MEMTYPEoffMemory type calculation support
MWAIToffMONITOR/MWAIT instructions support (experimemtal)
NE2000onNE2000 support
OPTIMIZATIONSonCompile in all safe speed optimizations
PCIonIntel(R) i440FX PCI support
PERFMONoffHardware performance monitoring emulation (experimental)
PLUGINSoff
PNICoffPCI pseudo NIC (network card) support
RAW_SERIALoffRaw serial port access
READLINEoffReadline support in debugger
REPEAT_SPEEDoffSupport repeated IO and mem copy speedups
RFBoffRFB protocol support (works with VNC viewer)
SB16onSound Blaster 16 emulation
SDL1offSimple Direct Media Layer 1 support
SDL2offSimple Direct Media Layer 2 support
SHOW_IPSonShow IPS in status bar or log file
SMPoffSupport for SMP configurations (CPU level 6)
STATSonStatistics collection
SVGALIBoff
SVMoffSVM (AMD: secure virtual machine) emulation
TERMoffUse text only, console based interface
TRACE_LINKoffSupport trace linking speedups
USBoffUSB UHCI support
USB_OHCIoffUSB OHCI support
USB_XHCIoffUSB xHCI support (experimental)
VMXoffVirtialization extensions
VNCSERVERoffLibVNCServer support (works with VNC viewer)
VOODOOoff3dfx Voodoo Graphics emulation
WXGTKoff
X11on
X86_64offSupport for x86-64 instructions
XPMoff
USES
cpe gmake libtool:keepla pkgconfig xorg
Service scripts
none

Files

Manual pages 4
  • bochs(1)
  • bochs-dlx(1)
  • bochsrc(5)
  • bximage(1)
pkg-plist 45
  • bin/bochs
  • bin/bxhub
  • bin/bximage
  • share/man/man1/bochs.1.gz
  • share/man/man1/bochs-dlx.1.gz
  • share/man/man1/bximage.1.gz
  • share/man/man5/bochsrc.5.gz
  • share/bochs/BIOS-bochs-latest
  • share/bochs/BIOS-bochs-legacy
  • share/bochs/SeaBIOS-README
  • share/bochs/SeaVGABIOS-README
  • share/bochs/VGABIOS-elpin-2.40
  • share/bochs/VGABIOS-elpin-LICENSE
  • share/bochs/VGABIOS-lgpl-README
  • share/bochs/VGABIOS-lgpl-latest
  • share/bochs/VGABIOS-lgpl-latest-banshee
  • share/bochs/VGABIOS-lgpl-latest-cirrus
  • share/bochs/VGABIOS-lgpl-latest-cirrus-debug
  • share/bochs/VGABIOS-lgpl-latest-debug
  • share/bochs/bios.bin-1.13.0
  • share/bochs/keymaps/sdl-pc-de.map
  • share/bochs/keymaps/sdl-pc-us.map
  • share/bochs/keymaps/sdl2-pc-de.map
  • share/bochs/keymaps/sdl2-pc-us.map
  • share/bochs/keymaps/x11-pc-be.map
  • share/bochs/keymaps/x11-pc-da.map
  • share/bochs/keymaps/x11-pc-de.map
  • share/bochs/keymaps/x11-pc-es.map
  • share/bochs/keymaps/x11-pc-fr.map
  • share/bochs/keymaps/x11-pc-it.map
  • share/bochs/keymaps/x11-pc-ru.map
  • share/bochs/keymaps/x11-pc-se.map
  • share/bochs/keymaps/x11-pc-sg.map
  • share/bochs/keymaps/x11-pc-si.map
  • share/bochs/keymaps/x11-pc-uk.map
  • share/bochs/keymaps/x11-pc-us.map
  • share/bochs/vgabios-cirrus.bin-1.13.0
  • share/doc/bochs/CHANGES
  • share/doc/bochs/README
  • share/doc/bochs/TODO
  • share/doc/bochs/bochsrc-sample.txt
  • share/doc/bochs/cpu_configurability.txt
  • share/doc/bochs/html/bxdebugger.html
  • share/doc/bochs/memory.txt
  • share/doc/bochs/random.txt
distinfo 1
FileSizeSHA256
bochs-2.8.tar.gz5.303791e+06a85b13aff7d8411f7a9f356ba6c33b5f5dc1fbb107eb5018cc23a62639da0059
Master sites 1
  • SF