]> git.sur5r.net Git - cc65/blobdiff - libsrc/cbm/c_open.s
Moved the 'disk' files from 'geos-cbm' to 'geos-common' which are believed to work...
[cc65] / libsrc / cbm / c_open.s
index 300aa54ad5a0e1010dd49ccc92ccfaadef5abbf3..b8f9527814aca1de6211c959b07909379ab9b4a1 100644 (file)
@@ -10,7 +10,7 @@
 
 _cbm_k_open:
        jsr     OPEN
+       ldx     #0              ; Clear high byte
        bcs     @NotOk
-        lda     #0
-@NotOk:        ldx     #0              ; Clear high byte
-        rts
+        txa
+@NotOk: rts