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

# how much memory the emulated machine will have
megs: 64

# filename of ROM images
romimage: file=$BXSHARE/BIOS-bochs-latest, address=0xf0000
vgaromimage: $BXSHARE/VGABIOS-elpin-2.40

# what disk images will be used 
floppya: 1_44=image17.dsk, status=inserted
#floppya: 1_44=dos62cdn.img, status=inserted
#floppya: 1_44=warp3.img, status=inserted
#floppya: 2_88=os2_boot.img, status=inserted
#floppya: 2_88=disk_0_1.img, status=inserted
#floppyb: 1_44=disk_2.img, status=inserted


# hard disk
ata0: enabled=1, ioaddr1=0x1f0, ioaddr2=0x3f0, irq=14
#ata0-master: type=disk, path="hd10meg.img", cylinders=306, heads=4, spt=17
#ata0-master: type=disk, path="c.img", cylinders=306, heads=4, spt=17
ata0-master: type=disk, path="c_warp45.img", cylinders=306, heads=4, spt=17
#ata0-master: type=disk, path="hd10megdlx.img", cylinders=306, heads=4, spt=17
# cdrom
#ata0-slave: type=cdrom, path="F:/ISO/memdisk.iso"
ata0-slave: type=cdrom, path="F:/ISO/xp.iso"

ata1: enabled=1, ioaddr1=0x170, ioaddr2=0x370, irq=15
#ata1-master: type=disk, path="d.img", mode=flat, cylinders=65, heads=16, spt=63
#ata1-master: type=disk, path="c_warp45.img", cylinders=306, heads=4, spt=17

# choose the boot disk.
boot: c

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

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

# where do we send log messages?
log: bochsout.txt
debugger_log: bochsdbg.log

# disable the mouse, for text only boot
mouse: enabled=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-us.map
#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

user_shortcut: keys=ctrlaltdel
panic: action=ask

