]> git.sur5r.net Git - cc65/blobdiff - libsrc/geos/file/get1stdirentry.s
Started to add text output functions
[cc65] / libsrc / geos / file / get1stdirentry.s
index 7542c7dc1214d1cb29c32dec73cbdd363ed94600..79db1fb7a876edf8b713a05d0bfb9d3767546aff 100644 (file)
@@ -6,6 +6,7 @@
 
 ; struct filehandle* Get1stDirEntry (void);
 
+           .import __oserror
            .export _Get1stDirEntry
 
            .include "../inc/diskdrv.inc"
@@ -13,7 +14,7 @@
 
 _Get1stDirEntry:
        jsr Get1stDirEntry
-       stx errno
+       stx __oserror
        lda r5L
        ldx r5H
        rts