mirror of
https://github.com/toyoshim/Applerm-II.git
synced 2024-06-12 14:29:27 +00:00
dd372c8a2d
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.
38 lines
572 B
Plaintext
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;
|
|
}
|
|
|