tweak the code and reword the readme slightly

This commit is contained in:
CrazyEttin 2022-10-07 13:45:29 +03:00
parent 1fece1b284
commit 89d02d72a5
2 changed files with 6 additions and 8 deletions

View File

@ -42,8 +42,7 @@ input: load r0, bfstrt
load r2, #1a load r2, #1a
brneq r1, r2, chknul brneq r1, r2, chknul
;Print a newline and halt ;Halt
cleq r0, r0, newln
halt halt
;Read a character ;Read a character
@ -248,9 +247,8 @@ recv: load r1, fff9
;Check for input and incoming data ;Check for input and incoming data
breq r0, r0, check breq r0, r0, check
;Print a newline and halt ;Halt
noconn: cleq r0, r0, newln noconn: halt
halt
;*** ;***

View File

@ -20,9 +20,9 @@ Usage
----- -----
Once run Angala will recieve and print characters sent to it until the Once run Angala will recieve and print characters sent to it until the
user starts typing a line to be sent. Once the line is sent it will go user starts typing a line to be sent. Once the line is sent or discarded
back to its default mode. If the server it is connected to hangs Angala it will go back to its default mode. If the server it is connected to
will halt the computer. hangs Angala will halt the computer.
A delete (^?) discards the preceding character on the current line and A delete (^?) discards the preceding character on the current line and
outputs an underscore to the terminal. An escape (^[) discards the outputs an underscore to the terminal. An escape (^[) discards the