From a93542e80cb0e15d790d4ac1882f1d6d64600736 Mon Sep 17 00:00:00 2001 From: Wayne Parham Date: Wed, 16 Jun 2021 16:24:26 -0500 Subject: [PATCH] Added __fastcall__ to comments --- libsrc/sym1/read.s | 3 ++- libsrc/sym1/write.s | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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"