Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1126 | savelij | 1 | cpu pdp-11/94 |
2 | page 0 |
||
3 | |||
4 | ;-------------------- |
||
5 | ; default layout: CPU addresses map 1:1 to physical ones |
||
6 | |||
7 | ;prwins |
||
8 | word phys2cpu(0x0000) |
||
9 | word phys2cpu(0x1000) |
||
10 | word phys2cpu(0x2000) |
||
11 | word phys2cpu(0x3000) |
||
12 | word phys2cpu(0x4000) |
||
13 | word phys2cpu(0x5000) |
||
14 | word phys2cpu(0x6000) |
||
15 | word phys2cpu(0x7000) |
||
16 | word phys2cpu(0x8000) |
||
17 | word phys2cpu(0x9000) |
||
18 | word phys2cpu(0xa000) |
||
19 | word phys2cpu(0xb000) |
||
20 | word phys2cpu(0xc000) |
||
21 | word phys2cpu(0xd000) |
||
22 | word phys2cpu(0xe000) |
||
23 | word phys2cpu(0xf000) |
||
24 | expect 1320 |
||
25 | word phys2cpu(0x10000) |
||
26 | endexpect |
||
27 | |||
28 | ;----------------------- |
||
29 | ; remap APR1: 0x2000...0x27ff -> 0x20000...0x207ff (upward, 2K mapped) |
||
30 | |||
31 | assume par1:0x0800,pdr1:0x1f05 |
||
32 | ;prwins |
||
33 | word phys2cpu(0x20100) |
||
34 | expect 1320 |
||
35 | word phys2cpu(0x20800) ; the first address not mapped |
||
36 | endexpect |
||
37 | |||
38 | ;----------------------- |
||
39 | ; remap APR2: 0x5000...0x5fff -> 0x41000...0x41fff (downward, 4K mapped) |
||
40 | |||
41 | assume par2:0x1000,pdr2:0xc00d |
||
42 | ;prwins |
||
43 | word phys2cpu(0x41800) |
||
44 | expect 1320 |
||
45 | word phys2cpu(0x40800) |
||
46 | endexpect |