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
brneq r1, r2, chknul
;Print a newline and halt
cleq r0, r0, newln
;Halt
halt
;Read a character
@ -248,9 +247,8 @@ recv: load r1, fff9
;Check for input and incoming data
breq r0, r0, check
;Print a newline and halt
noconn: cleq r0, r0, newln
halt
;Halt
noconn: halt
;***

View File

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