
9/11/95
Page 9
Line 18: This line maps memory addresses from 0x0d000 to 0xdffff as reserved. Most
memory space in this region is unused, protected (E86MON utility), or non-existant on
the SD186EM board. Paradigm Debug/RT will catch the error if an application program
attempts to access the addresses defined as reserved.
Line 19: This line defines the PDREM and E86MON memory regions as read-only. As
defined in the
pdrem.cfg
file, PDREM starts at address 0xe0000.
Figure 8 -
sieve.cfg
File for SD186EM Board
Lines 21 to 23 are commented out because the chip select registers have been set by the
E86MON utility.
1
2
3
4
5
6
//
// Configuration file for the Microsoft C/C++ example from
// the Paradigm LOCATE manual. This is about as basic
// as an embedded application can get. Check out the
// other examples for more sophisticated applications.
//
7
8
9
hexfile intel86 // Intel extended hex for EPROMs
absfile axe86 // Optional Paradigm DEBUG support
listfile segments // Segment map for documentation
10
11
12
13
14
//
// Define how the target system address space is
// partitioned. Paradigm LOCATE will check that this
// mapping is followed.
//
15
16
17
18
19
map 0x00000 to 0x00fff as reserved
// PDREMOTE and interrupt vector table
map 0x01000 to 0x06fff as rdonly
// 24K bytes of code
map 0x07000 to 0x0cfff as rdwr
// 24K bytes of data
map 0x0d000 to 0xdffff as reserved
// inaccessible memory
map 0xe0000 to 0xfffff as rdonly
// ROM - EPREM starts at 0xe000
20
cputype i80C186EA // Target CPU is defined here
21
22
23
//
initcode reset
\ // Reset vector
//
umcs = 0xf838
\ // 32KB EPROM
//
lmcs = 0x0ff8
// 64KB RAM
24
25
26
dup DATA ROMDATA // Dup initialized data
dup CONST ROMDATA
dup MSG ROMDATA
27
28
29
class CODE = 0x0100
// Code at 1000h
class DATA = 0x0700
// Data at 7000h
//
class LOCATE = 0xfff0
// 80C186EA chip select code
30
31
32
order DATA CONST MSG \ // RAM class organization
BSS \
STACK
33
34
order CODE \ // EPROM class organization
ROMDATA ENDROMDATA \
35
36
37
output CODE \ // Classes containing code/data
ROMDATA ENDROMDATA \
//
LOCATE