From 41338a4b23010c607888a57edb22dc8739109cfe Mon Sep 17 00:00:00 2001 From: Virgil Dupras Date: Mon, 4 Nov 2019 10:12:17 -0500 Subject: [PATCH] stdio: add "Accepted characters" comment section ref #64 --- kernel/stdio.asm | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/kernel/stdio.asm b/kernel/stdio.asm index ad43fed..a58b8ee 100644 --- a/kernel/stdio.asm +++ b/kernel/stdio.asm @@ -11,6 +11,15 @@ ; ; PutC: Write character specified in A onto the device. ; +; *** Accepted characters *** +; +; For now, we're in muddy waters in this regard. We try to stay close to ASCII. +; Anything over 0x7f is undefined. Both CR and LF are interpreted as "line end". +; Both BS and DEL mean "delete previous character". +; +; When outputting, newlines are marked by CR and LF. Outputting a character +; deletion is made through BS then space then BS. +; ; *** Defines *** ; STDIO_GETC: address of a GetC routine ; STDIO_PUTC: address of a PutC routine