about summary refs log tree commit diff stats
path: root/baremetal/boot.bochsrc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-26 13:22:28 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-26 13:30:04 -0800
commitd8eacb3893a310f6f0ca5ef7ad9a7653fc7a8c67 (patch)
treee6d73bbc988e894e4f6b6b585dde7b9c08e2c819 /baremetal/boot.bochsrc
parent2fcf7e24d14bad5c66071ba0c7c313e480987e50 (diff)
downloadmu-d8eacb3893a310f6f0ca5ef7ad9a7653fc7a8c67.tar.gz
7403 - baremetal/ for apps without a kernel
Diffstat (limited to 'baremetal/boot.bochsrc')
-rw-r--r--baremetal/boot.bochsrc6
1 files changed, 6 insertions, 0 deletions
diff --git a/baremetal/boot.bochsrc b/baremetal/boot.bochsrc
new file mode 100644
index 00000000..521e22d9
--- /dev/null
+++ b/baremetal/boot.bochsrc
@@ -0,0 +1,6 @@
+# Configuration for the Bochs x86 CPU emulator to run the output of apps/boot.hex
+# See apps/boot.hex for more details.
+
+ata0-master: type=disk, path="disk.img", mode=flat, cylinders=20, heads=16, spt=63  # 10MB, 512 bytes per sector
+boot: disk
+log: -