From: cuz Date: Tue, 3 Dec 2002 22:31:06 +0000 (+0000) Subject: Make read and write __fastcall__ X-Git-Tag: V2.12.0~1944 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ebba65b0b3ea7b49c33b082a00f455f85c58803c;p=cc65 Make read and write __fastcall__ git-svn-id: svn://svn.cc65.org/cc65/trunk@1711 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- 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