1
0
mirror of https://github.com/cc65/cc65.git synced 2024-06-07 07:29:33 +00:00

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)
;
; 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

View File

@ -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"