Bochs

From McGill University Physics Department Technical Services Wiki

Bochs is an emulator for Intel 80386, 80486, Pentium, Pentium Pro and AMD64 based computers. The project's homepage is at http://bochs.sourceforge.net/.

Preferred configuration

./configure --enable-debugger --enable-disasm --enable-readline \
            --enable-vbe --enable-ne2000 --enable-show-ips
  • --enable-debugger: compile in support for Bochs internal debugger
  • --enable-disasm: compile in support for disassembler
  • --enable-readline: use readline library, if available
  • --enable-vbe: use VESA BIOS extensions
  • --enable-ne2000: enable limited ne2000 support
  • --enable-show-ips: show IPS in Bochs log file

To use VESA BIOS extensions place the following in the configuration file

vga: extension=vbe

GRUB detects the following modes

grub> vbeprobe
 VBE version 2.0
  0x100: Packed pixel, 640x400x8
  0x101: Packed pixel, 640x480x8
  0x103: Packed pixel, 800x600x8
  0x105: Packed pixel, 1024x768x8
  0x110: Direct Color, 640x480x15
  0x113: Direct Color, 800x600x15
  0x116: Direct Color, 1024x768x15
  0x111: Direct Color, 640x480x16
  0x114: Direct Color, 800x600x16
  0x117: Direct Color, 1024x768x16
  0x112: Direct Color, 640x480x24
  0x115: Direct Color, 800x600x24
  0x118: Direct Color, 1024x768x24
  0x142: Direct Color, 640x480x32
  0x143: Direct Color, 800x600x32
  0x144: Direct Color, 1024x768x32
  0x146: Packed pixel, 320x200x8

To use ne2000 place following in configuration file

ne2k: ioaddr=0x240, irq=9, mac=b0:c4:20:00:00:00, ethmod=linux, ethdev=eth0

Log

Thursday October 12, 2006