From 89d02d72a57d7266dda83fbc633433a743413774 Mon Sep 17 00:00:00 2001 From: CrazyEttin <> Date: Fri, 7 Oct 2022 13:45:29 +0300 Subject: [PATCH] tweak the code and reword the readme slightly --- angala.asm | 8 +++----- readme.md | 6 +++--- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/angala.asm b/angala.asm index 2851353..31b3050 100644 --- a/angala.asm +++ b/angala.asm @@ -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 ;*** diff --git a/readme.md b/readme.md index e963c59..b92bdf1 100644 --- a/readme.md +++ b/readme.md @@ -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