2009-12-02 04:30:08 +00:00
|
|
|
-c
|
2008-05-16 21:16:01 +00:00
|
|
|
-x
|
2011-02-06 19:28:46 +00:00
|
|
|
-stack 0x200
|
|
|
|
-heap 0x200
|
|
|
|
-l rts500.lib
|
2008-05-16 21:16:01 +00:00
|
|
|
|
|
|
|
MEMORY
|
|
|
|
{
|
|
|
|
PAGE 0:
|
2009-12-02 04:30:08 +00:00
|
|
|
DARAM (RWIX): origin = 80h, length = 7F00h
|
|
|
|
VECS (RIX) : origin = 7F80h, length = 80h
|
|
|
|
|
|
|
|
/* SARAM can be read and written to, but it cannot execute and does not need
|
|
|
|
* to be initialized. */
|
|
|
|
SARAM (RW) : origin = 8000h, length = 4000h
|
2008-05-16 21:16:01 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
SECTIONS
|
|
|
|
{
|
2009-12-02 04:30:08 +00:00
|
|
|
.text > DARAM PAGE 0
|
|
|
|
.cinit > DARAM PAGE 0
|
|
|
|
.switch > DARAM PAGE 0
|
|
|
|
.data > DARAM PAGE 0
|
2008-05-16 21:16:01 +00:00
|
|
|
|
2009-12-02 04:30:08 +00:00
|
|
|
.bss > DARAM PAGE 0
|
|
|
|
.const > DARAM PAGE 0
|
|
|
|
.sysmem > DARAM PAGE 0
|
|
|
|
.stack > DARAM PAGE 0
|
2008-05-16 21:16:01 +00:00
|
|
|
|
2009-12-02 04:30:08 +00:00
|
|
|
.vectors > VECS PAGE 0
|
2008-05-16 21:16:01 +00:00
|
|
|
|
|
|
|
/* DMA buffers for ABU mode must start on a 2*size boundary. */
|
2009-12-02 04:30:08 +00:00
|
|
|
.dma > SARAM PAGE 0
|
2008-05-16 21:16:01 +00:00
|
|
|
}
|
2011-02-06 19:28:46 +00:00
|
|
|
|