FreeBSD Ports

emulators/bochs 3.1,2

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

Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
e7f3c7c8a8
License
LGPL21
Categories
emulators
Package size
3969.1 KiB, 9925.4 KiB installed

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.

Install

As a binary package — by origin, or by package name:

pkg install emulators/bochs
pkg install bochs

From the ports tree:

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

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

RUN_DEPENDS=	bochs>0:emulators/bochs

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest3.1,23.1,22.7,23.0,2-
FreeBSD:14:quarterly3.1,23.1,2n/a3.0,2-
FreeBSD:15:latest3.1,23.1,2n/a3.0,2-
FreeBSD:15:quarterly3.1,23.1,2n/an/an/a
FreeBSD:16:latest3.1,23.1,2n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

All build dependencies 20
All run dependencies 16
Required by 1

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
DOCSoffBuild and/or install documentation
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)
PLUGINSoffBuild and/or install plugins
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
SVGALIBoffSVGA graphics support
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
WXGTKoffwxGTK GUI toolkit support
X11onX11 (graphics) support
X86_64offSupport for x86-64 instructions
XPMoffXPM pixmap image format support
USES
cpe gmake libtool:keepla pkgconfig xorg
Service scripts
none

Message after installing

Bochs requires a .bochsrc file to be present in either your current
directory or your home directory before starting. A sample .bochsrc
file can be found in /usr/local/share/doc/bochs/bochsrc-sample.txt

Files

Manual pages 5
  • bochs(1)
  • bochs-dlx(1)
  • bochsrc(5)
  • bxhub(1)
  • bximage(1)
pkg-plist 52
  • bin/bochs
  • bin/bxhub
  • bin/bximage
  • share/bochs/BIOS-bochs-latest
  • share/bochs/BIOS-bochs-legacy
  • share/bochs/OVMF-pure-efi.fd
  • share/bochs/README-i440fx
  • share/bochs/RELEASEX64_OVMF.fd
  • 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-banshee-debug.bin
  • share/bochs/VGABIOS-lgpl-latest-banshee.bin
  • share/bochs/VGABIOS-lgpl-latest-cirrus-debug.bin
  • share/bochs/VGABIOS-lgpl-latest-cirrus-vesa3.bin
  • share/bochs/VGABIOS-lgpl-latest-cirrus.bin
  • share/bochs/VGABIOS-lgpl-latest-debug.bin
  • share/bochs/VGABIOS-lgpl-latest.bin
  • share/bochs/bios.bin-1.16.0
  • share/bochs/i440fx.bin
  • 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
  • share/man/man1/bochs-dlx.1.gz
  • share/man/man1/bochs.1.gz
  • share/man/man1/bxhub.1.gz
  • share/man/man1/bximage.1.gz
  • share/man/man5/bochsrc.5.gz
distinfo 1
FileSizeSHA256
bochs-3.1.tar.gz8.744911e+0614aaf78dbe1337987923fffc4e7a962ae56abcf9a87474ace39e593f9f84ee84
Master sites 1
  • SF

Commit history 1

DateCommitCreditsLog message
e7f3c7c8a8 Neel Chauhan emulators/bochs: Update to 3.1