Re: [cc65] conio/printf

Date view Thread view Subject view

From: Christian Groessler (cpg_at_aladdin.de)
Date: 2002-11-04 00:18:47


On 10/31/2002 11:24:51 PM CET Ullrich von Bassewitz wrote:
>
>On Thu, Oct 31, 2002 at 02:10:57PM -0800, Shawn Jefferson wrote:
>> Ok.  That certainly seems to be what is going on.  I just wrote a little
>> test program and verified that the conio function cursor() doesn't turn the
>> cursor on/off on the atari.
>
>Just checked the sources: It is in fact not the cursor() function that is not
>working, it is cgetc() that is ignoring the state variable set by cursor().
>
>> I guess the quick solution is for me to just move the E: device cursor
>> coordinates myself before doing my printf in text_input.  I was using gotoxy()
>> thinking that this is what it did...
>
>The obvious solution would be to fix cgetc. Christian, can you have a look at
>it?

Yes...
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...

regards,
chris






---------------------------------------------------------------------- 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-04 00:20:12 CET