From: Groepaz (groepaz_at_gmx.net)
Date: 2002-12-13 10:23:54
On Friday 13 December 2002 01:15, Greg King wrote:
> -----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.
that depends ofcoz on where he loaded the bitmap/colram etc too...dunno about
that :=) (and i wasnt really assuming he is going to try that while in
grafics mode)
--
___ ___ .___________________ .___________ _______.
c=64 / | \| \__ ___/ \ \_ _____/ \ \ [groepaz]
gb / ' \ | | | / \ / \ | __)_ / | \ gp32
cgb \ . / | | |/ ' \| \/ | \ psx
gba \___|_ /|___| |____|\____|__ /_______ /\____|__ / dc
-----\/-----'---------------\/--------\/---------\/
http://www.hitmen-console.org Hitmen WWW Headquarters
http://fly.to/hitmen-groepaz my personal playground
http://rr.c64.org/silversurfer home of the RR debugger
ftp.musoftware.de/pub/groepaz cc65 dump site
----------------------------------------------------------------------
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 10:25:59 CET