-
Notifications
You must be signed in to change notification settings - Fork 3
Memory Models
Colin Taylor edited this page Apr 19, 2024
·
2 revisions
CSharp-80 places the compiled z80 program code at an Org address that is dependent on the target architecture. For TRS-80 the code starts at 0x5200, for ZX-Spectrum at 0x5CCB, and for CPM at 0x0100.
The heap is placed above the program code and allocation is made upwards. The stack sits above the heap and starts at 0xA000 growing downwards.
The location of the stack can be controlled via the --stackStart option.
There is no support currently for RAM beyond 64k such as bank switching.