summaryrefslogtreecommitdiffstats
path: root/dbg-qemu
blob: 700df7b0513931ec23383279b0997a90a77452dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

export OSLAB_PATH=$(dirname `which $0`)

if [ "$1" == "debug" ]; then
	debug="-s -S"
fi

qemu-system-i386 -m 16M -boot a \
	-drive file=$OSLAB_PATH/src/Image,format=raw,if=floppy \
	-drive file=$OSLAB_PATH/hdc-0.11.img,format=raw \
	$debug