Re: [cc65] creating new output target platform for cc65 - Arcade Hardware

From: Tachdaun <tachdaun1gmail.com>
Date: 2009-01-24 16:35:28
Where there Arcade machines with 6502? didn't know that

Ullrich von Bassewitz wrote:
On Fri, Jan 23, 2009 at 05:38:11PM -0800, steve-cc65 wrote:
  
This may be more of a question for the compiler development list but I
am interested in creating a new output target type for the cc65 compiler
.  So far the info I have dug up online is disorganized and distributed
across better than a hundred different mailing list posts.  Maybe I am
looking in the wrong place?  Is there a good, organized tutorial on
getting started?
    

No, there is no tutorial but quite some people have managed to create new
targets anyway.

1. Write a linker configuration for your target.

2. Write a startup file using one of the existing startup files as an example.
   I would suggest to use the startup file for the C16 because it's complete
   without containing too many platform specialities.

3. You can now start to write simple test programs that do - for example -
   screen I/O by direct access just to make sure the stuff from step 1. and 2.
   is working.

4. Once you've verified the startup code and linker config, you can start to
   write the target specific parts of the library. I do usually start with
   the basic conio routines (read a key from the keyboard, output to screen),
   because this simplifies debugging for the more complex library routines.

Regards


        Uz


  
---------------------------------------------------------------------- To unsubscribe from the list send mail to majordomo@musoftware.de with the string "unsubscribe cc65" in the body(!) of the mail. Received on Sat Jan 24 15:36:05 2009

This archive was generated by hypermail 2.1.8 : 2009-01-24 15:36:07 CET