]> git.sur5r.net Git - cc65/blobdiff - libsrc/atari/ctype.s
Any field without a name is legal but useless in a union.
[cc65] / libsrc / atari / ctype.s
index 7d85530072b9e8f798dfc98674b081d2fc99d709..8dbed27008ed0a8ae8c730af8eb83425689d4f91 100644 (file)
@@ -6,19 +6,9 @@
 ; adapted to Atari by Christian Groessler, June 2000
 ;
 
-; The tables are readonly, put them into the code segment
-
-.code
-
-; Value that must be added to an upper case char to make it lower case
-; char (example: for ASCII, this must be $E0).
-
-
-       .export         __cdiff
-
-__cdiff:
-       .byte   $E0
+; The tables are readonly, put them into the rodata segment
 
+.rodata
 
 ; The following 256 byte wide table specifies attributes for the isxxx type
 ; of functions. Doing it by a table means some overhead in space, but it
@@ -242,7 +232,7 @@ __ctype:
        .byte   $00     ; 189/bd ___inv_=_____
        .byte   $00     ; 190/be ___inv_>_____
        .byte   $00     ; 191/bf ___inv_?_____
-                                
+
        .byte   $00     ; 192/c0 ___inv_@_____
                .byte   $0A     ; 193/c1 ___inv_A_____
                .byte   $0A     ; 194/c2 ___inv_B_____