]> git.sur5r.net Git - cc65/commitdiff
"Apple disk names are null-terminated strings of 16 characters or less (counting...
authorol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 4 Feb 2012 21:53:20 +0000 (21:53 +0000)
committerol.sc <ol.sc@b7a2c559-68d2-44c3-8de9-860c34a00d81>
Sat, 4 Feb 2012 21:53:20 +0000 (21:53 +0000)
git-svn-id: svn://svn.cc65.org/cc65/trunk@5448 b7a2c559-68d2-44c3-8de9-860c34a00d81

libsrc/geos-common/disk/getptrcurdknm.s

index 36797f4e9eb0d51b12d71fe89c10379505ca0828..f0fae0ec4cc04e76cde2a2bc69c337abf1299874 100644 (file)
@@ -23,7 +23,11 @@ _GetPtrCurDkNm:
        txa
        bne fin
 namelp:        lda (ptr4),y
+.ifdef  __GEOS_CBM__
        cmp #$a0
+.else
+       cmp #0
+.endif
        beq fin
        sta (ptr3),y
        iny