###############################################################
# bochsrc.txt file for DLX Linux disk image.
###############################################################

#info: action=report
#panic: action=report
error: action=report
#info: action=report
#debug: action=report
#debug: action=ignore, serial=report
#debug: action=ignore, floppy=report,biosdev=report
#info: action=ignore,floppy=report,biosdev=report

# how much memory the emulated machine will have
megs: 128
magic_break: enabled=1

#clock: sync=slowddown, time0=local
cpu: count=1, ips=1000000

# filename of ROM images
#romimage: file=$BXSHARE/BIOS-bochs-latest, options=fastboot
#romimage: file=$BXSHARE/BIOS-bochs-latest,address=0xfffe0000
vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest
#vgaromimage: file=$BXSHARE/VGABIOS-lgpl-latest-cirrus
#romimage: file=$BXSHARE/bios.bin-1.13.0	

#vga: extension=cirrus, update_freq=10, realtime=1
#vga: extension=vbe

# pci
pci: enabled=1, chipset=i440fx, slot1=pcivga
#pcidev: vendor=0x1234, device=0x5678

# what disk images will be used
floppya: 1_44=image/duck.img, status=inserted, write_protected=1
#floppyb: 1_44=floppyb.img, status=inserted

# hard disk
#ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
#ata0-master: type=disk, path="image/duck.img", cylinders=80, heads=4, spt=18

# choose the boot disk.
boot: a

# default config interface is textconfig.
#config_interface: textconfig
#config_interface: wx

display_library: sdl
#display_library: x, options="gui_debug"

#display_library: x
# other choices: win32 sdl wx carbon amigaos beos macintosh nogui rfb term svga

# where do we send log messages?
log: image/bochsout.log

# disable the mouse, since DLX is text only
mouse: enabled=0

#gdbstub: enabled=1, port=1234, text_base=0, data_base=0, bss_base=0

# enable key mapping, using US layout as default.
#
# NOTE: In Bochs 1.4, keyboard mapping is only 100% implemented on X windows.
# However, the key mapping tables are used in the paste function, so
# in the DLX Linux example I'm enabling keyboard_mapping so that paste
# will work.  Cut&Paste is currently implemented on win32 and X windows only.

#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-fr.map
#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-de.map
#keyboard_mapping: enabled=1, map=$BXSHARE/keymaps/x11-pc-es.map

 keyboard: keymap=$BXSHARE/keymaps/sdl-pc-us.map

 com1: enabled=1, mode=file, dev=serial.log

ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
ata0-master: type=disk, path="image/disk.img", mode=flat,biosdetect=auto, translation=auto
#ata0-master: type=disk, path="image/disk.img", cylinders=20, heads=16, spt=63
#ata0-slave: type=disk, path="image/disk.img", cylinders=20, heads=16, spt=63


pci: enabled=1, chipset=i440fx, slot1=pcivga 
#,slot2=e1000
vga: extension=vbe
#pcidev: vendor=0x1234, device=0x5678
