Re: [cc65] 65(S)C02 and additional target...

Date view Thread view Subject view

From: Christian Krüger (christian.krueger_at_pace.de)
Date: 2002-05-14 11:13:23


Hi,

>This would be just another port, so if you're willing to write the
necessary
>libraries, it is no problem to add them to the distribution (but please
read
>the the paragraph about the patch policy on the web page).

I'll try. Because I'm interested in developing also commercial programms
for the Lynx, I have no problem supporting the patch policy. I noticed
(maling list archive) that there was a tiff... ;-)

>As far as I know, the Lynx is a game console, so probably many of the
>standard files cannot be used, which would make the port rather simple.

Correct, so am I.

>Regardless of that, I would prefer that the libraries are portable
>were possible. If one of the existing libraries cannot be ported
>it's not a problem. But if it can be ported, I would prefer a ported
>version over some other library that does the same thing a different
>way.

If it is usefull, I'll do.

>65C02 support in the assembler is actually 65SC02 support.

So why not pointing this fact out by renaming the -cpu switch
to '65SC02'? It's a little bit confusing for newbies and the
further development when have to know that the 65C02 switch
is / should be 65SC02 compatible...
If the assembler supports BBR/BBS/RMB/SMB you need the 65SC02
switch anyway...

>Writing the linker config and C startup files would be the first steps
>to add support for the Lynx. You may want to have a look at the existing
>files for some other platform (I would suggest the Plus/4, since it is
>complete but still simple compared to some other machines [C64, Atari]).

Thank you for the hints. I'll get busy next weekend...

One more thing:
How can I manipulate the linker to build a program header which tooks the
startaddress, length of the program into account? (Or how I have to build
the startupcode, so that the linker can put these infos into the header?)

Regards
chrisker
----------------------------------------------------------------------
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-05-14 11:14:05 CEST