]> git.sur5r.net Git - cc65/commitdiff
Fix write: Function was not changed to use __fastcall__
authorcuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 13 Apr 2003 21:51:01 +0000 (21:51 +0000)
committercuz <cuz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sun, 13 Apr 2003 21:51:01 +0000 (21:51 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@2044 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/apple2/write.s

index cb24e009630162de73e784c143671db7ad34c446..35bc1801199a016ab596e304ee01092c37b82a4d 100644 (file)
 
        .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
+