commit 1c11e5881a656abdf231d748690cb3f68630e61c
parent ac3eacbf7405f7e20fa41a3e200d7702240b27d4
Author: lash <dev@holbrook.no>
Date: Mon, 3 Apr 2023 09:18:04 +0100
Update readme
Diffstat:
1 file changed, 7 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
@@ -20,7 +20,8 @@ The VM defines the following opcode symbols:
* `INCMP <arg> <symbol>` - Compare registered input to `arg`. If match, it has the same side-effects as `MOVE`. In addition, any consecutive `INCMP` matches will be ignored until `HALT` is called.
* `MSIZE <max> <min>` - Set min and max display size of menu part to `num` bytes.
* `MOUT <choice> <display>` - Add menu display entry. Each entry should have a matching `INCMP` whose `arg` matches `choice`. `display` is a descriptive text of the menu item.
-* `MSEP <choice> <display> <direction>` - Define how to display a menu separator, when browsing menus that are too long. Direction `0` is forward, `>0` is backward. If a `>0` value is not defined, no previous step will be available.
+* `MNEXT <choice> <display>` - Define how to display the choice for advancing when browsing menu.
+* `MPREV <choice> <display>` - Define how to display the choice for returning when browsing menu.
### External code
@@ -100,6 +101,11 @@ Menus too long for a single screen should be browseable through separate screens
When browsing additional menu pages, the template output should not be included.
+### Menu defaults
+
+Browsing menu display definitions (`MNEXT`, `MPREV`) as well as size constaints (`MSIZE`) should have sane defaults defined by the assembler if they are missing from the assembly code.
+
+
### Multipage support
Multipage outputs, like listings, are handled using the _sink_ output constraints: