Viitor_cc65/usr/share/doc/cc65/webdoc/plus4-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

46 lines
1.3 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.20">
<TITLE>Commodore Plus/4 specific information for cc65: Memory layout</TITLE>
<LINK HREF="plus4-4.html" REL=next>
<LINK HREF="plus4-2.html" REL=previous>
<LINK HREF="plus4.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="plus4-4.html">Next</A>
<A HREF="plus4-2.html">Previous</A>
<A HREF="plus4.html#toc3">Contents</A>
<HR>
<H2><A NAME="s3">3.</A> <A HREF="plus4.html#toc3">Memory layout</A></H2>
<P>cc65 generated programs with the default setup run with the kernal and basic
banked out. This gives a usable memory range of $1000 - $FD00.
Having the kernal and basic ROMs banked out means, that no ROM entry points
may be called directly from user code.</P>
<P>Special locations:</P>
<P>
<DL>
<DT><B>Text screen</B><DD><P>The text screen is located at $C00 (as in the standard setup).</P>
<DT><B>Color RAM</B><DD><P>The color RAM is located at $800 (standard location).</P>
<DT><B>Stack</B><DD><P>The C runtime stack is located at $FCFF and growing downwards.</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="plus4-4.html">Next</A>
<A HREF="plus4-2.html">Previous</A>
<A HREF="plus4.html#toc3">Contents</A>
</BODY>
</HTML>