From: Greg King (gngking_at_erols.com)
Date: 2002-12-13 01:15:02
-----Original Message----- From: Groepaz Date: Sunday, December 08, 2002 06:16 PM > > > void centertext(unsigned char *text, unsigned char line) { > > gotoxy((40 - strlen(text))/2, line); > > cprintf("%s", text); > > } > > You should have also added that using cputs(), instead, > would greatly increase the speed of that code. :) cputsxy() would be even better! But, I think that text and Koala pictures can't be mixxed. Aren't they medium-resolution, multi-color graphics? Color-RAM supplies one of those multi-colors. Therefore, printing anything can mess up the pictures' colorring. ---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo_at_musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail.
This archive was generated by hypermail 2.1.3 : 2002-12-13 01:16:42 CET