]> git.sur5r.net Git - cc65/blobdiff - libsrc/runtime/ldau0sp.s
no TGI_ERR_NO_MEM or TGI_ERR_NO_IOCB anymore: replaced by TGI_ERR_NO_RES
[cc65] / libsrc / runtime / ldau0sp.s
index ff91261c245c3d1abc57398b88b713481c1edb96..0be99d32018ecaded0487a2e1c2a353789d9b645 100644 (file)
@@ -7,6 +7,8 @@
        .export         ldau00sp, ldau0ysp
        .importzp       sp, ptr1
 
+        .macpack        cpu
+
 ldau00sp:
        ldy     #1
 ldau0ysp:
@@ -16,7 +18,7 @@ ldau0ysp:
        lda     (sp),y
        sta     ptr1
        ldx     #0
-.ifpc02
+.if (.cpu .bitand CPU_ISET_65SC02)
        lda     (ptr1)          ; Save one cycle for the C02
 .else
        lda     (ptr1,x)