0daf12c59a
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.
10 lines
254 B
Bash
Executable File
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
|