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


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

# number of megabytes for vm
memory = 16


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

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

bochs-opt boot: c
bochs-opt diskc: file="../../62M.980115", cyl=940, heads=8, spt=17
#bochs-opt floppya: 1_44=../../1.44a, 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/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

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

# The VGA BIOS
load-rom: file=../bios/VGABIOS-elpin-2.40, 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
####################################################################
