From 45ceda13663ec9ccac312fbe4a77d707eeee2096 Mon Sep 17 00:00:00 2001 From: cuz Date: Sun, 13 Apr 2003 21:51:01 +0000 Subject: [PATCH] Fix write: Function was not changed to use __fastcall__ git-svn-id: svn://svn.cc65.org/cc65/trunk@2044 b7a2c559-68d2-44c3-8de9-860c34a00d81 --- libsrc/apple2/write.s | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) 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 + -- 2.39.5