FoenixMCP/vbcc/targets/m68k-foenix/vlink.cmd
Peter Weingartner 1db976edb5 Added PANIC and version info
Added a panic screen that should come up for various exceptions. Made a few other minor changes.
2021-10-19 20:35:41 -04:00

28 lines
581 B
Batchfile

RAMSTART = 0x00010000;
RAMSIZE = 0x00030000;
STACKLEN = 0x400;
MEMORY
{
vec : org = 0, len = 0x400
ram : org = RAMSTART, len = RAMSIZE - STACKLEN
}
SECTIONS
{
vectors : { *(VECTORS) } >vec
text ALIGN(0x04) : { *(CODE) } >ram
.dtors ALIGN(0x04) : { *(.dtors) } >ram
.ctors ALIGN(0x04) : { *(.ctors) } >ram
rodata : { *(RODATA) } >ram
data : {*(DATA) } >ram
bss (NOLOAD): {*(BSS)} >ram
___heap = ADDR(bss) + SIZEOF(bss);
___heapend = RAMSTART + RAMSIZE - STACKLEN;
___BSSSTART = ADDR(bss);
___BSSSIZE = SIZEOF(bss);
___STACK = RAMSTART + RAMSIZE;
}