From: cuz Date: Sun, 13 Apr 2003 21:51:01 +0000 (+0000) Subject: Fix write: Function was not changed to use __fastcall__ X-Git-Tag: V2.12.0~1649 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=45ceda13663ec9ccac312fbe4a77d707eeee2096;p=cc65 Fix write: Function was not changed to use __fastcall__ git-svn-id: svn://svn.cc65.org/cc65/trunk@2044 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- diff --git a/libsrc/apple2/write.s b/libsrc/apple2/write.s index cb24e0096..35bc18011 100644 --- a/libsrc/apple2/write.s +++ b/libsrc/apple2/write.s @@ -14,10 +14,10 @@ .include "apple2.inc" -_write: - jsr popax ; get count - sta ptr2 - stx ptr2+1 ; save for later +.proc _write + + sta ptr2 ; Save count for later + stx ptr2+1 sta ptr3 sta ptr3+1 ; save for result jsr popax ; get buf @@ -51,3 +51,6 @@ L3: dec ptr2 L9: lda ptr3 ldx ptr3+1 rts + +.endproc +