Re: [cc65] scanf again

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2004-11-27 12:12:33
On Sat, Nov 27, 2004 at 11:49:35AM +0100, MagerValp wrote:
> libsrc/cbm/ctype.s doesn't consider 97-122 as A-Z. That can't be
> right, can it?
                            
Strange ... It is some time that I had a closer look at the CBM character
set. How can it be that there are upper case characters starting from 97 and
from 193? And how comes no one has noticed so far?

It seems that the compiler itself is generating upper case letters in the
range 193-218, so the isxxx() functions are no problem when used with data
generated by cc65 programs.

And if you look here for example:

        http://burks.brighton.ac.uk/burks/foldoc/79/88.htm

there is no mentioning of upper case characters in the 97.. range.
                             
Can someone explain this? I'm more than willing to change the ctype.s file,
but understanding the nature of the problem before making any changes may
prevent rollback actions later.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Sat Nov 27 12:12:36 2004

This archive was generated by hypermail 2.1.8 : 2004-11-27 12:12:46 CET