Replies: 2 comments
-
CLRCHN does not seem to be needed after opening channel #15, the command channel. #389 |
Beta Was this translation helpful? Give feedback.
0 replies
-
I think the takeaway is that files are a bit wonky but quite friendly in BASIC. Redirecting input from the disk and the screen(?) is also the foundation of durexForth. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
CLRCHN does two things:
Sets screen and keyboard as the current output and input channels respectively.
Sends IEC UNLISTEN and/or UNTALK over the serial bus if- there were current IEC channels.
Use CLRCHN after:
-OPEN-ing other I/O channels (like a tape or disk drive)
Use CLRCHN before:
CLOSE-ing a current channel.
CHKIN: When changing the current input channel from keyboard to any OPEN-ed input channel.
CHKOUT: When changing the current output channel from screen to any OPEN-ed output channel.
Beta Was this translation helpful? Give feedback.
All reactions