Bochs

Emulator 3.1

Bochs emulates IBM PCs on macOS from open-source code, but it requires more configuration than a solution like Parallels Desktop.

Bochs is an open-source IA-32 (x86) emulator written in C++, designed to accurately replicate an IBM-compatible PC (from i386 to modern architectures like x86-64). It supports full processor emulation, common peripherals (IDE, network, VGA, etc.), and a customizable BIOS, enabling the execution of operating systems like DOS, Windows (up to XP) or Linux in a graphical window.

On macOS, its use is possible through native compilation or via tools like QEMU (for Apple Silicon), but requires advanced configuration (configuration files .cfg, peripheral management). Although powerful and modular, Bochs requires more technical expertise than an emulator like QEMU or VirtualBox, particularly for optimizing performance or resolving hardware incompatibilities. Its technical documentation, while detailed, remains less accessible to beginners.

Last updated:

Platforms

Architecture

Mac OS X - macOS Mac OS X - macOS Intel x86 Intel x86 Apple Silicon Apple Silicon 64-bit 64-bit SDL Library

Download and links

Version history

3.1
  • Ajout de l'émulation des extensions ISA FRED, USER_MSR, MOVRS et AMX-FP8 pour le CPU.
  • Correction majeure de l'émulation CPU (XSAVEC/XSAVES, PKeys, AVX, AMX, UINTR, CET, SVM).
  • Support UEFI/OVMF via le périphérique fw_cfg compatible QEMU pour Windows Server 2025 et Linux modernes.
  • Limite de mémoire hôte augmentée à 8192 MB (contre 2048 MB précédemment).

Brief summary of changes:

  • CPU: Implemented FRED, USER_MSR, MOVRS, AMX-FP8 ISA extensions emulation
  • CPU: Implemented MS-DOS Compatibility mode for handling x87 FPU exceptions, external logic handles FERR# and IGNNE# pins if enabled The 'extfpuirq' plugin is now always loaded if FPU is present
  • CPUDB: Added new Wildcat Lake CPU definition featuring FRED, WRMSRNS and MSRLIST
  • Bugfixes for CPU emulation correctness (critical bugfixes for emulation of XSAVEC/XSAVES, PKeys, AVX BMI1/BMI2, AVX512, AMX, UINTR, CET and SVM)
  • Increased maximum supported host memory size to 8192 MB (was 2048 MB)
  • Added UEFI/OVMF firmware support to Bochs through QEMU-compatible fw_cfg device This enables booting UEFI operating systems including Windows Server 2025 and modern Linux distributions with OVMF firmware.
  • Added basic support for GeForce 3D card emulation (4 AGP models, 2D almost complete, 3D still WIP)
  • AGP support in i440BX chipset now almost correctly implemented
  • Many fixes in the devices code (PCI, VGA, Voodoo, hard drive, floppy, USB)
  • VHDX disk image support added
  • BIOS fixes for PCI/AGP init and ACPI tables
  • LGPL'd VGABIOS updated to version 0.9d
  • Updated SeaBIOS ROM image to current version 1.16.0
3.0
  • Intégration du débogueur interne (Bochs debugger) dans toutes les versions binaires, remplaçant les builds spécifiques.
  • Remplacement du code d'émulation FPU softfloat2a par la bibliothèque softfloat3e intégrée.
  • Correction de bugs critiques dans l'émulation CPU (VMX, WAITPKG, LASS, XSAVEC/XSAVES, CPUID, SHA1).
  • Ajout du support des instructions AMD manquantes pour 3DNow! et implémentation d’ISA AVX512_FP16 (actif sur Xeon Sapphire Rapids).
  • Implémentation des extensions AVX10_1, AVX10_2 et AMX-TF32/AMX-AVX512, ainsi que RAO-INT et MSR_IMM.
  • Dépréciation du modèle bx_generic pour CPUID au profit de définitions CPU préétablies (i386, i486DX4, Athlon XP, Core i5 Arrow Lake).
  • Ajout d’un débogueur USB pour xHCI et UHCI (Windows/GTK3) et d’une option de boot USB (nécessite le BIOS i440fx.bin).

