[cc65] Bug with cputc('\n"); or my dumbness ;) [scanned]

From: Markus Stehr <bastetfurry1ircnet.de>
Date: 2006-04-05 23:04:34
Hi!

Either i discovered a bug or i am just stupid.

Code:
  for(y=0;y<MAPMAX_Y+1;y++)
    {
    for(x=0;x<MAPMAX_X+1;x++)
      cputc(x+0x30);
    cputc('\n');
    }

This 'should' output a nice 20x20 cube with some stuff, but "\n" in
cputc doesnt seem to reset the collumn.
So he happily prints in the next line but still on the same x-position.

Any ideas?

Markus

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Wed Apr 5 23:04:54 2006

This archive was generated by hypermail 2.1.8 : 2006-04-05 23:04:58 CEST