This repository has been archived by the owner on Apr 24, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
lorom.ld
33 lines (30 loc) · 1.5 KB
/
lorom.ld
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
MEMORY {
ZEROPAGE: start = $000000, size = $100;
BSS: start = $000200, size = $1e00;
BSS7E: start = $7e2000, size = $e000;
BSS7F: start = $7f0000, size = $10000;
ROM0: start = $808000, size = $8000, fill = yes;
ROM1: start = $818000, size = $8000, fill = yes;
ROM2: start = $828000, size = $8000, fill = yes;
ROM3: start = $838000, size = $8000, fill = yes;
ROM4: start = $848000, size = $8000, fill = yes;
ROM5: start = $858000, size = $8000, fill = yes;
ROM6: start = $868000, size = $8000, fill = yes;
ROM7: start = $878000, size = $8000, fill = yes;
}
SEGMENTS {
FONT: load = ROM0, type = ro, start = $808000;
CODE: load = ROM0, type = ro, start = $80b000;
HEADER: load = ROM0, type = ro, start = $80ffb0;
ROM1: load = ROM1, type = ro, optional = yes;
ROM2: load = ROM2, type = ro, optional = yes;
ROM3: load = ROM3, type = ro, optional = yes;
ROM4: load = ROM4, type = ro, optional = yes;
ROM5: load = ROM5, type = ro, optional = yes;
ROM6: load = ROM6, type = ro, optional = yes;
ROM7: load = ROM7, type = ro, optional = yes;
ZEROPAGE: load = ZEROPAGE, type = zp, optional = yes;
BSS: load = BSS, type = bss, define = yes, optional = yes;
BSS7E: load = BSS7E, type = bss, define = yes, optional = yes;
BSS7F: load = BSS7F, type = bss, define = yes, optional = yes;
}