FreeCalypso > hg > freecalypso-reveng
annotate compal/c139-boot.disasm @ 102:44db5922ab8f
c139 boot re: entry code analyzed
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Mon, 31 Mar 2014 01:52:56 +0000 |
parents | ec90136f07a6 |
children | 52cec4b71cfe |
rev | line source |
---|---|
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
1 RESET entry and exception vectors: |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
2 0: ea000225 b 0x89c |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
3 4: ea000825 b 0x20a0 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
4 8: ea000825 b 0x20a4 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
5 c: ea000825 b 0x20a8 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
6 10: ea000825 b 0x20ac |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
7 14: ea000825 b 0x20b0 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
8 18: ea000825 b 0x20b4 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
9 1c: ea000825 b 0x20b8 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
10 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
11 ; some magic words? |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
12 20: 444efc57 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
13 24: 444efc58 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
14 28: 444efc86 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
15 2c: 444efc87 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
16 ; different in the C140 specimen: |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
17 20: 44b1b707 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
18 24: 44b1b708 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
19 28: 44b1b735 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
20 2c: 44b1b736 |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
21 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
22 <30-7FF: all FFs> |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
23 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
24 00000800: 42 4F 4F 54 2E 39 30 2E 30 34 00 00 00 00 00 00 BOOT.90.04...... |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
25 00000810: 31 30 30 33 01 01 00 00 FF FF FF FF FF FF FF FF 1003............ |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
26 00000820: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF ................ |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
27 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
28 830: 00000006 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
29 ... |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
30 83c: 00000048 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
31 840: 00000044 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
32 844: 00000052 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
33 848: 0000001b |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
34 84c: 00000005 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
35 ... |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
36 860: 000000fa |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
37 864: ffff5800 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
38 868: ffff5000 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
39 86c: fffffb00 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
40 870: 02a1 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
41 872: 02a1 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
42 874: 02a1 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
43 876: 0283 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
44 878: 0281 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
45 87a: 00c0 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
46 87c: 0040 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
47 87e: 002a |
85
3c420895f68f
compal boot ROM re: minor progress
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
84
diff
changeset
|
48 880: 00000040 |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
49 884: fffffd00 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
50 888: ffff9800 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
51 88c: fffffb10 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
52 890: ffffff08 |
85
3c420895f68f
compal boot ROM re: minor progress
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
84
diff
changeset
|
53 894: 1081 |
3c420895f68f
compal boot ROM re: minor progress
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
84
diff
changeset
|
54 896: 2006 |
3c420895f68f
compal boot ROM re: minor progress
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
84
diff
changeset
|
55 898: 0800 |
3c420895f68f
compal boot ROM re: minor progress
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
84
diff
changeset
|
56 89a: 0000 |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
57 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
58 ; RESET entry point |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
59 ; set VCLKOUT_DIV2 in FFFF:FD02 register |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
60 89c: e51f1020 ldr r1, =0xfffffd00 ; via 0x884 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
61 8a0: e1d120b2 ldrh r2, [r1, #2] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
62 8a4: e51f002c ldr r0, =0x40 ; via 0x880 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
63 8a8: e1800002 orr r0, r0, r2 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
64 8ac: e1c100b2 strh r0, [r1, #2] |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
65 ; PLL disable (power-up state) |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
66 8b0: e51f1030 ldr r1, =0xffff9800 ; via 0x888 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
67 8b4: e15f22b6 ldrh r2, =0x2006 ; via 0x896 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
68 8b8: e1c120b0 strh r2, [r1] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
69 8bc: e5912000 ldr r2, [r1] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
70 8c0: e2022001 and r2, r2, #1 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
71 8c4: e3520001 cmp r2, #1 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
72 8c8: 0afffffb beq 0x8bc |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
73 ; Write power-up default value into FFFF:FD00 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
74 8cc: e51f1050 ldr r1, =0xfffffd00 ; via 0x884 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
75 8d0: e15f24b4 ldrh r2, =0x1081 ; via 0x894 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
76 8d4: e1c120b0 strh r2, [r1] |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
77 ; Disable DU |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
78 8d8: e51f1054 ldr r1, =0xfffffb10 ; via 0x88c |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
79 8dc: e15f24bc ldrh r2, =0x800 ; via 0x898 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
80 8e0: e1d100b0 ldrh r0, [r1] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
81 8e4: e1800002 orr r0, r0, r2 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
82 8e8: e1c100b0 strh r0, [r1] |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
83 ; Disable all MPU regions |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
84 8ec: e51f1064 ldr r1, =0xffffff08 ; via 0x890 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
85 8f0: e15f25be ldrh r2, =0x0 ; via 0x89a |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
86 8f4: e1c120b0 strh r2, [r1] |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
87 ; Memory timings |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
88 8f8: e51f1094 ldr r1, =0xfffffb00 ; via 0x86c |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
89 8fc: e15f29b4 ldrh r2, =0x2a1 ; via 0x870 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
90 900: e1c120b0 strh r2, [r1] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
91 904: e15f29ba ldrh r2, =0x2a1 ; via 0x872 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
92 908: e1c120b2 strh r2, [r1, #2] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
93 90c: e15f2ab0 ldrh r2, =0x2a1 ; via 0x874 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
94 910: e1c120b4 strh r2, [r1, #4] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
95 914: e15f2ab6 ldrh r2, =0x283 ; via 0x876 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
96 918: e1c120b6 strh r2, [r1, #6] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
97 91c: e15f2abc ldrh r2, =0x281 ; via 0x878 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
98 920: e1c120ba strh r2, [r1, #10] ; 0xa |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
99 924: e15f2bb2 ldrh r2, =0xc0 ; via 0x87a |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
100 928: e1c120bc strh r2, [r1, #12] ; 0xc |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
101 92c: e15f2bb8 ldrh r2, =0x40 ; via 0x87c |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
102 930: e1c120b8 strh r2, [r1, #8] |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
103 934: e15f2bbe ldrh r2, =0x2a ; via 0x87e |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
104 938: e1c120be strh r2, [r1, #14] ; 0xe |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
105 ; set up stack |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
106 93c: e59f0020 ldr r0, =0x83e574 ; via 0x964 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
107 940: e3a01b01 mov r1, #1024 ; 0x400 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
108 944: e2411004 sub r1, r1, #4 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
109 948: e0802001 add r2, r0, r1 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
110 94c: e3c22003 bic r2, r2, #3 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
111 950: e1a0d002 mov sp, r2 |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
112 ; business logic |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
113 954: e92d100f stmdb sp!, {r0, r1, r2, r3, r12} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
114 958: eb000534 bl 0x1e30 |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
115 95c: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12} |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
116 960: ea0005e4 b 0x20f8 |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
117 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
118 ; C139 specimen: |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
119 964: 0083e574 |
99
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
120 ; different in the C140 specimen: |
3bd695d9b2b4
C139 boot re: C140 differences noted
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
85
diff
changeset
|
121 964: 0083e55c |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
122 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
123 <968-1E2F: not yet analyzed> |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
124 |
102
44db5922ab8f
c139 boot re: entry code analyzed
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
100
diff
changeset
|
125 ; ARM->Thumb call veneer around 0xad2 routine |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
126 1e30: e92d4000 stmdb sp!, {lr} |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
127 1e34: e28fe001 add lr, pc, #1 ; 0x1 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
128 1e38: e12fff1e bx lr |
100
ec90136f07a6
C139 boot re: use thumbdis
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
99
diff
changeset
|
129 1e3c: f7fe fe49 bl 0xad2 |
84
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
130 1e40: 4778 bx pc |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
131 1e42: 46c0 nop (mov r8, r8) |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
132 1e44: e8bd8000 ldmia sp!, {pc} |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
133 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
134 <1E48-1EFF: all FFs> |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
135 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
136 1f00: 00000001 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
137 |
8b15a0969c9e
beginning of C139 boot ROM re
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
138 <1F04-end: all FFs> |