-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathTemplate.lkf
More file actions
61 lines (42 loc) · 1.02 KB
/
Template.lkf
File metadata and controls
61 lines (42 loc) · 1.02 KB
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Segment configuration
#<BEGIN SEGMENT_CONF>
# Segment Code,Constants:
+seg .const -b 0x8080 -m 0x7f80 -n .const -it
+seg .text -a .const -n .text
# Segment Eeprom:
+seg .eeprom -b 0x4000 -m 0x400 -n .eeprom
# Segment Zero Page:
+seg .bsct -b 0x0 -m 0x100 -n .bsct
+seg .ubsct -a .bsct -n .ubsct
+seg .bit -a .ubsct -n .bit -id
+seg .share -a .bit -n .share -is
# Segment Ram:
+seg .data -b 0x100 -m 0x500 -n .data
+seg .bss -a .data -n .bss
#<END SEGMENT_CONF>
# Startup file
#<BEGIN STARTUP_FILE>
crtsi0.sm8
#<END STARTUP_FILE>
# Object files list
#<BEGIN OBJECT_FILES>
{OBJECTFILES}
#<END OBJECT_FILES>
# Library list
#<BEGIN LIBRARY_FILES>
libis0.sm8
libm0.sm8
#<END LIBRARY_FILES>
# Interrupt vectors file
#<BEGIN VECTOR_FILE>
+seg .const -b 0x8000 -k
result\interrupt_vectors.o
#<END VECTOR_FILE>
# Defines
#<BEGIN DEFINED_VARIABLES>
+def [email protected] # end of uninitialized zpage
+def [email protected] # end of bss segment
+def [email protected]
+def __endmem=0x5ff
+def __stack=0x7ff
#<END DEFINED_VARIABLES>