On Fri, Jul 22, 2005 at 03:26:28PM -0400, Greg King wrote: > I think that it's backwards! I think that the compiler's pseudo-registers > should be the objects that are put into a specially named segment > (.segment "CC65ZP":zp). Then, .zeropage can be used for whatever other > zero-page variables a programmer wants to put into a library or program -- > ".zeropage" is easier for us to remember than the spelling of some special > name. It is common practice, that a compiler uses standard names, and programmers who want to interface with C code have to live with it. cc65 is no exception. The name of the standard text segment used by compilers is usually "code" or "text" - not "gcc-code" or "CC65-CODE" or similar. So what cc65 does is not unusual. Of course the read() routine for the Atari should be fixed, but using another name for the zeropage segment would not have prevented this error! The problem is that *only* the standard cc65 variables should go into this segment, regardless of how it is named. 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 Sun Jul 24 15:58:44 2005
This archive was generated by hypermail 2.1.8 : 2005-07-24 15:58:46 CEST