about summary refs log tree commit diff stats
path: root/translate_emulated
blob: 0678682118542f58178ffb66603b1a2730f973d7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
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 boot.hex mu-init.subx [0-9]*.subx a.subx