Mercurial > public > mk2
comparison code_part1/OSTC_code_asm_part1/18f4685_ostc_mkII.lkr @ 174:53b16a746166
Multi-lang
+ Move texts to single compact table.
+ Place at address 0x15000, reserved up to 0x17AFF (10kB)
+ Generate the english_test.asm reference (4kB)
+ Move altimeter texts into the table.
author | JeanDo |
---|---|
date | Thu, 03 Feb 2011 04:09:21 +0100 |
parents | cb055a7d75f3 |
children |
comparison
equal
deleted
inserted
replaced
173:4a7a778d9e49 | 174:53b16a746166 |
---|---|
5 | 5 |
6 LIBPATH . | 6 LIBPATH . |
7 FILES "clib.lib" | 7 FILES "clib.lib" |
8 FILES "p18f4685.lib" | 8 FILES "p18f4685.lib" |
9 | 9 |
10 CODEPAGE NAME=page START=0x0 END=0x17EFF | 10 // General PROM code area |
11 CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED | 11 CODEPAGE NAME=page START=0x0 END=0x14FFF |
12 CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED | 12 |
13 CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED | 13 // Special area reserved for tables. Just to make sure the linker won't |
14 CODEPAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED | 14 // relocate something at the end of the multi-lang text table... |
15 CODEPAGE NAME=tables START=0x15000 END=0x17EFF PROTECTED | |
16 | |
17 // Hardware specific areas: | |
18 CODEPAGE NAME=idlocs START=0x200000 END=0x200007 PROTECTED | |
19 CODEPAGE NAME=config START=0x300000 END=0x30000D PROTECTED | |
20 CODEPAGE NAME=devid START=0x3FFFFE END=0x3FFFFF PROTECTED | |
21 CODEPAGE NAME=eedata START=0xF00000 END=0xF003FF PROTECTED | |
15 | 22 |
16 ACCESSBANK NAME=accessram START=0x0 END=0x5F | 23 ACCESSBANK NAME=accessram START=0x0 END=0x5F |
17 DATABANK NAME=gpr0 START=0x60 END=0xFF | 24 DATABANK NAME=gpr0 START=0x60 END=0xFF |
18 DATABANK NAME=gpr1 START=0x100 END=0x1FF | 25 DATABANK NAME=gpr1 START=0x100 END=0x1FF |
19 DATABANK NAME=gpr2 START=0x200 END=0x2FF | 26 DATABANK NAME=gpr2 START=0x200 END=0x2FF |