]> git.sur5r.net Git - cc65/blobdiff - libsrc/common/isblank.s
Added mouse module from C64
[cc65] / libsrc / common / isblank.s
index 5568a547db812eba164beef6d1d650ed06c66e37..6da645a92c55a8a18d8c3c64016e4fc13387490d 100644 (file)
@@ -7,14 +7,14 @@
 ;
 
        .export         _isblank
-       .import         __ctype
+       .include        "ctype.inc"
 
 _isblank:
        cpx     #$00            ; Char range ok?
        bne     @L1             ; Jump if no
        tay
        lda     __ctype,y       ; Get character classification
-               and     #$80            ; Mask blank bit
+               and     #CT_SPACE_TAB   ; Mask blank bit
        rts
 
 @L1:   lda     #$00            ; Return false