Hi, I just noticed that on the Atari textcolor() is a dummy. Some remarks from my side: 1. It would be nice, if the Atari documentation section would provide a hint on that limitation - i.e. like I did for the Apple II: http://www.cc65.org/doc/apple2-8.html#ss8.3 2. In atari.h there is: /* Note that the conio color implementation is monochrome (bgcolor and textcolor are only placeholders) */ This statement doesn't seem quite right as bgcolor() seems to have both code and an effect. 3. In apple2.h there is: /* The following #defines will cause the matching functions calls in conio.h * to be overlaid by macros with the same names, saving the function call * overhead. */ #define _textcolor(color) COLOR_WHITE #define _bgcolor(color) COLOR_BLACK #define _bordercolor(color) COLOR_BLACK This saves quite some bytes when porting "colorful" CBM-biased coding to the Apple II as all call sites are removed. I pretty sure the Atari would benefit from doing something similiar for textcolor() - especially as the default linker config offers relatively little memory! Regards, Oliver ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.Received on Fri Oct 1 21:51:48 2010
This archive was generated by hypermail 2.1.8 : 2010-10-01 21:51:50 CEST