code:
# .bochsrc FILE FOR WINDOWS 98 AS GUEST OS IN LINUX
# Set aside the RAM for bochs and make sure you have enough RAM left over for your system.
# Type "cat /proc/meminfo" at the prompt to find out how much RAM you have.
megs: 256
#ips: 1000000
# Filename of ROM images go here. Be sure to check your installation for the location
# of these two files (type: man find). Paths must be absolute.
romimage: file=/usr/share/bochs/BIOS-bochs-latest, address=0xf0000
vgaromimage: /usr/share/bochs/VGABIOS-elpin-2.40
# Floppies are commented out, but you may need them later.
# floppya: 1_44=/dev/fd0, status=inserted
# floppyb: 1_44=/home/david/win98/floppyb.img, status=inserted
# Cylinder, head, and spt info taken from bximage program output
diskc: file="win98.img", cyl=8126, heads=16, spt=63
# If you ran the following command:
# dd if=/dev/cdrom of=/home/david/win98/win98.iso
# you can use the CD-ROM image on your hard drive:
cdromd: dev=win98.iso, status=inserted
# Optionally, if you have your Windows 98 CD in the drive
# you can uncomment the next line, but the installation
# process will be slower.
#cdromd: dev=/dev/cdrom, status=inserted
newharddrivesupport: enabled=1
# choose the boot disk.
boot: cdrom
# where do we send log messages?
log: bochsout.txt
# enable mouse
mouse: enabled=1
# enable SB16
sb16: midimode=1, midi=/dev/midi00, wavemode=1, wave=/dev/dsp, loglevel=2, log=sb16.log, dmatimer=600000
keyboard_mapping: enabled=1, map=/usr/share/bochs/keymaps/x11-pc-it.map
user_shortcut: keys=ctrlalte