Re: [cc65] conio/printf

Date view Thread view Subject view

From: Shawn Jefferson (sjefferson_at_sd62.bc.ca)
Date: 2002-11-08 23:34:18


>>> Christian Groessler <cpg_at_aladdin.de> 11/03/02 03:18PM >>>
>I've fixed cgetc.s to correctly display (or not) the cursor and
>cputc.s to update the cursor position.
>Get one of the nightly snapshots to test it out, or use the appended
>source files...
>
>Please tell me how it works...

I'm getting a strange behavior with cputsxy and cprintf.  It is printing the last character of the string twice.

This code:

  revers(1);
  cprintf("This is a line in reverse video.\n\r");
  revers(0);
  cprintf("This line is not.\n\r");

  cputsxy(2,10, "This line is here.");

Compiled with:

cl65 -t atari texttest.c cputc.s cgetc.s -o texttest.exe

Produces output like this:

This is a line in reverse video..
This line is not..

  This line is here..

¯
Shawn


----------------------------------------------------------------------
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 : 2002-11-08 23:36:24 CET