On Tue, Sep 22, 2009 at 07:49:28PM -0700, Ted Larson wrote: > I am new to the list. I have been hunting around for a C compiler that > could be used to develop for the GPC1 series (GeneralPlus / SunPlus) chips. > CC65 looks ideal, because it looks like it can generate an assembly file > that I could pump through the GeneralPlus macro assembler and linker. I did > some Google searches, and found some super old posts about this. Is there > anyone out there currently doing this that can give me any pointers or > helpful ideas? That's difficult without knowing the assembler program. My assumption is that your chances are a lot better if you add the sunplus instruction set to the ca65 assembler. This has been done before, so it should be manageable. The compiler emits a lot of ca65 specific things, like segments and forced imports. I doubt that this will go through the Sunplus assembler without conversion. > My initial thought was to do some simple programs, compile them, pull them > into the Fortis IDE (GPlus tools), and assemble them for a test to link in > the necessary stuff. I did a Hello World type program, and the .s file it > generates looks good to go. It looks like memory management will really be > the biggest challenge .especially getting the bank switching in there > somehow. Maybe I am being naïve or missing something. The code output by the compiler references quite some runtime routines, so you will have to convert and manage the runtime library, too. Regards Uz -- Ullrich von Bassewitz uz@musoftware.de ---------------------------------------------------------------------- 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 Sep 23 09:28:31 2009
This archive was generated by hypermail 2.1.8 : 2009-09-23 09:28:33 CEST