This commit is contained in:
parent
d89a9ec5d3
commit
13ca31ba09
|
@ -18,7 +18,7 @@ qemu-system-i386 code.img
|
||||||
|
|
||||||
<img alt='screenshot of Game of Life running on the Mu computer' src='html/life.png'>
|
<img alt='screenshot of Game of Life running on the Mu computer' src='html/life.png'>
|
||||||
|
|
||||||
([Colorized sources.](http://akkartik.github.io/mu/html/life.mu.html)
|
([Colorized sources.](http://akkartik.github.io/mu/html/apps/life.mu.html)
|
||||||
This is memory-safe code, and most statements map to a single instruction of
|
This is memory-safe code, and most statements map to a single instruction of
|
||||||
machine code.)
|
machine code.)
|
||||||
|
|
||||||
|
|
|
@ -74,7 +74,7 @@ Low-level testable primitives for unsafe SubX code.
|
||||||
of clobbering outside array bounds.
|
of clobbering outside array bounds.
|
||||||
|
|
||||||
One bit of weirdness here: in tests we do a redundant copy from one stream
|
One bit of weirdness here: in tests we do a redundant copy from one stream
|
||||||
to another. See [the comments before the implementation](http://akkartik.github.io/mu/html/060read.subx.html)
|
to another. See [the comments before the implementation](http://akkartik.github.io/mu/html/linux/111read.subx.html)
|
||||||
for a discussion of alternative interfaces.
|
for a discussion of alternative interfaces.
|
||||||
|
|
||||||
- `stop`: takes two arguments:
|
- `stop`: takes two arguments:
|
||||||
|
@ -84,7 +84,7 @@ Low-level testable primitives for unsafe SubX code.
|
||||||
- `value` is the status code to `exit()` with.
|
- `value` is the status code to `exit()` with.
|
||||||
|
|
||||||
For more details on exit descriptors and how to create one, see [the
|
For more details on exit descriptors and how to create one, see [the
|
||||||
comments before the implementation](http://akkartik.github.io/mu/html/059stop.subx.html).
|
comments before the implementation](http://akkartik.github.io/mu/html/linux/110stop.subx.html).
|
||||||
|
|
||||||
- `allocate`: takes two arguments, an address to allocation-descriptor `ad`
|
- `allocate`: takes two arguments, an address to allocation-descriptor `ad`
|
||||||
and an integer `n`
|
and an integer `n`
|
||||||
|
|
Loading…
Reference in New Issue