]> git.sur5r.net Git - cc65/commitdiff
Return EUNKNOWN instead of EINVAL if the error code cannot be mapped.
authoruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 3 Jun 2010 21:10:22 +0000 (21:10 +0000)
committeruz <uz@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Thu, 3 Jun 2010 21:10:22 +0000 (21:10 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@4695 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/cbm/oserror.s

index 3fa7b3e1ebbcb2946503ee98a578dec4f3c00a97..1f40685cb99b6b8338af2cf204cd8983d99b4e99 100644 (file)
@@ -18,10 +18,10 @@ __osmaperrno:
        dex
        bne     @L1             ; Next entry
 
-; Code not found, return EINVAL
+; Code not found, return EUNKNOWN
 
-       lda     #<EINVAL
-       ldx     #>EINVAL
+       lda     #<EUNKNOWN
+       ldx     #>EUNKNOWN
        rts
 
 ; Found the code