####################################################################
# This is an example plex86 configuration file
####################################################################


####################################################################
# Memory settings
####################################################################

# number of megabytes for vm
memory = 4


####################################################################
# Plugins
####################################################################

plugin = ./plugins/bochs/plugin-bochs.so

bochs-opt boot: c
bochs-opt diskc: file="/home/eric/disk_images/freedos.img", cyl=306, heads=4, spt=17
#bochs-opt floppya: 1_44=../../1.44a, status=ejected
bochs-opt keyboard_serial_delay: 50
bochs-opt floppy_command_delay: 500
bochs-opt vga_update_interval: 90000
bochs-opt mouse: enabled=0
bochs-opt private_colormap: enabled=0
bochs-opt i440fxsupport: enabled=0
bochs-opt newharddrivesupport: enabled=1
bochs-opt ips: 1000000
bochs-opt ne2k: ioaddr=0x300, irq=5, mac=12:34:56:78:9a:bc, ethmod=tun, ethdev=xl0
#bochs-opt time0: 938581955


plugin = ./plugins/bridge/bridge.so
plugin = ./plugins/bochs/iodev/cmos.so
plugin = ./plugins/bochs/iodev/dma.so
plugin = ./plugins/bochs/iodev/system.so
plugin = ./plugins/bochs/iodev/vga.so
plugin = ./plugins/bochs/iodev/serial.so
plugin = ./plugins/bochs/iodev/parallel.so
plugin = ./plugins/bochs/iodev/keyboard.so
plugin = ./plugins/bochs/iodev/floppy.so
plugin = ./plugins/bochs/iodev/harddrv.so


CMOSChecksum

#plugin = ./plugins/write-cache/write-cache.so

# The system BIOS
load-rom: file=../bios/BIOS-bochs-latest, address=0xf0000

# The VGA BIOS
load-rom: file=../bios/VGABIOS-lgpl-0.3a, address=0xc0000

####################################################################
# Debugging settings
####################################################################

# syntax for disassembly
db_syntax = at&t


####################################################################
# VM tweaks            
####################################################################

# Maximum depth that the scan-before-execute code will try
# to recursively prescan code in the current code page, by
# following intra-page branches.

prescan: depth = 3, ring3 = on


####################################################################
# end of config file
####################################################################
