Applerm-II/lpc1114.ld
Takashi Toyoshima dd372c8a2d Ready to implement a 6502 interpreter
All investigation for implementation and testing were done.
Now, 6502.S can be verified on qemu-arm, and run even on LPC1114.
All I have to do is just implement the 6502 interpreter.
2014-12-05 02:43:58 +09:00

38 lines
572 B
Plaintext

MEMORY
{
flash (rx) : ORIGIN = 0x00000000, LENGTH = 32K
sram (rwx) : ORIGIN = 0x10000000, LENGTH = 4K
}
SECTIONS
{
.text : ALIGN(4) {
_vector_start = .;
KEEP(*(.isr_vector))
_vector_end = .;
_text_start = .;
KEEP(*(.text))
_text_end = .;
_rodata_start = .;
KEEP(*(.rodata))
_rodata_end = .;
} > flash
.data : ALIGN(4) {
_data_start = .;
KEEP(*(.data))
_data_end = .;
} > sram AT > flash
.bss : ALIGN(4) {
_bss_start = .;
KEEP(*(.bss))
_bss_end = .;
} > sram
_stack_top = 0x10001000;
}