mu/translate_mu_baremetal
Kartik Agaram 0daf12c59a 7469 - first working baremetal Mu program
It doesn't _quite_ do what it should, so this is more precisely the first
_buggy_ baremetal Mu program. But the tooling works, at least.
2020-12-29 21:08:05 -08:00

10 lines
254 B
Bash
Executable File

#!/bin/sh
# Translate a given Mu program to 'baremetal', a raw disk image that can boot
# and run without any OS.
set -e
cat $* baremetal/[0-9]*.mu |apps/mu > a.subx
./translate_subx_baremetal baremetal/mu-init.subx baremetal/[0-9]*.subx a.subx