Re: [cc65] Creating a Cartridge Program with cc65

From: Groepaz <groepaz1gmx.net>
Date: 2007-05-02 00:14:43
On Wednesday 02 May 2007 00:11, Bill Katsak wrote:
> Hi,
>      Thanks for the quick reply. You are correct about the composition of
> the header. My issue now is the composition of the startup code. Do I need
> to do initialization in my main method? Or is this something that I need to
> write a separate function to do? I have a feeling that I need to replace
> the default C64 startup code with code that either adds the necessary
> header or even maybe just does the copydata stuff. Maybe I should be
> linking it manually and omitting the c64.o file? Do you (or anyone for that
> matter) have any example code doing this sort of thing that I can look at?
>
> I guess what I really am grasping for is something concrete that can help
> me understand how this whole process works.

you could look at the related NES files (startup code and linker control 
file), the general idea of inserting a cartridge header and copying the data 
section around is the same.

-- 

http://www.hitmen-console.org
http://www.gc-linux.org/docs/yagcd.html
http://www.pokefinder.org
http://ftp.pokefinder.org

The weirder you are going to behave, the more normal you should look... When I 
see a kid with three or four rings in his nose, I know there is absolutely 
nothing extraordinary about that person. 
<P.J. O'Rourke>

----------------------------------------------------------------------
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 May 2 00:15:00 2007

This archive was generated by hypermail 2.1.8 : 2007-05-02 00:15:03 CEST