Remove obsolete bochs directory.
authorBen Pfaff <blp@cs.stanford.edu>
Tue, 14 Sep 2004 21:40:10 +0000 (21:40 +0000)
committerBen Pfaff <blp@cs.stanford.edu>
Tue, 14 Sep 2004 21:40:10 +0000 (21:40 +0000)
src/bochs/bochsrc.txt [deleted file]
src/bochs/copy_in [deleted file]
src/bochs/run_qemu [deleted file]

diff --git a/src/bochs/bochsrc.txt b/src/bochs/bochsrc.txt
deleted file mode 100644 (file)
index 9bb8338..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-romimage: file=$HOME/cs140/bochs-2.1.1/bios/BIOS-bochs-latest, address=0xf0000
-vgaromimage: $HOME/cs140/bochs-2.1.1/bios/VGABIOS-lgpl-latest
-ata0-master: type=disk, path=os.dsk, mode=flat, cylinders=306, heads=4, spt=17, translation=none
-ata0-slave: type=disk, path=filesys.bin, mode=flat, cylinders=1, heads=16, spt=63, translation=none
-boot: c
-ips: 1000000
-megs: 32
-com1: dev=/dev/tty
diff --git a/src/bochs/copy_in b/src/bochs/copy_in
deleted file mode 100755 (executable)
index 743ae51..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
-#! /usr/bin/perl
-
-if (@ARGV != 2) {
-    print "usage: copy_in src dst\n";
-    exit 1;
-}
-($src, $dst) = @ARGV;
-$size = -s $src;
-
-system "../pad 512 < $src > scratch.bin";
-exec "./run_qemu -cp $dst:$size";
diff --git a/src/bochs/run_qemu b/src/bochs/run_qemu
deleted file mode 100755 (executable)
index 6011e3e..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-#! /usr/bin/perl
-
-die "command line includes empty string" if grep (/^$/, @ARGV);
-$cmdline = join ("\0", @ARGV) . "\0\0";
-die "command line exceeds 128 bytes" if length ($cmdline) > 128;
-$cmdline .= "\0" x (128 - length ($cmdline));
-
-open (DISK, "+<os.dsk");
-seek (DISK, 0x17e, 0);
-syswrite (DISK, $cmdline);
-close (DISK);
-exec "/home/blp/cs140/qemu/i386-softmmu/qemu "
-    . "-hda os.dsk "
-    . "-hdb filesys.bin "
-    . "-hdc scratch.bin "
-    . " -nographic"
-    ;