Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/floppy/run_qemu.sh
diff options
context:
space:
mode:
Diffstat (limited to 'floppy/run_qemu.sh')
-rwxr-xr-xfloppy/run_qemu.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/floppy/run_qemu.sh b/floppy/run_qemu.sh
new file mode 100755
index 0000000..ebde263
--- /dev/null
+++ b/floppy/run_qemu.sh
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+sleep 2 && \
+qemu-system-i386 -cpu 486 -m 32M \
+ -drive "file=floppy1.img,if=floppy,format=raw" \
+ -netdev user,id=net0,net=10.0.0.0/24,host=10.0.0.2,dhcpstart=10.0.0.16,hostfwd=tcp::8080-:80,hostfwd=udp::8081-:81 \
+ -device rtl8139,netdev=net0