RE: [cc65] using newline in cprintf on c64

Date view Thread view Subject view

From: Greg Long (cc65_at_maneuveringspeed.com)
Date: 2003-03-05 17:09:57


Still doesn't work - does some VERY creative scrolling and eventually a
CPU jam.

try it with my code where the integers are output after the sort.

thanks though,
Greg

-----Original Message-----
From: owner-cc65_at_musoftware.de [mailto:owner-cc65_at_musoftware.de] On
Behalf Of MagerValp
Sent: Tuesday, March 04, 2003 1:19 PM
To: cc65_at_musoftware.de
Subject: Re: [cc65] using newline in cprintf on c64


>>>>> "GL" == Greg Long <greg_at_maneuveringspeed.com> writes:

GL> If I substitute a \r for the \n it runs fine and exits normally, but

GL> of course, only overwrites the same line through the whole loop, and

GL> does not go to the new line. I tried inserting \x0d for a CR and 
GL> \x11 for a cursor down to no avail.

You have to use \r\n with the conio functions.

-- 
    ___          .     .  .         .       . +  .         .      o   
  _|___|_   +   .  +     .     +         .  Per Olofsson, arkadspelare
    o-o    .      .     .   o         +          MagerValp_at_cling.gu.se
     -       +            +    .     http://www.cling.gu.se/~cl3polof/
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.

----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo_at_musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.


Date view Thread view Subject view

This archive was generated by hypermail 2.1.3 : 2003-03-05 17:11:34 CET