Re: [cc65] c64 autostart code

Date view Thread view Subject view

From: David Holz (davidh_at_otterspace.com)
Date: 2003-10-30 07:47:30


From: "MagerValp" <MagerValp_at_cling.gu.se>
> Just in case someone wants to make autostarting c64 code with ca65,
> here's how I did it. Assemble with cl65 -t none -C autostart.cfg
> autostart.s. Thanks again Uz for helping me with ld65 :)

Aren't -C and -t supposed to be incompatible?  At least, using -C implies
"-t none".

I got around that kludgy start address stuff by modifying the ld65 source to
give a "sa" flag in the MEMORY section, that will simply output the start
address before the memory chunk.  Is this something you'd want patched into
the sources, Uz?

MEMORY
{
  AUTORUN:
    start = $02a7
    size  = $0059
    sa    = yes
    file  = "bin/boot";
...
}

-- 
White Flame (aka David Holz)
http://www.white-flame.com/

----------------------------------------------------------------------
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 : 2003-10-30 07:37:59 CET