summaryrefslogtreecommitdiff
path: root/module
diff options
context:
space:
mode:
authorKonstantin Kirik (snegovick) <snegovick@uprojects.org>2025-12-25 11:21:06 +0300
committerKonstantin Kirik (snegovick) <snegovick@uprojects.org>2025-12-25 11:21:06 +0300
commit2630491c9870e71a78791a8144a340e4cd5f99ed (patch)
tree94b0c91d0a0386e011ac4e82dea3ddf0479c99f4 /module
parente613e3bfa9611b57017919e61627cd10077bdf69 (diff)
Implement basic interactive mode
Diffstat (limited to 'module')
-rw-r--r--module/sh9cmd.m5
-rw-r--r--module/sh9util.m1
2 files changed, 6 insertions, 0 deletions
diff --git a/module/sh9cmd.m b/module/sh9cmd.m
new file mode 100644
index 0000000..10f007b
--- /dev/null
+++ b/module/sh9cmd.m
@@ -0,0 +1,5 @@
+Sh9Cmd: module
+{
+ PATH: con "/dis/lib/sh9cmd.dis";
+ init: fn(ctxt: ref Draw->Context, argv: list of string);
+};
diff --git a/module/sh9util.m b/module/sh9util.m
index 9d53da9..023847d 100644
--- a/module/sh9util.m
+++ b/module/sh9util.m
@@ -7,6 +7,7 @@ Command: adt
{
args: list of string;
inf, outf: string;
+ infd, outfd: ref Sys->FD;
append: int;
};