Update README regarding mima-run
This commit is contained in:
parent
f07b825313
commit
ccf08f7a18
1 changed files with 19 additions and 14 deletions
33
README.md
33
README.md
|
|
@ -16,23 +16,28 @@ at address 0 (i. e. the first block).
|
||||||
|
|
||||||
## Programs
|
## Programs
|
||||||
|
|
||||||
These programs are just ideas at this point, but will hopefully be
|
### `mima-run`
|
||||||
working one day.
|
|
||||||
|
|
||||||
### mima-run
|
This program can load and run `.mima` files.
|
||||||
|
|
||||||
This program can load and run `.mima` files at a specified processor
|
```
|
||||||
speed (given in instructions per second).
|
$ ./mima-run --help
|
||||||
|
Usage: mima-run INFILE [-n|--steps N] [-d|--dump OUTFILE] [-q|--quiet]
|
||||||
|
[-s|--sparse] [-r|--norun]
|
||||||
|
|
||||||
I don't know how IO is going to happen on this machine. Maybe I'll
|
Available options:
|
||||||
just print a memory dump once the `HALT` instruction was encountered,
|
-h,--help Show this help text
|
||||||
or maybe I'll use left over instructions to add a brainfuck-like print
|
INFILE The memory dump to load and execute
|
||||||
command. Or maybe there is already a solution designed into the MiMa?
|
-n,--steps N How many instructions to execute (if not specified,
|
||||||
|
runs until HALT or execution exception)
|
||||||
### mima-debug
|
-d,--dump OUTFILE If specified, the MiMa's memory is dumped to this
|
||||||
|
file after execution is finished
|
||||||
This program is like `mima-run`, but also contains a live debugging
|
-q,--quiet Whether to print the memory after execution is
|
||||||
TUI.
|
finished
|
||||||
|
-s,--sparse Whether to print memory locations that contain 0
|
||||||
|
-r,--norun Don't run the MiMa. Continues as if the initial state
|
||||||
|
was the result of running the MiMa.
|
||||||
|
```
|
||||||
|
|
||||||
## Conventions
|
## Conventions
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue