Added __fastcall__ to comments

This commit is contained in:
Wayne Parham 2021-06-16 16:24:26 -05:00
parent f1f700799b
commit a93542e80c
2 changed files with 3 additions and 2 deletions

View file

@ -1,7 +1,7 @@
; ;
; Wayne Parham (wayne@parhamdata.com) ; 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" .include "sym1.inc"
@ -37,6 +37,7 @@ getch: jsr INTCHR ; Get character using Monitor ROM call
chkcr: cmp #$0D ; Check for '\r' chkcr: cmp #$0D ; Check for '\r'
bne putch ; ...if CR character bne putch ; ...if CR character
lda #$0A ; Replace with '\n' lda #$0A ; Replace with '\n'
jsr OUTCHR ; and echo it
putch: ldy #$00 ; Put char into return buffer putch: ldy #$00 ; Put char into return buffer
sta (ptr1),y sta (ptr1),y

View file

@ -1,7 +1,7 @@
; ;
; Wayne Parham (wayne@parhamdata.com) ; 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" .include "sym1.inc"