Re: [cc65] ca65 for stand-alone asm projects

From: Christian Grössler <chris1groessler.org>
Date: 2010-11-12 20:31:00
Hi Oliver,

On 11.11.10 11:59, Oliver Schmidt wrote:
> If I understand the above correctly then that's something done on the
> Apple2 too. However the user needs to explicitly make us of it by
> placing code in a HIGHCODE segment. See here:
> http://www.cc65.org/doc/apple2-3.html
>
> So there are actually two segments copied by the Apple2 crt0.s:
> - The INIT segment is copied in the heap/stack
> - The HIGHCODE segment is copied under the ROM

I didn't find it in a quick browse over the manual, so you could
still hit me with the RTFM-Hammer.

How is the enabling/disabling of the ROM done? If code running
in regular memory calls a function in HIGHCODE, someone would need
to disable the ROM so that the function can be called, and afterwards
enable the ROM again.

regards,
chris
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Fri Nov 12 20:31:03 2010

This archive was generated by hypermail 2.1.8 : 2010-11-12 20:31:06 CET