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
| System | Port | Version |
|---|---|---|
| MidnightBSD | emulators/bochs | 2.8,2 |
| FreeBSD | emulators/bochs | 3.1,2 |
| OpenBSD | emulators/bochs | 3.1p1 |
| NetBSD | emulators/bochs | 2.7nb14 |
| DragonFly | emulators/bochs | 2.8,2 |
| HardenedBSD | emulators/bochs | 3.1,2 |
| GhostBSD | emulators/bochs | 3.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
| Option | Default | Description |
|---|---|---|
| A20_PIN | on | Support for A20 pin |
| ALIGN_CHECK | on | Alignment check support |
| ASSERT_CHECK | off | BX_ASSERT checks |
| AVX | off | AVX instructions support |
| BUSMOUSE | off | Busmouse support |
| CDROM | on | CDROM support |
| CHAINING | off | Support handlers-chaining emulation speedups |
| CLGD54XX | off | Cirrus Logic GD54xx video card |
| CONF_MSRS | on | Configurable MSR registers support |
| DEBUGGER | off | Debugger support |
| DEBUGGER_GUI | off | GTK 2 GUI debugger support |
| DEBUGGER_X86 | off | X86 hardware debugger |
| DISASM | on | Disassemler support |
| DOCS | off | |
| E1000 | off | Intel(R) Gigabit Ethernet support |
| ES1370 | off | ES1370 soundcard support |
| EVEX | off | EVEX prefix and AVX-512 extensios support |
| FPU | on | FPU emulator |
| GAMEPORT | off | Standard PC gameport support |
| GDB_STUB | off | GDB stub support |
| IDLE_HACK | off | Keep Bochs from using all CPU time |
| IODEBUG | off | I/O interface to debugger |
| LARGE_RAMFILE | on | Large ramfile support |
| LOGGING | on | Logging support |
| LONG_PHY_ADDR | off | Support for physical address >= 32bit |
| MEMTYPE | off | Memory type calculation support |
| MWAIT | off | MONITOR/MWAIT instructions support (experimemtal) |
| NE2000 | on | NE2000 support |
| OPTIMIZATIONS | on | Compile in all safe speed optimizations |
| PCI | on | Intel(R) i440FX PCI support |
| PERFMON | off | Hardware performance monitoring emulation (experimental) |
| PLUGINS | off | |
| PNIC | off | PCI pseudo NIC (network card) support |
| RAW_SERIAL | off | Raw serial port access |
| READLINE | off | Readline support in debugger |
| REPEAT_SPEED | off | Support repeated IO and mem copy speedups |
| RFB | off | RFB protocol support (works with VNC viewer) |
| SB16 | on | Sound Blaster 16 emulation |
| SDL1 | off | Simple Direct Media Layer 1 support |
| SDL2 | off | Simple Direct Media Layer 2 support |
| SHOW_IPS | on | Show IPS in status bar or log file |
| SMP | off | Support for SMP configurations (CPU level 6) |
| STATS | on | Statistics collection |
| SVGALIB | off | |
| SVM | off | SVM (AMD: secure virtual machine) emulation |
| TERM | off | Use text only, console based interface |
| TRACE_LINK | off | Support trace linking speedups |
| USB | off | USB UHCI support |
| USB_OHCI | off | USB OHCI support |
| USB_XHCI | off | USB xHCI support (experimental) |
| VMX | off | Virtialization extensions |
| VNCSERVER | off | LibVNCServer support (works with VNC viewer) |
| VOODOO | off | 3dfx Voodoo Graphics emulation |
| WXGTK | off | |
| X11 | on | |
| X86_64 | off | Support for x86-64 instructions |
| XPM | off |
- 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
| File | Size | SHA256 |
|---|---|---|
| bochs-2.8.tar.gz | 5.303791e+06 | a85b13aff7d8411f7a9f356ba6c33b5f5dc1fbb107eb5018cc23a62639da0059 |
Master sites 1
- SF