about summary refs log tree commit diff stats
path: root/translate_emulated
blob: a5682390ddcce70fdf3022fde09c698c3d44c8d6 (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 mu-init.subx [0-9]*.subx a.subx