summaryrefslogtreecommitdiff
path: root/objects/SimConsole.mpy
diff options
context:
space:
mode:
Diffstat (limited to 'objects/SimConsole.mpy')
-rw-r--r--objects/SimConsole.mpy9
1 files changed, 9 insertions, 0 deletions
diff --git a/objects/SimConsole.mpy b/objects/SimConsole.mpy
new file mode 100644
index 000000000..0676738f9
--- /dev/null
+++ b/objects/SimConsole.mpy
@@ -0,0 +1,9 @@
+simobj ConsoleListener(SimObject):
+ port = Param.UInt16(3456, "listen port")
+
+simobj SimConsole(SimObject):
+ append_name = Param.Bool(true, "append name() to filename")
+ intr_control = Param.IntrControl(Super, "interrupt controller")
+ listener = Param.ConsoleListener("console listener")
+ number = Param.Int(0, "console number")
+ output = Param.String("", "file to dump output to")