This commit is contained in:
Kartik Agaram 2020-12-30 08:32:52 -08:00
parent ce667598a2
commit d0bc0d2673
1 changed files with 7 additions and 7 deletions

View File

@ -121,6 +121,13 @@ keyboard directly without an OS. You can make things like this with them:
<img alt='screenshot of a Mu program running without any intervening Operating System' src='html/baremetal.png'>
To reproduce it:
```sh
$ ./translate_mu_baremetal baremetal/ex2.mu # emit disk.img
$ qemu-system-i386 disk.img
```
## Syntax
The entire stack shares certain properties and conventions. Programs consist
@ -135,13 +142,6 @@ Here's an example program in Mu:
<img alt='ex2.mu' src='html/ex2.mu.png' width='400px'>
To reproduce it:
```sh
$ ./translate_mu_baremetal baremetal/ex2.mu # emit disk.img
$ qemu-system-i386 disk.img
```
[More details on Mu syntax &rarr;](mu.md)
Here's an example program in SubX: