diff --git a/libsrc/sym1/read.s b/libsrc/sym1/read.s index 177472270..a2549fd9c 100644 --- a/libsrc/sym1/read.s +++ b/libsrc/sym1/read.s @@ -1,7 +1,7 @@ ; ; Wayne Parham (wayne@parhamdata.com) ; -; int read (int fd, void* buf, unsigned count); +; int __fastcall__ read (int fd, void* buf, unsigned count); ; .include "sym1.inc" @@ -37,6 +37,7 @@ getch: jsr INTCHR ; Get character using Monitor ROM call chkcr: cmp #$0D ; Check for '\r' bne putch ; ...if CR character lda #$0A ; Replace with '\n' + jsr OUTCHR ; and echo it putch: ldy #$00 ; Put char into return buffer sta (ptr1),y diff --git a/libsrc/sym1/write.s b/libsrc/sym1/write.s index 314a7760b..7b7428b9b 100644 --- a/libsrc/sym1/write.s +++ b/libsrc/sym1/write.s @@ -1,7 +1,7 @@ ; ; Wayne Parham (wayne@parhamdata.com) ; -; int write (int fd, const void* buf, int count); +; int __fastcall__ write (int fd, const void* buf, int count); ; .include "sym1.inc"