From ebba65b0b3ea7b49c33b082a00f455f85c58803c Mon Sep 17 00:00:00 2001 From: cuz Date: Tue, 3 Dec 2002 22:31:06 +0000 Subject: [PATCH] Make read and write __fastcall__ git-svn-id: svn://svn.cc65.org/cc65/trunk@1711 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/cbm/rwcommon.s | 1 - libsrc/common/fread.s | 3 +-- libsrc/common/fwrite.s | 3 +-- libsrc/common/modload.s | 1 - 4 files changed, 2 insertions(+), 6 deletions(-) diff --git a/libsrc/cbm/rwcommon.s b/libsrc/cbm/rwcommon.s index 2b6a33257..215ddc9aa 100644 --- a/libsrc/cbm/rwcommon.s +++ b/libsrc/cbm/rwcommon.s @@ -21,7 +21,6 @@ .proc rwcommon - jsr popax ; Get count eor #$FF sta ptr1 txa diff --git a/libsrc/common/fread.s b/libsrc/common/fread.s index bcad7f9b7..9ef6a7c4b 100644 --- a/libsrc/common/fread.s +++ b/libsrc/common/fread.s @@ -86,8 +86,7 @@ ; Call read(). This will leave the original 3 params on the stack -@L3: jsr pushax - jsr _read +@L3: jsr _read ; Check for errors in read diff --git a/libsrc/common/fwrite.s b/libsrc/common/fwrite.s index 31e3e5e96..c3ffd8fc3 100644 --- a/libsrc/common/fwrite.s +++ b/libsrc/common/fwrite.s @@ -86,8 +86,7 @@ ; Call write(). This will leave the original 3 params on the stack -@L3: jsr pushax - jsr _write +@L3: jsr _write ; Check for errors in write diff --git a/libsrc/common/modload.s b/libsrc/common/modload.s index 4385b1a08..133b9c19d 100644 --- a/libsrc/common/modload.s +++ b/libsrc/common/modload.s @@ -158,7 +158,6 @@ ReadByte: ReadAndCheckError: sta ReadSize stx ReadSize+1 - jsr pushax jsr Read ; Check the return code and bail out in case of problems -- 2.39.5