Commented print-stdin example.
h3rald h3rald@h3rald.com
Fri, 30 Jan 2026 14:44:04 +0100
1 files changed,
6 insertions(+),
0 deletions(-)
jump to
M
examples/print-stdin.xyw
→
examples/print-stdin.xyw
@@ -1,10 +1,16 @@
.include "devices.xyw" + +; Set on_keypress event handler print-key terminal.on_keypress STW +; End program end JMPw +; on_keypress event handler .label print-key + ; Print typed character terminal.input LDB terminal.output STB + ; Print new line $0A terminal.output STB BRK