Re: [cc65] A bug?

From: Andrew J. Kroll <forge1dr.ea.ms>
Date: 2008-07-23 19:17:36
> 
> On Wed, Jul 23, 2008 at 9:29 AM,  <silverdr@inet.com.pl> wrote:
> > Don't get me wrong but the code in question didn't require any kind of
> > "special treatment" on any of the compilers/platforms I used in the past.
> 
> Well, yeah, but there's a big difference between "it works on several
> varieties of UNIX and DOS" and "it's portable across C
> implementations".  Different sets of commonalities.  I mean, does it
> work on Atari 8-bit computers?  Apple II?  NES? :)
> 
> I agree that it's unfortunate that the Commodore 64 display driver
> doesn't have a way of sending the cursor back to the first column via
> a CHROUT call.  (The Commodore 128 one does, although you have to send
> two characters, ESC followed by J.)
> 

On some machines I have seen it implemented in one of two ways:
1: Issue a regular CR then a CURSOR UP.
2: Implement a new interface to screen memory.


The first is trivial to do, you just need to check that the output is really
actually going to the screen.

-- 
Andrew J. Kroll
Software and Hardware Engineer and Consultant
Grafixoft http://dr.ea.ms/HW/
----------------------------------------------------------------------
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 Jul 23 19:17:45 2008

This archive was generated by hypermail 2.1.8 : 2008-07-23 19:17:48 CEST