1
0
mirror of https://github.com/cc65/cc65.git synced 2024-07-08 10:29:04 +00:00

Merge pull request #2 from cc65/master

Update
This commit is contained in:
Stefan 2017-11-21 00:58:58 +01:00 committed by GitHub
commit 51731cb1f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@
<title>VTech Creativision (aka Funvision) specific information for cc65 <title>VTech Creativision (aka Funvision) specific information for cc65
<author><url url="mailto:polluks+cc65@sdf.lonestar.org" name="Stefan A. Haubenthal"> <author><url url="mailto:polluks+cc65@sdf.lonestar.org" name="Stefan A. Haubenthal">
<date>2016-04-14 <date>2017-11-15
<abstract> <abstract>
An overview over the Creativision runtime system as it is implemented for the An overview over the Creativision runtime system as it is implemented for the
@ -31,14 +31,16 @@ more than one platform. Please see the function reference for more information.
<sect>Binary format<p> <sect>Binary format<p>
The standard binary output format generated by the linker for the Creativision target The standard binary output format generated by the linker for the Creativision target
is a 4 kbyte machine language program. It is of course possible to change is a 4 KB ROM image. To create an 8 KB ROM a custom linker script has
this behaviour by using one of the different linker configs. to be used.
<sect>Memory layout<p> <sect>Memory layout<p>
cc65 generated programs with the default setup run with the I/O area enabled, cc65 generated programs with the default setup are 4 KB in size,
which gives a usable memory range of &dollar;B000 - &dollar;BEFF. occupying &dollar;B000 - &dollar;BFFF. Usable memory space for the
More ROM may need additional bankswitching code. user program is &dollar;B000 - &dollar;BEFF. &dollar;BF00 -
&dollar;BFFF is reserved for the runtime and cartridge configuration
area.
Special locations: Special locations:
@ -47,11 +49,15 @@ Special locations:
The text screen is located at VRAM &dollar;1000. The text screen is located at VRAM &dollar;1000.
<tag/Stack/ <tag/Stack/
The C runtime stack is located at &dollar;3FF and growing downwards. The C runtime stack is located at &dollar;03FF and growing downwards.
<tag/RAM/
The available RAM for cc65 programs of an unexpanded Creativision
starts at &dollar;01FA and ends at &dollar;03FF.
<tag/Heap/ <tag/Heap/
The C heap is located at the end of the program and grows towards the C The C heap is located at the end of the program's data area and
runtime stack. grows towards the C runtime stack.
</descrip><p> </descrip><p>