Re: [cc65] Lynx target

Date view Thread view Subject view

From: Shawn Jefferson (
Date: 2003-05-04 19:17:25

>On Sat, May 03, 2003 at 02:03:56PM +0300, karri wrote:
>> Is this treated by having "loadable modules" somehow? Or should I just use
>> a huge bunch of IFDEF's and write just one module?
>I have to admit that I do not really understand what you're talking about.
>Maybe that's because I don't know enough about the Lynx. 
>Why not start with a startup file, a linker config, and some easy to write
>modules that allow reading something from the keyboard and (maybe) printing
>something on the screen? Why care about file i/o before you are even able to
>just compile a simple program that does nothing?

It's pretty easy to do this, and now that Bastian has given the ok to use his library functions we could have a working lynx target for cc65 very quickly.  There are functions in his library to access the cartridge...

I guess for the sake of cross-platformness you may could get some kind of file-io working, though with a system that is so different from the others it may not make any sense.  You will need to functions to grab data from the cartridge in any medium size game.

Bastian warned us that some registers in the lynx *have* to be written lo byte first.  Might this be a problem if we've written large structures to address the internal hardware of the lynx (how does cc65 write to addresses?)

Shawn Jefferson

To unsubscribe from the list send mail to 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-05-04 19:19:36 CEST