about summary refs log tree commit diff stats
path: root/translate_emulated
diff options
context:
space:
mode:
Diffstat (limited to 'translate_emulated')
-rwxr-xr-xtranslate_emulated12
1 files changed, 12 insertions, 0 deletions
diff --git a/translate_emulated b/translate_emulated
new file mode 100755
index 00000000..a5682390
--- /dev/null
+++ b/translate_emulated
@@ -0,0 +1,12 @@
+#!/bin/sh
+# Translate a Mu program to a bootable disk image.
+#
+# This script uses emulation, so it does not require x86 or Linux. However it
+# is slow.
+
+set -e
+set -v
+
+cat $* [0-9]*.mu  |linux/bootstrap/bootstrap run linux/mu                 > a.subx
+
+./translate_subx_emulated mu-init.subx [0-9]*.subx a.subx