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


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