about summary refs log tree commit diff stats
path: root/apps/boot.bochsrc
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-12-20 21:46:12 -0800
committerKartik Agaram <vc@akkartik.com>2020-12-20 22:58:37 -0800
commitd12094ee4d31e61dc27c0beaa1d4dfbea2aae02c (patch)
tree418e5964a9f8730fdc61ff777745dd75f577b0f7 /apps/boot.bochsrc
parent9b867ab4385a60c42c3e342966b1f44d2acc1e71 (diff)
downloadmu-d12094ee4d31e61dc27c0beaa1d4dfbea2aae02c.tar.gz
7367 - start of boot sector for Mu computer
Not working yet. Reading sectors from disk returns an error (sets carry
flag).
Diffstat (limited to 'apps/boot.bochsrc')
-rw-r--r--apps/boot.bochsrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/boot.bochsrc b/apps/boot.bochsrc
new file mode 100644
index 00000000..6643905c
--- /dev/null
+++ b/apps/boot.bochsrc
@@ -0,0 +1,8 @@
+# Configuration for the Bochs x86 CPU emulator to run the output of apps/boot.hex
+# See apps/boot.hex for more details.
+
+# You'll probably want to adjust the disk geometry below when you update
+# boot.hex and alter the size of boot.bin.
+ata0-master: type=disk, path="boot.bin", mode=flat, cylinders=1, heads=1, spt=1
+boot: disk
+log: -