####################################################################
# 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: a
#bochs-opt diskc: file="../../10M.vga", cyl=306, heads=4, spt=17
bochs-opt floppya: 1_44=../../1.44_dos622, status=inserted
bochs-opt keyboard_serial_delay: 200
bochs-opt floppy_command_delay: 500
bochs-opt vga_update_interval: 200000
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 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


# 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
####################################################################
