From 2630491c9870e71a78791a8144a340e4cd5f99ed Mon Sep 17 00:00:00 2001 From: "Konstantin Kirik (snegovick)" Date: Thu, 25 Dec 2025 11:21:06 +0300 Subject: Implement basic interactive mode --- module/sh9cmd.m | 5 +++++ module/sh9util.m | 1 + 2 files changed, 6 insertions(+) create mode 100644 module/sh9cmd.m (limited to 'module') 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; }; -- cgit v1.2.3