Viitor_cc65/usr/share/doc/cc65/webdoc/apple2-3.html
kueller 223cc6685e Neue Version V963
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_cc65@5933 504e572c-2e33-0410-9681-be2bf7408885
2011-01-03 10:48:06 +00:00

41 lines
1.1 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
<TITLE>Apple&nbsp;][ specific information for cc65: Memory layout</TITLE>
<LINK HREF="apple2-4.html" REL=next>
<LINK HREF="apple2-2.html" REL=previous>
<LINK HREF="apple2.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="apple2-4.html">Next</A>
<A HREF="apple2-2.html">Previous</A>
<A HREF="apple2.html#toc3">Contents</A>
<HR>
<H2><A NAME="s3">3.</A> <A HREF="apple2.html#toc3">Memory layout</A></H2>
<P>In the standard setup, cc65 generated programs use the memory from
$800 to $95FF, so 35.5K of memory are available. ROM calls are
possible without further precautions.</P>
<P>Special locations:</P>
<P>
<DL>
<DT><B>Stack</B><DD><P>The C runtime stack is located at HIMEM and grows downwards, regardless of
how your linker config file is setup.</P>
<DT><B>Heap</B><DD><P>The C heap is located at the end of the program and grows towards the C
runtime stack.</P>
</DL>
</P>
<HR>
<A HREF="apple2-4.html">Next</A>
<A HREF="apple2-2.html">Previous</A>
<A HREF="apple2.html#toc3">Contents</A>
</BODY>
</HTML>