/[projet1]/public/oric/hardware/cumulus/fw/fw.lkr
Defence Force logotype

Contents of /public/oric/hardware/cumulus/fw/fw.lkr

Parent Directory Parent Directory | Revision Log Revision Log


Revision 484 - (show annotations)
Sat May 7 15:16:42 2011 UTC (8 years, 10 months ago) by retromaster
File size: 3363 byte(s)
Fixed a critical bug in the UI code that causes problems with WD1793 emulation timings.
Reduced bootloader size by making font support optional.
Added pcb directory with gerber and drill files, and Bills of Materials.
Updated README.
1 // Cumulus 18F46K20 Firmware
2 // Linker Script.
3 // Copyright 2010 Retromaster.
4 //
5 // This file is part of Cumulus Firmware.
6 //
7 // Cumulus Firmware is free software: you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation, either version 3 of the License,
10 // or any later version.
11 //
12 // Cumulus Firmware is distributed in the hope that it will be useful,
13 // but WITHOUT ANY WARRANTY; without even the implied warranty of
14 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with Cumulus Firmware. If not, see <http://www.gnu.org/licenses/>.
19
20
21 #DEFINE _CODEEND _DEBUGCODESTART - 1
22 #DEFINE _CEND _CODEEND + _DEBUGCODELEN
23 #DEFINE _DATAEND _DEBUGDATASTART - 1
24 #DEFINE _DEND _DATAEND + _DEBUGDATALEN
25
26 LIBPATH .
27
28 #IFDEF _CRUNTIME
29 #IFDEF _EXTENDEDMODE
30 FILES c018i_e.o
31 FILES clib_e.lib
32 FILES p18f46k20_e.lib
33
34 #ELSE
35 FILES c018i.o
36 FILES clib.lib
37 FILES p18f46k20.lib
38 #FI
39
40 #FI
41
42 CODEPAGE NAME=boot START=0x0 END=0x0FFF PROTECTED
43 CODEPAGE NAME=vectors START=0x1000 END=0x0x1029
44 #IFDEF _DEBUGCODESTART
45 CODEPAGE NAME=page START=0x0 END=_CODEEND
46 CODEPAGE NAME=debug START=_DEBUGCODESTART END=_CEND PROTECTED
47 #ELSE
48 CODEPAGE NAME=page START=0x2030 END=0xFFFF
49 #FI
50
51 CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED
52 CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED
53 CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED
54 CODEPAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED
55
56 #IFDEF _EXTENDEDMODE
57 DATABANK NAME=gpre START=0x0 END=0x5F
58 #ELSE
59 ACCESSBANK NAME=accessram START=0x0 END=0x5F
60 #FI
61
62 DATABANK NAME=gpr0 START=0x60 END=0xFF
63 DATABANK NAME=gpr1 START=0x100 END=0x1FF
64 DATABANK NAME=gpr2 START=0x200 END=0x2FF
65 DATABANK NAME=gpr3 START=0x300 END=0x3FF
66 DATABANK NAME=big4 START=0x400 END=0x7FF PROTECTED
67 DATABANK NAME=big3 START=0x800 END=0x9FF PROTECTED
68 DATABANK NAME=big2 START=0xA00 END=0xBFF PROTECTED
69 DATABANK NAME=big1 START=0xC00 END=0xDFF PROTECTED
70
71 #IFDEF _DEBUGDATASTART
72 DATABANK NAME=gpr14 START=0xE00 END=_DATAEND
73 DATABANK NAME=dbgspr START=_DEBUGDATASTART END=_DEND PROTECTED
74 #ELSE //no debug
75 DATABANK NAME=gpr14 START=0xE00 END=0xEFF
76 #FI
77
78 DATABANK NAME=gpr15 START=0xF00 END=0xF5F
79 ACCESSBANK NAME=accesssfr START=0xF60 END=0xFFF PROTECTED
80
81 #IFDEF _CRUNTIME
82 SECTION NAME=CONFIG ROM=config
83 #IFDEF _DEBUGDATASTART
84 STACK SIZE=0x100 RAM=gpr13
85 #ELSE
86 STACK SIZE=0x100 RAM=gpr14
87 #FI
88 #FI
89
90 SECTION NAME=sector_buffer_section RAM=big4
91 SECTION NAME=fat32_sector_buffer_section RAM=big1
92 SECTION NAME=ui_data_section RAM=big2
93 SECTION NAME=wd179x_data_section RAM=big3
94

  ViewVC Help
Powered by ViewVC 1.1.26