From 886e9e83b2f26c4f6c0ceb5407dcd31646c9d039 Mon Sep 17 00:00:00 2001 From: Wayne Parham Date: Mon, 7 Jun 2021 12:33:29 -0500 Subject: [PATCH] Removed stdin->stdout echo from read.s --- libsrc/sym1/read.s | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/libsrc/sym1/read.s b/libsrc/sym1/read.s index 7ab88f1e8..b876a5915 100644 --- a/libsrc/sym1/read.s +++ b/libsrc/sym1/read.s @@ -29,11 +29,7 @@ begin: dec ptr2 beq done ; If buffer full, return getch: jsr INTCHR ; Get character using Monitor ROM call - jsr OUTCHR ; Echo it - and #$7F ; Clear hi bit and check for '\r' - cmp #$0D - bne putch - lda #$0A ; Replace with '\n' and set count to zero + and #$7F ; Clear hi bit putch: ldy #$00 ; Put char into return buffer sta (ptr1),y