]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/file/writerecord.s
Started to add text output functions
[cc65] / libsrc / geos / file / writerecord.s
index 7f59482ced9647506f9ed83fabe79a8fb3057488..7652abc53918a2a90e8fd18ed18623bb618b110d 100644 (file)
@@ -7,7 +7,7 @@
 ; char WriteRecord  (char *buffer, int length);
 
            .export _WriteRecord
-           .import popax
+           .import popax, __oserror
 
            .include "../inc/jumptab.inc"
            .include "../inc/geossym.inc"
@@ -19,6 +19,6 @@ _WriteRecord:
        sta r7L
        stx r7H
        jsr WriteRecord
-       stx errno
+       stx __oserror
        txa
        rts