Brief summary :

  • Include Bochs debugger support in all release binaries. Bochs internal debugger and Bochs GUI debugger are compiled in by default and there are no special Bochs binaries with internal debugger support anymore.
  • Integrated softfloat3e library replacing older softfloat2a fpu-emulation code
  • Bugfixes for CPU emulation correctness (critical bugfixes for VMX, WAITPKG, LASS, XSAVEC/XSAVES, CPUID and SHA1 ISA implementation)
  • Added emulation of missing AMD 3DNow! instructions
  • Implemented AVX512_FP16 Intel instruction set based on softfloat3e library (enabled in Xeon Sapphire Rapids CPU definition)
  • Implemented MONITORLESS MWAIT instructions support
  • Implemented initial support for AVX10_1 + AVX10_2 ISA extensions and AVX10 CPUID leaf 0x24 (AVX10_1 first to be enabled in Xeon Granite Rapids)
  • Implemented AMX-TF32 and AMX-AVX512 ISA extensions
  • Implemented RAO-INT ISA and MSR_IMM ISA extensions
  • CPUID: Added new CPU definitions: for i386, i486DX4, AMD Athlon XP and Intel Core i5 Arrow Lake CPUs
  • CPUID: Support for enabling/disabling of one or more CPU features from CPUID configuration (see "add_features" and "exclude_features" in bochsrc sample and documentation) ! CPUID: Old bx_generic CPUID model is deprecated with all associated .bochsrc CPUID configuration options, use pre-defined CPU models instead
  • Several fixes and improvements for the Cirrus and Voodoo emulation
  • USB: Added the USB Debugger support for xHCI and UHCI (Windows / GTK3)
  • Added USB boot option (requires i440fx.bin BIOS)
  • LGPL'd VGABIOS updated to version 0.9c (Cirrus / VBE fixes and extensions)
  • Added i440fx.bin BIOS written by Ben Lunt (https://github.com/fysnet/i440fx)
  • Documentation updates and fixes after transition to GIT
2.8
  • Correction majeure des bugs d'émulation CPU (MONITOR/MWAIT, VMX/SVM, x87, AVX-VNNI, AVX-512, CET) incluant SHA/GFNI et ADOX/XRSTOR/XRSTORS pour éviter le plantage de Windows 10.
  • Ajout de l'émulation SVM pour VM_CR_MSR et INIT redirect, indispensable pour le démarrage SMP avec SVM.
  • Implémentation de VMX MBE, de la gestion "Shadow Stack Prematurely Busy", de MSR IA32_SPEC_CTRL et du traitement des interruptions postées.
  • Support étendu des extensions Intel : AMX (AMX, AMX_INT8, AMX_BF16, AMX_FP16, AMX_COMPLEX) et instructions comme MOVDIRI, AVX512 BF16, SM3/SM4, WRMSRNS.
  • Définition CPU Xeon Sapphire Rapids ajoutée dans CPUID.

Brief summary of changes :

  • Bugfixes for CPU emulation correctness (MONITOR/MWAIT, VMX/SVM, x87, AVX-VNNI, AVX-512, CET)
    • Critical CPU emulation bugfixes for SHA and GFNI instructions, ADOX and XRSTOR/XRSTORS instructions (prevented boot of Win10) ! SVM: Implemented SVM VM_CR_MSR and INIT redirect (required for booting SMP with SVM) ! Implemented VMX MBE (Mode Based Execution Control) emulation required for Windows 11 guest ! Implemented VMX 'Shadow Stack Prematurely Busy' control ! Implemented MSR IA32_SPEC_CTRL Virtualization VMX extension ! Implemented Posted-Interrupt Processing VMX extension emulation ! Implemented Linear Address Separation (LASS) extension ! Implemented 57-bit Linear Address and 5-Level Paging support ! Implemented User-Level Interrupt (UINTR) extension ! Implemented Intel AMX extensions (AMX, AMX_INT8, AMX_BF16, AMX_FP16, AMX_COMPLEX) ! Implemented Intel instruction sets:
    • MOVDIRI/MOVDIR64B, AVX512 BF16, AVX IFMA52, VNNI-INT8/VNNI-INT16, AVX-NE-CONVERT, CMPCCXADD, SM3/SM4, SHA512, WRMSRNS, MSRLIST, WAITPKG, SERIALIZE ! CPUID: Added Xeon Sapphire Rapids CPU definition
  • Improved 64-bit guest support in Bochs internal debugger, added new internal debugger commands
  • Bochs debugger enhanced with new commands (setpmem, loadmem, deref, ...) Enhanced magic breakpoint capabilities. Refer to user documentation for more details.
  • Updated Bochs instrumentation examples for new disassembler introduced in Bochs 2.7 release
  • USB: Fixed/added USB 2.0 Compliance to all devices. Hub still needs a few additions
  • USB: xHCI: added the ability to have more than one model of xHCI hardware. Currently there are two.
  • USB: Added experimental MSD UASP emulation
  • USB: Added OHCI as an EHCI Companion option. Now allows UHCI or OHCI specified as a configuration parameter.
  • Disk images: Allows large VHD image files
  • Fixed and enhanced the Floppy Disk emulation, VGA emulation fixes
  • Expand maximum resolution for Banshee and Voodoo 3 from 1600x1280 to 1920x1440
  • LGPL'd VGABIOS updated to version 0.9a (several VBE fixes / additions)
  • Documentation updates and fixes

Reply on the forum

A question or a hands-on report? Open the discussion on the forum.

Reply on the forum