1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-05 21:29:03 +00:00

Fix write: Function was not changed to use __fastcall__

git-svn-id: svn://svn.cc65.org/cc65/trunk@2044 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2003-04-13 21:51:01 +00:00
parent c2f5cb7cce
commit 45ceda1366

View File

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