]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/file/openrecordfile.s
Started to add text output functions
[cc65] / libsrc / geos / file / openrecordfile.s
index 9251e67458c4815587365e37a6aeee631f507770..218a01fcf770cf6a1233a8d08d4868862c4f5497 100644 (file)
@@ -6,6 +6,7 @@
 
 ; char OpenRecordFile  (char *myName);
 
+           .import __oserror
            .export _OpenRecordFile
 
            .include "../inc/jumptab.inc"
@@ -15,6 +16,6 @@ _OpenRecordFile:
        sta r0L
        stx r0H
        jsr OpenRecordFile
-       stx errno
+       stx __oserror
        txa
        rts