FreeCalypso > hg > freecalypso-reveng
annotate compal/sym-fw-disasm @ 408:14302e075f37 default tip
hr-bits: further conditionalize SID-1-diff
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 22 Jul 2024 10:06:38 +0000 |
parents | 37ee46a0dde7 |
children |
rev | line source |
---|---|
282
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 ; This disassembly is an analysis of the boot path up to Init_Target() |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 ; and AI_InitIOConfig() in the special Mot C11x fw version with symbols |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 ; (R87.2.1.03.m0 and R87.2.1.03.map), made in order to look into these |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 ; critical board-specific init functions and in order to better prepare |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 ; ourselves for doing similar analysis on other Compal fw versions |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 ; for which we don't have any symbols. |
390
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
7 ; |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
8 ; 2022 update: we have now also done some disassembly of Compal's buzzer |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
9 ; melody player code, guided by the linker map and symbol table. |
282
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 0: ea000225 b 0x89c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 4: ea000825 b 0x20a0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 8: ea000825 b 0x20a4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 c: ea000825 b 0x20a8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 10: ea000825 b 0x20ac |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 14: ea000825 b 0x20b0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 18: ea000825 b 0x20b4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 1c: ea000825 b 0x20b8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 _INT_Bootloader_Start: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 ; Compal's addition for 26 MHz clock input to Calypso |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 89c: e51f1020 ldr r1, =0xfffffd00 ; via 0x884 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 8a0: e1d120b2 ldrh r2, [r1, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 8a4: e51f002c ldr r0, =0x40 ; via 0x880 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 8a8: e1800002 orr r0, r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 8ac: e1c100b2 strh r0, [r1, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 ; matches TI's version from here |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 8b0: e51f1030 ldr r1, =0xffff9800 ; via 0x888 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 8b4: e15f22b6 ldrh r2, =0x2006 ; via 0x896 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 8b8: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 8bc: e5912000 ldr r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 8c0: e2022001 and r2, r2, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 8c4: e3520001 cmp r2, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 8c8: 0afffffb beq 0x8bc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 8cc: e51f1050 ldr r1, =0xfffffd00 ; via 0x884 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 8d0: e15f24b4 ldrh r2, =0x1081 ; via 0x894 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 8d4: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 8d8: e51f1054 ldr r1, =0xfffffb10 ; via 0x88c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 8dc: e15f24bc ldrh r2, =0x800 ; via 0x898 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 8e0: e1d100b0 ldrh r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 8e4: e1800002 orr r0, r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 8e8: e1c100b0 strh r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 8ec: e51f1064 ldr r1, =0xffffff08 ; via 0x890 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 8f0: e15f25be ldrh r2, =0x0 ; via 0x89a |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 8f4: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 8f8: e51f1094 ldr r1, =0xfffffb00 ; via 0x86c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 8fc: e15f29b4 ldrh r2, =0x2a1 ; via 0x870 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 900: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 904: e15f29ba ldrh r2, =0x2a1 ; via 0x872 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 908: e1c120b2 strh r2, [r1, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 90c: e15f2ab0 ldrh r2, =0x2a1 ; via 0x874 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 910: e1c120b4 strh r2, [r1, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 914: e15f2ab6 ldrh r2, =0x283 ; via 0x876 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 918: e1c120b6 strh r2, [r1, #6] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 91c: e15f2abc ldrh r2, =0x281 ; via 0x878 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 920: e1c120ba strh r2, [r1, #10] ; 0xa |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 924: e15f2bb2 ldrh r2, =0xc0 ; via 0x87a |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 928: e1c120bc strh r2, [r1, #12] ; 0xc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 92c: e15f2bb8 ldrh r2, =0x40 ; via 0x87c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 930: e1c120b8 strh r2, [r1, #8] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 934: e15f2bbe ldrh r2, =0x2a ; via 0x87e |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 938: e1c120be strh r2, [r1, #14] ; 0xe |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 93c: e59f0020 ldr r0, =0x83e730 ; via 0x964 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 940: e3a01b01 mov r1, #1024 ; 0x400 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 944: e2411004 sub r1, r1, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 948: e0802001 add r2, r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 94c: e3c22003 bic r2, r2, #3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 950: e1a0d002 mov sp, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 954: e92d100f stmdb sp!, {r0, r1, r2, r3, r12} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 958: eb00051e bl 0x1dd8 ; _sta_select_application |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 95c: e8bd100f ldmia sp!, {r0, r1, r2, r3, r12} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 960: ea0005e4 b 0x20f8 ; _INT_Initialize |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 _INT_Initialize: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 ; beginning matches TI's version |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 20f8: e51f1024 ldr r1, =0xffff9800 ; via 0x20dc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 20fc: e15f21ba ldrh r2, =0x2002 ; via 0x20ea |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 2100: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 2104: e5912000 ldr r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 2108: e2022001 and r2, r2, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 210c: e3520001 cmp r2, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 2110: 0afffffb beq 0x2104 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 2114: e51f1044 ldr r1, =0xfffffd00 ; via 0x20d8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 2118: e15f23b8 ldrh r2, =0x1081 ; via 0x20e8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 211c: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 2120: e51f1048 ldr r1, =0xfffffb10 ; via 0x20e0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 2124: e15f23be ldrh r2, =0xf7ff ; via 0x20ee |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 2128: e1d100b0 ldrh r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 212c: e0000002 and r0, r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 2130: e1c100b0 strh r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 2134: e51f1058 ldr r1, =0xffffff08 ; via 0x20e4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 2138: e15f25b0 ldrh r2, =0x0 ; via 0x20f0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 213c: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 2140: e51f107c ldr r1, =0xfffffb00 ; via 0x20cc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 2144: e15f29b0 ldrh r2, =0x2a1 ; via 0x20bc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 2148: e1c120b0 strh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 214c: e15f29b6 ldrh r2, =0x2a1 ; via 0x20be |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 2150: e1c120b2 strh r2, [r1, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 2154: e15f29bc ldrh r2, =0x2a1 ; via 0x20c0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 2158: e1c120b4 strh r2, [r1, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 215c: e15f2ab2 ldrh r2, =0x283 ; via 0x20c2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 2160: e1c120b6 strh r2, [r1, #6] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 2164: e15f2ab8 ldrh r2, =0xe85 ; via 0x20c4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 2168: e1c120ba strh r2, [r1, #10] ; 0xa |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 216c: e15f2abe ldrh r2, =0x2c0 ; via 0x20c6 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 2170: e1c120bc strh r2, [r1, #12] ; 0xc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 2174: e15f2bb4 ldrh r2, =0x40 ; via 0x20c8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 2178: e1c120b8 strh r2, [r1, #8] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 217c: e15f2bba ldrh r2, =0x2a ; via 0x20ca |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 2180: e1c120be strh r2, [r1, #14] ; 0xe |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 2184: e51f10bc ldr r1, =0xfffef006 ; via 0x20d0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 2188: e1d120b0 ldrh r2, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 218c: e51f00c0 ldr r0, =0x8 ; via 0x20d4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 2190: e1800002 orr r0, r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 2194: e1c100b0 strh r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 2198: e10f0000 mrs r0, CPSR |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 219c: e3c0001f bic r0, r0, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 21a0: e3800013 orr r0, r0, #19 ; 0x13 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 21a4: e38000c0 orr r0, r0, #192 ; 0xc0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 21a8: e129f000 msr CPSR_fc, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 ; diff from TI: Compal's full RAM clearing |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 21ac: e3a00502 mov r0, #8388608 ; 0x800000 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 21b0: e3a02000 mov r2, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 21b4: e3a01721 mov r1, #8650752 ; 0x840000 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 21b8: e2411080 sub r1, r1, #128 ; 0x80 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 21bc: e4802004 str r2, [r0], #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 21c0: e1500001 cmp r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 21c4: 1afffffc bne 0x21bc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 21c8: e3a00401 mov r0, #16777216 ; 0x1000000 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 21cc: e3a02000 mov r2, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 21d0: e3a01741 mov r1, #17039360 ; 0x1040000 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 21d4: e2411080 sub r1, r1, #128 ; 0x80 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 21d8: e4802004 str r2, [r0], #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 21dc: e1500001 cmp r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 21e0: 1afffffc bne 0x21d8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 ; TI's code continues with INT_Loaded_Flag setting |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 21e4: e3a00001 mov r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 21e8: e59f12c8 ldr r1, =0x83e6f4 ; via 0x24b8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 21ec: e5810000 str r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 21f0: e59f02bc ldr r0, =0x83e818 ; via 0x24b4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 21f4: e3a01b01 mov r1, #1024 ; 0x400 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 21f8: e2411004 sub r1, r1, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 21fc: e0802001 add r2, r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 2200: e1a0a000 mov r10, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 2204: e59f32b0 ldr r3, =0x83e6dc ; via 0x24bc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 2208: e583a000 str r10, [r3] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 220c: e1a0d002 mov sp, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 2210: e59f32a8 ldr r3, =0x834920 ; via 0x24c0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 2214: e583d000 str sp, [r3] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 2218: e3a01080 mov r1, #128 ; 0x80 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 221c: e0822001 add r2, r2, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 2220: e10f0000 mrs r0, CPSR |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 2224: e3c0001f bic r0, r0, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 2228: e3800012 orr r0, r0, #18 ; 0x12 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 222c: e129f000 msr CPSR_fc, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 2230: e1a0d002 mov sp, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 2234: e3a01c02 mov r1, #512 ; 0x200 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 2238: e0822001 add r2, r2, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 223c: e10f0000 mrs r0, CPSR |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 2240: e3c0001f bic r0, r0, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 2244: e3800011 orr r0, r0, #17 ; 0x11 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 2248: e129f000 msr CPSR_fc, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 224c: e1a0d002 mov sp, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 2250: e10f0000 mrs r0, CPSR |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 2254: e3c0001f bic r0, r0, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 2258: e3800017 orr r0, r0, #23 ; 0x17 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 225c: e129f000 msr CPSR_fc, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 2260: e59fd268 ldr sp, =0x83e780 ; via 0x24d0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 2264: e10f0000 mrs r0, CPSR |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 2268: e3c0001f bic r0, r0, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 226c: e380001b orr r0, r0, #27 ; 0x1b |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 2270: e129f000 msr CPSR_fc, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
173 2274: e59fd254 ldr sp, =0x83e780 ; via 0x24d0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
174 2278: e10f0000 mrs r0, CPSR |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 227c: e3c0001f bic r0, r0, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 2280: e3800013 orr r0, r0, #19 ; 0x13 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 2284: e129f000 msr CPSR_fc, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 2288: e59f3234 ldr r3, =0x83cfd8 ; via 0x24c4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 228c: e2822004 add r2, r2, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 2290: e5832000 str r2, [r3] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 2294: e3a01b01 mov r1, #1024 ; 0x400 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 2298: e3c11003 bic r1, r1, #3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 229c: e0822001 add r2, r2, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 22a0: e59f3220 ldr r3, =0x83d05c ; via 0x24c8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 22a4: e5831000 str r1, [r3] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 22a8: e3a01002 mov r1, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 22ac: e59f3218 ldr r3, =0x83d06c ; via 0x24cc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 22b0: e5831000 str r1, [r3] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 22b4: e1a04002 mov r4, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 22b8: eb061cb4 bl 0x189590 ; _f_load_int_mem |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 22bc: e1a02004 mov r2, r4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
192 22c0: e59f11f4 ldr r1, =0x83e6dc ; via 0x24bc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
193 22c4: e5910000 ldr r0, [r1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
194 22c8: e3a030fe mov r3, #254 ; 0xfe |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
195 22cc: e5c03000 strb r3, [r0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
196 22d0: e5c03001 strb r3, [r0, #1] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
197 22d4: e5c03002 strb r3, [r0, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
198 22d8: e5c03003 strb r3, [r0, #3] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
199 22dc: e4903004 ldr r3, [r0], #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
200 22e0: e4803004 str r3, [r0], #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
201 22e4: e1500002 cmp r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
202 22e8: bafffffc blt 0x22e0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
203 22ec: e51f0200 ldr r0, =0x280c ; via 0x20f4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
204 22f0: e3700001 cmn r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
205 22f4: 1b000077 blne 0x24d8 ; _auto_init |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
206 22f8: e1a00002 mov r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
207 22fc: ea061cdf b 0x189680 ; _INC_Initialize |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
208 |
390
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
209 ; Compal-original buz.obj .text section |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
210 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
211 $PWT_BZ_set: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
212 16dba8: 49de ldr r1, =0xfffef008 ; via 0x16df24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
213 16dbaa: 2020 mov r0, #32 ; 0x20 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
214 16dbac: 880a ldrh r2, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
215 16dbae: 4310 orr r0, r2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
216 16dbb0: 8008 strh r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
217 16dbb2: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
218 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
219 $PWT_BZ_reset: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
220 16dbb4: 49db ldr r1, =0xfffef008 ; via 0x16df24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
221 16dbb6: 48dc ldr r0, =0xffdf ; via 0x16df28 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
222 16dbb8: 880a ldrh r2, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
223 16dbba: 4010 and r0, r2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
224 16dbbc: 8008 strh r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
225 16dbbe: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
226 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
227 $lmi_buzzer_on: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
228 16dbc0: b510 push {r4, lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
229 16dbc2: 4bda ldr r3, =0xfffe8802 ; via 0x16df2c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
230 16dbc4: 2201 mov r2, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
231 16dbc6: 781c ldrb r4, [r3, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
232 16dbc8: 4322 orr r2, r4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
233 16dbca: 701a strb r2, [r3, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
234 16dbcc: 4ad8 ldr r2, =0xfffe8800 ; via 0x16df30 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
235 16dbce: 7010 strb r0, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
236 16dbd0: 2001 mov r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
237 16dbd2: 0049 lsl r1, r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
238 16dbd4: 4308 orr r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
239 16dbd6: 7050 strb r0, [r2, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
240 16dbd8: bd10 pop {r4, pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
241 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
242 $lmi_buzzer_off: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
243 16dbda: 48d6 ldr r0, =0xfffe8801 ; via 0x16df34 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
244 16dbdc: 7841 ldrb r1, [r0, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
245 16dbde: 0849 lsr r1, r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
246 16dbe0: d305 bcc 0x16dbee |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
247 16dbe2: 2100 mov r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
248 16dbe4: 7001 strb r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
249 16dbe6: 21fe mov r1, #254 ; 0xfe |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
250 16dbe8: 7842 ldrb r2, [r0, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
251 16dbea: 4011 and r1, r2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
252 16dbec: 7041 strb r1, [r0, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
253 16dbee: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
254 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
255 $pick_tempo_shift: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
256 16dbf0: 1e80 sub r0, r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
257 16dbf2: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
258 16dbf4: d012 beq 0x16dc1c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
259 16dbf6: 3801 sub r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
260 16dbf8: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
261 16dbfa: d00d beq 0x16dc18 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
262 16dbfc: 3803 sub r0, #3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
263 16dbfe: 2802 cmp r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
264 16dc00: d90a bls 0x16dc18 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
265 16dc02: 3806 sub r0, #6 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
266 16dc04: 2801 cmp r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
267 16dc06: d907 bls 0x16dc18 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
268 16dc08: 3803 sub r0, #3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
269 16dc0a: 2802 cmp r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
270 16dc0c: d904 bls 0x16dc18 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
271 16dc0e: 3804 sub r0, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
272 16dc10: 2801 cmp r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
273 16dc12: d901 bls 0x16dc18 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
274 16dc14: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
275 16dc16: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
276 16dc18: 2001 mov r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
277 16dc1a: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
278 16dc1c: 2002 mov r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
279 16dc1e: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
280 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
281 $pick_freq_shift: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
282 16dc20: 1e40 sub r0, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
283 16dc22: 2813 cmp r0, #19 ; 0x13 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
284 16dc24: d903 bls 0x16dc2e |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
285 16dc26: 3825 sub r0, #37 ; 0x25 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
286 16dc28: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
287 16dc2a: d02f beq 0x16dc8c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
288 16dc2c: e02c b 0x16dc88 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
289 16dc2e: a102 add r1, pc, #8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
290 16dc30: 0080 lsl r0, r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
291 16dc32: 5808 ldr r0, [r1, r0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
292 16dc34: 4687 mov pc, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
293 16dc36: 46c0 nop (mov r8, r8) |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
294 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
295 16dc38: 0016dca8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
296 16dc3c: 0016dca4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
297 16dc40: 0016dca0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
298 16dc44: 0016dca8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
299 16dc48: 0016dc9c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
300 16dc4c: 0016dca8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
301 16dc50: 0016dc88 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
302 16dc54: 0016dca8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
303 16dc58: 0016dc98 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
304 16dc5c: 0016dc98 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
305 16dc60: 0016dc90 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
306 16dc64: 0016dc90 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
307 16dc68: 0016dc9c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
308 16dc6c: 0016dc9c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
309 16dc70: 0016dc88 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
310 16dc74: 0016dc98 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
311 16dc78: 0016dca8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
312 16dc7c: 0016dc88 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
313 16dc80: 0016dc94 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
314 16dc84: 0016dc90 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
315 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
316 16dc88: 2100 mov r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
317 16dc8a: e00f b 0x16dcac |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
318 16dc8c: 2101 mov r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
319 16dc8e: e00d b 0x16dcac |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
320 16dc90: 2103 mov r1, #3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
321 16dc92: e00a b 0x16dcaa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
322 16dc94: 2106 mov r1, #6 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
323 16dc96: e008 b 0x16dcaa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
324 16dc98: 2101 mov r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
325 16dc9a: e006 b 0x16dcaa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
326 16dc9c: 2102 mov r1, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
327 16dc9e: e004 b 0x16dcaa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
328 16dca0: 2105 mov r1, #5 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
329 16dca2: e002 b 0x16dcaa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
330 16dca4: 2108 mov r1, #8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
331 16dca6: e000 b 0x16dcaa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
332 16dca8: 2104 mov r1, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
333 16dcaa: 43c9 mvn r1, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
334 16dcac: 48a2 ldr r0, =0x83e408 ; _freq_shift |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
335 16dcae: 6001 str r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
336 16dcb0: 2100 mov r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
337 16dcb2: 5e40 ldrsh r0, [r0, r1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
338 16dcb4: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
339 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
340 $lmi_custom_tone_req_ring: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
341 16dcb6: b5f0 push {r4, r5, r6, r7, lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
342 16dcb8: 1c04 add r4, r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
343 16dcba: 4da0 ldr r5, =0x83e414 ; _lmi_audio_control |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
344 16dcbc: 2005 mov r0, #5 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
345 16dcbe: 7028 strb r0, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
346 16dcc0: 2c25 cmp r4, #37 ; 0x25 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
347 16dcc2: d001 beq 0x16dcc8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
348 16dcc4: 2c26 cmp r4, #38 ; 0x26 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
349 16dcc6: d101 bne 0x16dccc |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
350 16dcc8: 2004 mov r0, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
351 16dcca: 7028 strb r0, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
352 16dccc: 2600 mov r6, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
353 16dcce: 706e strb r6, [r5, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
354 16dcd0: 2c01 cmp r4, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
355 16dcd2: d101 bne 0x16dcd8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
356 16dcd4: 489a ldr r0, =0x34ab4 ; _custom_tone_volume_table_1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
357 16dcd6: e008 b 0x16dcea |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
358 16dcd8: 2c02 cmp r4, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
359 16dcda: d003 beq 0x16dce4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
360 16dcdc: 2c0b cmp r4, #11 ; 0xb |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
361 16dcde: d001 beq 0x16dce4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
362 16dce0: 2c09 cmp r4, #9 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
363 16dce2: d101 bne 0x16dce8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
364 16dce4: 4897 ldr r0, =0x34abc ; _custom_tone_volume_table_2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
365 16dce6: e000 b 0x16dcea |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
366 16dce8: 4897 ldr r0, =0x34aac ; _custom_tone_volume_table |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
367 16dcea: 5c40 ldrb r0, [r0, r1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
368 16dcec: 70a8 strb r0, [r5, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
369 16dcee: 70ea strb r2, [r5, #3] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
370 16dcf0: 2701 mov r7, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
371 16dcf2: 712f strb r7, [r5, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
372 16dcf4: 80ee strh r6, [r5, #6] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
373 16dcf6: f018 faeb bl 0x1862d0 ; $mmiGetRingTone |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
374 16dcfa: 2c00 cmp r4, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
375 16dcfc: dd1d ble 0x16dd3a |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
376 16dcfe: 2c2a cmp r4, #42 ; 0x2a |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
377 16dd00: dc1b bgt 0x16dd3a |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
378 16dd02: 0121 lsl r1, r4, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
379 16dd04: 1841 add r1, r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
380 16dd06: 4a91 ldr r2, =0x83e40c ; _lmi_playing_tone |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
381 16dd08: 1c08 add r0, r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
382 16dd0a: 3810 sub r0, #16 ; 0x10 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
383 16dd0c: 6800 ldr r0, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
384 16dd0e: 6010 str r0, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
385 16dd10: 200c mov r0, #12 ; 0xc |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
386 16dd12: 1a08 sub r0, r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
387 16dd14: 498e ldr r1, =0x83e410 ; _freq_component |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
388 16dd16: 7802 ldrb r2, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
389 16dd18: 700a strb r2, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
390 16dd1a: 498e ldr r1, =0x83e411 ; _style_infor |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
391 16dd1c: 700f strb r7, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
392 16dd1e: 2c2a cmp r4, #42 ; 0x2a |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
393 16dd20: db02 blt 0x16dd28 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
394 16dd22: 4885 ldr r0, =0x83e408 ; _freq_shift |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
395 16dd24: 6006 str r6, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
396 16dd26: e006 b 0x16dd36 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
397 16dd28: 4a83 ldr r2, =0x83e408 ; _freq_shift |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
398 16dd2a: 6841 ldr r1, [r0, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
399 16dd2c: 6011 str r1, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
400 16dd2e: 6880 ldr r0, [r0, #8] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
401 16dd30: 7829 ldrb r1, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
402 16dd32: 1840 add r0, r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
403 16dd34: 7028 strb r0, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
404 16dd36: 4888 ldr r0, =0x83e404 ; _lmi_play_state |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
405 16dd38: 7007 strb r7, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
406 16dd3a: bdf0 pop {r4, r5, r6, r7, pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
407 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
408 $lmi_custom_tone_req: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
409 16dd3c: b530 push {r4, r5, lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
410 16dd3e: 4c7f ldr r4, =0x83e414 ; _lmi_audio_control |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
411 16dd40: 2505 mov r5, #5 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
412 16dd42: 7025 strb r5, [r4, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
413 16dd44: 2500 mov r5, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
414 16dd46: 7065 strb r5, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
415 16dd48: 4d7f ldr r5, =0x34aac ; _custom_tone_volume_table |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
416 16dd4a: 5c69 ldrb r1, [r5, r1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
417 16dd4c: 70a1 strb r1, [r4, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
418 16dd4e: 70e2 strb r2, [r4, #3] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
419 16dd50: 2101 mov r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
420 16dd52: 7121 strb r1, [r4, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
421 16dd54: 2200 mov r2, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
422 16dd56: 80e2 strh r2, [r4, #6] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
423 16dd58: 4a7e ldr r2, =0x83e411 ; _style_infor |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
424 16dd5a: 7011 strb r1, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
425 16dd5c: 4a7b ldr r2, =0x83e40c ; _lmi_playing_tone |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
426 16dd5e: 6010 str r0, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
427 16dd60: 487b ldr r0, =0x83e410 ; _freq_component |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
428 16dd62: 7003 strb r3, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
429 16dd64: 4874 ldr r0, =0x83e408 ; _freq_shift |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
430 16dd66: 2200 mov r2, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
431 16dd68: 6002 str r2, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
432 16dd6a: 487b ldr r0, =0x83e404 ; _lmi_play_state |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
433 16dd6c: 7001 strb r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
434 16dd6e: bd30 pop {r4, r5, pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
435 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
436 $DM_buzzer_ringtone_control: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
437 16dd70: b500 push {lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
438 16dd72: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
439 16dd74: d107 bne 0x16dd86 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
440 16dd76: f7ff ff30 bl 0x16dbda ; $lmi_buzzer_off |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
441 16dd7a: f7ff ff1b bl 0x16dbb4 ; $PWT_BZ_reset |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
442 16dd7e: 4976 ldr r1, =0x83e404 ; _lmi_play_state |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
443 16dd80: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
444 16dd82: 7008 strb r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
445 16dd84: bd00 pop {pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
446 16dd86: 1c10 add r0, r2, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
447 16dd88: 1c1a add r2, r3, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
448 16dd8a: f7ff ff94 bl 0x16dcb6 ; $lmi_custom_tone_req_ring |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
449 16dd8e: f7ff ff0b bl 0x16dba8 ; $PWT_BZ_set |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
450 16dd92: bd00 pop {pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
451 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
452 $DM_buzzer_control: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
453 16dd94: b590 push {r4, r7, lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
454 16dd96: af03 add r7, sp, #12 ; 0xc |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
455 16dd98: 1c1c add r4, r3, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
456 16dd9a: 783b ldrb r3, [r7, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
457 16dd9c: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
458 16dd9e: d107 bne 0x16ddb0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
459 16dda0: f7ff ff1b bl 0x16dbda ; $lmi_buzzer_off |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
460 16dda4: f7ff ff06 bl 0x16dbb4 ; $PWT_BZ_reset |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
461 16dda8: 496b ldr r1, =0x83e404 ; _lmi_play_state |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
462 16ddaa: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
463 16ddac: 7008 strb r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
464 16ddae: bd90 pop {r4, r7, pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
465 16ddb0: 1c10 add r0, r2, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
466 16ddb2: 1c22 add r2, r4, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
467 16ddb4: f7ff ffc2 bl 0x16dd3c ; $lmi_custom_tone_req |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
468 16ddb8: f7ff fef6 bl 0x16dba8 ; $PWT_BZ_set |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
469 16ddbc: bd90 pop {r4, r7, pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
470 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
471 $BZ_status: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
472 16ddbe: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
473 16ddc0: 4965 ldr r1, =0x83e404 ; _lmi_play_state |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
474 16ddc2: 7809 ldrb r1, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
475 16ddc4: 2900 cmp r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
476 16ddc6: d000 beq 0x16ddca |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
477 16ddc8: 2001 mov r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
478 16ddca: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
479 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
480 $lmi_custom_tone_handler: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
481 16ddcc: b570 push {r4, r5, r6, lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
482 16ddce: b094 sub sp, #80 ; 0x50 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
483 16ddd0: 4d61 ldr r5, =0x83e404 ; _lmi_play_state |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
484 16ddd2: 7828 ldrb r0, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
485 16ddd4: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
486 16ddd6: d100 bne 0x16ddda |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
487 16ddd8: e099 b 0x16df0e |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
488 16ddda: 485c ldr r0, =0x83e40c ; _lmi_playing_tone |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
489 16dddc: 6801 ldr r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
490 16ddde: 4c57 ldr r4, =0x83e414 ; _lmi_audio_control |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
491 16dde0: 7860 ldrb r0, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
492 16dde2: 0080 lsl r0, r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
493 16dde4: 180e add r6, r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
494 16dde6: 7920 ldrb r0, [r4, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
495 16dde8: 1e40 sub r0, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
496 16ddea: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
497 16ddec: d053 beq 0x16de96 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
498 16ddee: 3801 sub r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
499 16ddf0: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
500 16ddf2: d035 beq 0x16de60 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
501 16ddf4: 3801 sub r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
502 16ddf6: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
503 16ddf8: d15b bne 0x16deb2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
504 16ddfa: 2006 mov r0, #6 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
505 16ddfc: 5f00 ldrsh r0, [r0, r4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
506 16ddfe: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
507 16de00: dc44 bgt 0x16de8c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
508 16de02: 7860 ldrb r0, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
509 16de04: 3001 add r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
510 16de06: 7060 strb r0, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
511 16de08: 7860 ldrb r0, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
512 16de0a: 0080 lsl r0, r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
513 16de0c: 180d add r5, r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
514 16de0e: 8868 ldrh r0, [r5, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
515 16de10: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
516 16de12: d10f bne 0x16de34 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
517 16de14: 7861 ldrb r1, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
518 16de16: 484e ldr r0, =0x83e410 ; _freq_component |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
519 16de18: 7800 ldrb r0, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
520 16de1a: 3801 sub r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
521 16de1c: 4281 cmp r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
522 16de1e: da04 bge 0x16de2a |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
523 16de20: 4944 ldr r1, =0xfffe8801 ; via 0x16df34 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
524 16de22: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
525 16de24: 7008 strb r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
526 16de26: 2003 mov r0, #3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
527 16de28: e015 b 0x16de56 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
528 16de2a: 2001 mov r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
529 16de2c: 7120 strb r0, [r4, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
530 16de2e: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
531 16de30: 7060 strb r0, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
532 16de32: e011 b 0x16de58 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
533 16de34: 4840 ldr r0, =0x83e408 ; _freq_shift |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
534 16de36: 8801 ldrh r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
535 16de38: 8868 ldrh r0, [r5, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
536 16de3a: 1808 add r0, r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
537 16de3c: 0400 lsl r0, r0, #16 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
538 16de3e: 0c00 lsr r0, r0, #16 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
539 16de40: 0040 lsl r0, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
540 16de42: 4946 ldr r1, =0x34ac4 ; _l1_tone_table |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
541 16de44: 5c08 ldrb r0, [r1, r0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
542 16de46: 78a1 ldrb r1, [r4, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
543 16de48: 786a ldrb r2, [r5, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
544 16de4a: 1889 add r1, r1, r2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
545 16de4c: 0609 lsl r1, r1, #24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
546 16de4e: 0e09 lsr r1, r1, #24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
547 16de50: f7ff feb6 bl 0x16dbc0 ; $lmi_buzzer_on |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
548 16de54: 2002 mov r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
549 16de56: 7120 strb r0, [r4, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
550 16de58: 7828 ldrb r0, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
551 16de5a: 7821 ldrb r1, [r4, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
552 16de5c: 4348 mul r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
553 16de5e: e018 b 0x16de92 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
554 16de60: 2006 mov r0, #6 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
555 16de62: 5f00 ldrsh r0, [r0, r4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
556 16de64: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
557 16de66: dc11 bgt 0x16de8c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
558 16de68: 2100 mov r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
559 16de6a: 4832 ldr r0, =0xfffe8801 ; via 0x16df34 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
560 16de6c: 7001 strb r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
561 16de6e: 7862 ldrb r2, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
562 16de70: 4837 ldr r0, =0x83e410 ; _freq_component |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
563 16de72: 7800 ldrb r0, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
564 16de74: 3801 sub r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
565 16de76: 4282 cmp r2, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
566 16de78: db02 blt 0x16de80 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
567 16de7a: 2001 mov r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
568 16de7c: 7061 strb r1, [r4, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
569 16de7e: e003 b 0x16de88 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
570 16de80: 4834 ldr r0, =0x83e411 ; _style_infor |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
571 16de82: 7800 ldrb r0, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
572 16de84: 80e0 strh r0, [r4, #6] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
573 16de86: 2003 mov r0, #3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
574 16de88: 7120 strb r0, [r4, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
575 16de8a: e040 b 0x16df0e |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
576 16de8c: 2006 mov r0, #6 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
577 16de8e: 5f00 ldrsh r0, [r0, r4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
578 16de90: 3801 sub r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
579 16de92: 80e0 strh r0, [r4, #6] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
580 16de94: e03b b 0x16df0e |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
581 16de96: 4668 mov r0, sp |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
582 16de98: a11e add r1, pc, #120 ; 0x78 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
583 16de9a: f01a f9e7 bl 0x18826c ; $sprintf |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
584 16de9e: 4668 mov r0, sp |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
585 16dea0: f751 fd90 bl 0xbf9c4 ; $L1_send_debug |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
586 16dea4: 78e0 ldrb r0, [r4, #3] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
587 16dea6: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
588 16dea8: d003 beq 0x16deb2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
589 16deaa: 4829 ldr r0, =0x83e410 ; _freq_component |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
590 16deac: 7800 ldrb r0, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
591 16deae: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
592 16deb0: d106 bne 0x16dec0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
593 16deb2: f7ff fe92 bl 0x16dbda ; $lmi_buzzer_off |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
594 16deb6: f7ff fe7d bl 0x16dbb4 ; $PWT_BZ_reset |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
595 16deba: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
596 16debc: 7028 strb r0, [r5, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
597 16debe: e026 b 0x16df0e |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
598 16dec0: 8870 ldrh r0, [r6, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
599 16dec2: 2800 cmp r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
600 16dec4: d109 bne 0x16deda |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
601 16dec6: 481b ldr r0, =0xfffe8801 ; via 0x16df34 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
602 16dec8: 1c42 add r2, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
603 16deca: 2101 mov r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
604 16decc: 7813 ldrb r3, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
605 16dece: 4319 orr r1, r3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
606 16ded0: 7011 strb r1, [r2, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
607 16ded2: 2100 mov r1, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
608 16ded4: 7001 strb r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
609 16ded6: 2003 mov r0, #3 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
610 16ded8: e00f b 0x16defa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
611 16deda: 4917 ldr r1, =0x83e408 ; _freq_shift |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
612 16dedc: 8809 ldrh r1, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
613 16dede: 1840 add r0, r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
614 16dee0: 0400 lsl r0, r0, #16 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
615 16dee2: 0c00 lsr r0, r0, #16 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
616 16dee4: 0040 lsl r0, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
617 16dee6: 491d ldr r1, =0x34ac4 ; _l1_tone_table |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
618 16dee8: 5c08 ldrb r0, [r1, r0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
619 16deea: 78a1 ldrb r1, [r4, #2] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
620 16deec: 7872 ldrb r2, [r6, #1] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
621 16deee: 1889 add r1, r1, r2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
622 16def0: 0609 lsl r1, r1, #24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
623 16def2: 0e09 lsr r1, r1, #24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
624 16def4: f7ff fe64 bl 0x16dbc0 ; $lmi_buzzer_on |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
625 16def8: 2002 mov r0, #2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
626 16defa: 7120 strb r0, [r4, #4] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
627 16defc: 7830 ldrb r0, [r6, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
628 16defe: 7821 ldrb r1, [r4, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
629 16df00: 4348 mul r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
630 16df02: 80e0 strh r0, [r4, #6] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
631 16df04: 78e0 ldrb r0, [r4, #3] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
632 16df06: 28ff cmp r0, #255 ; 0xff |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
633 16df08: d001 beq 0x16df0e |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
634 16df0a: 1e40 sub r0, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
635 16df0c: 70e0 strb r0, [r4, #3] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
636 16df0e: b014 add sp, #80 ; 0x50 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
637 16df10: bd70 pop {r4, r5, r6, pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
638 16df12: 46c0 nop (mov r8, r8) |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
639 |
282
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
640 $Init_Target: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
641 17ba8c: b530 push {r4, r5, lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
642 17ba8e: b081 sub sp, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
643 17ba90: 496e ldr r1, =0xfffef008 ; via 0x17bc4c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
644 17ba92: 2003 mov r0, #3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
645 17ba94: 0340 lsl r0, r0, #13 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
646 17ba96: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
647 17ba98: f006 f860 bl 0x181b5c ; $TM_DisableWatchdog |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
648 17ba9c: 486c ldr r0, =0xfffffd02 ; via 0x17bc50 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
649 17ba9e: 2105 mov r1, #5 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
650 17baa0: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
651 17baa2: 2180 mov r1, #128 ; 0x80 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
652 17baa4: 8802 ldrh r2, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
653 17baa6: 4311 orr r1, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
654 17baa8: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
655 17baaa: 496a ldr r1, =0xffdf ; via 0x17bc54 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
656 17baac: 8802 ldrh r2, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
657 17baae: 4011 and r1, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
658 17bab0: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
659 17bab2: 4d69 ldr r5, =0xfffff900 ; via 0x17bc58 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
660 17bab4: 20ff mov r0, #255 ; 0xff |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
661 17bab6: 0200 lsl r0, r0, #8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
662 17bab8: 8028 strh r0, [r5, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
663 17baba: 4c68 ldr r4, =0xffff9800 ; via 0x17bc5c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
664 17babc: 4868 ldr r0, =0xfff3 ; via 0x17bc60 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
665 17babe: 8821 ldrh r1, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
666 17bac0: 4008 and r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
667 17bac2: 8020 strh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
668 17bac4: 8820 ldrh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
669 17bac6: 8020 strh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
670 17bac8: 4866 ldr r0, =0xf01f ; via 0x17bc64 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
671 17baca: 8821 ldrh r1, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
672 17bacc: 4008 and r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
673 17bace: 8020 strh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
674 17bad0: 2001 mov r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
675 17bad2: 0280 lsl r0, r0, #10 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
676 17bad4: 8821 ldrh r1, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
677 17bad6: 4308 orr r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
678 17bad8: 8020 strh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
679 17bada: 2000 mov r0, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
680 17badc: 2102 mov r1, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
681 17bade: 2200 mov r2, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
682 17bae0: f006 fd30 bl 0x182544 ; $CLKM_InitARMClock |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
683 17bae4: 4860 ldr r0, =0xfffffb00 ; via 0x17bc68 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
684 17bae6: 21a3 mov r1, #163 ; 0xa3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
685 17bae8: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
686 17baea: 8041 strh r1, [r0, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
687 17baec: 22a5 mov r2, #165 ; 0xa5 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
688 17baee: 8082 strh r2, [r0, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
689 17baf0: 80c1 strh r1, [r0, #6] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
690 17baf2: 2180 mov r1, #128 ; 0x80 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
691 17baf4: 8141 strh r1, [r0, #10] ; 0xa |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
692 17baf6: 21c0 mov r1, #192 ; 0xc0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
693 17baf8: 8181 strh r1, [r0, #12] ; 0xc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
694 17bafa: 2140 mov r1, #64 ; 0x40 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
695 17bafc: 8101 strh r1, [r0, #8] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
696 17bafe: 2020 mov r0, #32 ; 0x20 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
697 17bb00: 8068 strh r0, [r5, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
698 17bb02: 2000 mov r0, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
699 17bb04: 80a8 strh r0, [r5, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
700 17bb06: 2010 mov r0, #16 ; 0x10 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
701 17bb08: 8821 ldrh r1, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
702 17bb0a: 4308 orr r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
703 17bb0c: 8020 strh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
704 17bb0e: 4857 ldr r0, =0xfffffa08 ; via 0x17bc6c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
705 17bb10: 4957 ldr r1, =0xffff ; via 0x17bc70 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
706 17bb12: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
707 17bb14: 8041 strh r1, [r0, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
708 17bb16: 2103 mov r1, #3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
709 17bb18: 8181 strh r1, [r0, #12] ; 0xc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
710 17bb1a: f004 ff21 bl 0x180960 ; $IQ_SetupInterrupts |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
711 17bb1e: 4855 ldr r0, =0xfffffc00 ; via 0x17bc74 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
712 17bb20: 2124 mov r1, #36 ; 0x24 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
713 17bb22: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
714 17bb24: 210d mov r1, #13 ; 0xd |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
715 17bb26: 8041 strh r1, [r0, #2] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
716 17bb28: 2500 mov r5, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
717 17bb2a: 4853 ldr r0, =0xfffe2016 ; via 0x17bc78 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
718 17bb2c: 8005 strh r5, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
719 17bb2e: 4953 ldr r1, =0xfffe2014 ; via 0x17bc7c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
720 17bb30: 2002 mov r0, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
721 17bb32: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
722 17bb34: 4952 ldr r1, =0xfffe2002 ; via 0x17bc80 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
723 17bb36: 2084 mov r0, #132 ; 0x84 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
724 17bb38: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
725 17bb3a: 4852 ldr r0, =0xfffe2000 ; via 0x17bc84 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
726 17bb3c: 4952 ldr r1, =0x3de0 ; via 0x17bc88 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
727 17bb3e: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
728 17bb40: 4952 ldr r1, =0xfffe2022 ; via 0x17bc8c |
283
f724d574cff3
compal/sym-fw-disasm: ULPD setup diffs analysed
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
729 ; ULPD setup different from TI's: SETUP_FRAME constant is 10 |
f724d574cff3
compal/sym-fw-disasm: ULPD setup diffs analysed
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
730 ; instead of TI's 12, probably resulting from the shorter SETUP_SLICER |
282
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
731 17bb42: 220a mov r2, #10 ; 0xa |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
732 17bb44: 800a strh r2, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
733 17bb46: 4952 ldr r1, =0xfffe2020 ; via 0x17bc90 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
734 17bb48: 4a52 ldr r2, =0x45a ; via 0x17bc94 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
735 17bb4a: 800a strh r2, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
736 17bb4c: 4a52 ldr r2, =0xfffe201e ; via 0x17bc98 |
283
f724d574cff3
compal/sym-fw-disasm: ULPD setup diffs analysed
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
737 ; ULPD setup different from TI's: SETUP_SLICER constant is 330 |
f724d574cff3
compal/sym-fw-disasm: ULPD setup diffs analysed
Mychaela Falconia <falcon@freecalypso.org>
parents:
282
diff
changeset
|
738 ; instead of TI's 660 |
282
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
739 17bb4e: 21ff mov r1, #255 ; 0xff |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
740 17bb50: 314b add r1, #75 ; 0x4b |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
741 17bb52: 8011 strh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
742 17bb54: 4951 ldr r1, =0xfffe201c ; via 0x17bc9c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
743 17bb56: 221f mov r2, #31 ; 0x1f |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
744 17bb58: 800a strh r2, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
745 17bb5a: 4951 ldr r1, =0xfffe2024 ; via 0x17bca0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
746 17bb5c: 800d strh r5, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
747 17bb5e: 4951 ldr r1, =0xfffe2010 ; via 0x17bca4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
748 17bb60: 2202 mov r2, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
749 17bb62: 880b ldrh r3, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
750 17bb64: 431a orr r2, r3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
751 17bb66: 800a strh r2, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
752 17bb68: 4b4e ldr r3, =0xfffe2010 ; via 0x17bca4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
753 17bb6a: 2104 mov r1, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
754 17bb6c: 881a ldrh r2, [r3, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
755 17bb6e: 4311 orr r1, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
756 17bb70: 8019 strh r1, [r3, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
757 17bb72: 4c4d ldr r4, =0xfffef006 ; via 0x17bca8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
758 17bb74: 2127 mov r1, #39 ; 0x27 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
759 17bb76: 80e1 strh r1, [r4, #6] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
760 17bb78: 8a01 ldrh r1, [r0, #16] ; 0x10 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
761 17bb7a: 0849 lsr r1, r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
762 17bb7c: d30f bcc 0x17bb9e |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
763 17bb7e: 8a01 ldrh r1, [r0, #16] ; 0x10 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
764 17bb80: 0409 lsl r1, r1, #16 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
765 17bb82: 0c49 lsr r1, r1, #17 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
766 17bb84: 0049 lsl r1, r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
767 17bb86: 8201 strh r1, [r0, #16] ; 0x10 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
768 17bb88: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
769 17bb8a: e001 b 0x17bb90 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
770 17bb8c: 9900 ldr r1, [sp, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
771 17bb8e: 3101 add r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
772 17bb90: 9100 str r1, [sp, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
773 17bb92: 9900 ldr r1, [sp, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
774 17bb94: 2932 cmp r1, #50 ; 0x32 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
775 17bb96: d3f9 bcc 0x17bb8c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
776 17bb98: 8a41 ldrh r1, [r0, #18] ; 0x12 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
777 17bb9a: 2900 cmp r1, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
778 17bb9c: d0fc beq 0x17bb98 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
779 17bb9e: f006 fb10 bl 0x1821c2 ; $AI_ClockEnable |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
780 17bba2: f006 fb14 bl 0x1821ce ; $AI_InitIOConfig |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
781 17bba6: 2027 mov r0, #39 ; 0x27 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
782 17bba8: 0500 lsl r0, r0, #20 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
783 17bbaa: 8005 strh r5, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
784 ; extra code not in TI's version |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
785 ; superfluous bit clearing in the FFFE:F006 debug register |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
786 17bbac: 483f ldr r0, =0xffbf ; via 0x17bcac |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
787 17bbae: 8821 ldrh r1, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
788 17bbb0: 4008 and r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
789 17bbb2: 8020 strh r0, [r4, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
790 ; setting GPIO 2 high - shuts off UART |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
791 17bbb4: 2002 mov r0, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
792 17bbb6: f006 fad3 bl 0x182160 ; $AI_SetBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
793 ; setting bits 9 and 5 in FFFE:F00A - selecting IO9 and IO13 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
794 17bbba: 2001 mov r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
795 17bbbc: 0240 lsl r0, r0, #9 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
796 17bbbe: 88a1 ldrh r1, [r4, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
797 17bbc0: 4308 orr r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
798 17bbc2: 80a0 strh r0, [r4, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
799 17bbc4: 2020 mov r0, #32 ; 0x20 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
800 17bbc6: 88a1 ldrh r1, [r4, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
801 17bbc8: 4308 orr r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
802 17bbca: 80a0 strh r0, [r4, #4] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
803 ; tail end of TI's original code |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
804 17bbcc: 2001 mov r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
805 17bbce: f005 ffd3 bl 0x181b78 ; $TM_EnableTimer |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
806 17bbd2: 2002 mov r0, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
807 17bbd4: f005 ffd0 bl 0x181b78 ; $TM_EnableTimer |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
808 17bbd8: b001 add sp, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
809 17bbda: bd30 pop {r4, r5, pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
810 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
811 $Init_Drivers: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
812 17bbdc: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
813 17bbde: f7ca fb85 bl 0x1462ec |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
814 17bbe2: f7cc fab7 bl 0x148154 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
815 17bbe6: f00c fdac bl 0x188742 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
816 17bbea: f00c fdab bl 0x188744 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
817 17bbee: f7eb f9c5 bl 0x166f7c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
818 17bbf2: f7ed fcb2 bl 0x16955a |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
819 17bbf6: f7cc fabf bl 0x148178 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
820 17bbfa: f7e3 f9e6 bl 0x15efca |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
821 17bbfe: f007 fe1d bl 0x18383c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
822 17bc02: f7ed fa9b bl 0x16913c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
823 17bc06: f77e fb27 bl 0xfa258 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
824 17bc0a: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
825 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
826 $Init_Serial_Flows: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
827 17bc0c: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
828 17bc0e: 4828 ldr r0, =0x83dfa8 ; via 0x17bcb0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
829 17bc10: f7c9 ffea bl 0x145be8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
830 17bc14: 2000 mov r0, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
831 17bc16: 2102 mov r1, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
832 17bc18: 2200 mov r2, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
833 17bc1a: f7ca f85e bl 0x145cda |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
834 17bc1e: f7ca f8b8 bl 0x145d92 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
835 17bc22: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
836 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
837 $Init_Unmask_IT: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
838 17bc24: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
839 17bc26: 2004 mov r0, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
840 17bc28: f004 fefb bl 0x180a22 ; $IQ_Unmask |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
841 17bc2c: 2012 mov r0, #18 ; 0x12 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
842 17bc2e: f004 fef8 bl 0x180a22 ; $IQ_Unmask |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
843 17bc32: 2007 mov r0, #7 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
844 17bc34: f004 fef5 bl 0x180a22 ; $IQ_Unmask |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
845 17bc38: 2008 mov r0, #8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
846 17bc3a: f004 fef2 bl 0x180a22 ; $IQ_Unmask |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
847 17bc3e: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
848 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
849 $GpUnmaskRTCAlarmInterrupts: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
850 17bc40: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
851 17bc42: 200a mov r0, #10 ; 0xa |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
852 17bc44: f004 feed bl 0x180a22 ; $IQ_Unmask |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
853 17bc48: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
854 17bc4a: 46c0 nop (mov r8, r8) |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
855 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
856 $AI_EnableBit: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
857 182144: 4a4b ldr r2, =0xfffef00a ; via 0x182274 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
858 182146: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
859 182148: 4081 lsl r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
860 18214a: 8810 ldrh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
861 18214c: 4301 orr r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
862 18214e: 8011 strh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
863 182150: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
864 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
865 $AI_DisableBit: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
866 182152: 4a48 ldr r2, =0xfffef00a ; via 0x182274 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
867 182154: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
868 182156: 4081 lsl r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
869 182158: 8810 ldrh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
870 18215a: 4388 bic r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
871 18215c: 8010 strh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
872 18215e: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
873 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
874 $AI_SetBit: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
875 182160: 4a45 ldr r2, =0xfffe4802 ; via 0x182278 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
876 182162: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
877 182164: 4081 lsl r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
878 182166: 8810 ldrh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
879 182168: 4301 orr r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
880 18216a: 8011 strh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
881 18216c: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
882 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
883 $AI_ResetBit: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
884 18216e: 4a42 ldr r2, =0xfffe4802 ; via 0x182278 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
885 182170: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
886 182172: 4081 lsl r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
887 182174: 8810 ldrh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
888 182176: 4388 bic r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
889 182178: 8010 strh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
890 18217a: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
891 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
892 $AI_ConfigBitAsOutput: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
893 18217c: 4a3f ldr r2, =0xfffe4804 ; via 0x18227c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
894 18217e: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
895 182180: 4081 lsl r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
896 182182: 8810 ldrh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
897 182184: 4388 bic r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
898 182186: 8010 strh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
899 182188: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
900 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
901 $AI_ConfigBitAsInput: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
902 18218a: 4a3c ldr r2, =0xfffe4804 ; via 0x18227c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
903 18218c: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
904 18218e: 4081 lsl r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
905 182190: 8810 ldrh r0, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
906 182192: 4301 orr r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
907 182194: 8011 strh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
908 182196: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
909 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
910 $AI_ReadBit: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
911 182198: 4939 ldr r1, =0xfffe4800 ; via 0x182280 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
912 18219a: 8809 ldrh r1, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
913 18219c: 4101 asr r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
914 18219e: 07c8 lsl r0, r1, #31 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
915 1821a0: 0fc0 lsr r0, r0, #31 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
916 1821a2: 0600 lsl r0, r0, #24 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
917 1821a4: 0e00 lsr r0, r0, #24 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
918 1821a6: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
919 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
920 $AI_Power: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
921 1821a8: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
922 1821aa: 2800 cmp r0, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
923 1821ac: d101 bne 0x1821b2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
924 1821ae: f7c4 fbdb bl 0x146968 ; $ABB_Power_Off |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
925 1821b2: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
926 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
927 $AI_ResetIoConfig: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
928 1821b4: 4931 ldr r1, =0xfffe4804 ; via 0x18227c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
929 1821b6: 4833 ldr r0, =0xffff ; via 0x182284 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
930 1821b8: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
931 1821ba: 482e ldr r0, =0xfffef00a ; via 0x182274 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
932 1821bc: 2100 mov r1, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
933 1821be: 8001 strh r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
934 1821c0: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
935 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
936 $AI_ClockEnable: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
937 1821c2: 4931 ldr r1, =0xfffe4806 ; via 0x182288 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
938 1821c4: 2020 mov r0, #32 ; 0x20 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
939 1821c6: 880a ldrh r2, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
940 1821c8: 4310 orr r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
941 1821ca: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
942 1821cc: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
943 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
944 $AI_InitIOConfig: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
945 1821ce: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
946 1821d0: f7ff fff0 bl 0x1821b4 ; $AI_ResetIoConfig |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
947 1821d4: 2002 mov r0, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
948 1821d6: f7ff ffb5 bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
949 1821da: 2003 mov r0, #3 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
950 1821dc: f7ff ffb2 bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
951 1821e0: 2004 mov r0, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
952 1821e2: f7ff ffaf bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
953 1821e6: 2005 mov r0, #5 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
954 1821e8: f7ff ffac bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
955 1821ec: 2006 mov r0, #6 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
956 1821ee: f7ff ffa9 bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
957 1821f2: 2007 mov r0, #7 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
958 1821f4: f7ff ffa6 bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
959 1821f8: 2008 mov r0, #8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
960 1821fa: f7ff ffa3 bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
961 1821fe: 2009 mov r0, #9 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
962 182200: f7ff ffa0 bl 0x182144 ; $AI_EnableBit |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
963 182204: 491c ldr r1, =0xfffe4802 ; via 0x182278 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
964 182206: 4821 ldr r0, =0x3f02 ; via 0x18228c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
965 182208: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
966 18220a: 2001 mov r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
967 18220c: f7ff ffb6 bl 0x18217c ; $AI_ConfigBitAsOutput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
968 182210: 2002 mov r0, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
969 182212: f7ff ffb3 bl 0x18217c ; $AI_ConfigBitAsOutput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
970 182216: 2005 mov r0, #5 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
971 182218: f7ff ffb0 bl 0x18217c ; $AI_ConfigBitAsOutput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
972 18221c: 2007 mov r0, #7 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
973 18221e: f7ff ffad bl 0x18217c ; $AI_ConfigBitAsOutput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
974 182222: 2009 mov r0, #9 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
975 182224: f7ff ffb1 bl 0x18218a ; $AI_ConfigBitAsInput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
976 182228: 200b mov r0, #11 ; 0xb |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
977 18222a: f7ff ffae bl 0x18218a ; $AI_ConfigBitAsInput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
978 18222e: 200d mov r0, #13 ; 0xd |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
979 182230: f7ff ffab bl 0x18218a ; $AI_ConfigBitAsInput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
980 182234: 200e mov r0, #14 ; 0xe |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
981 182236: f7ff ffa1 bl 0x18217c ; $AI_ConfigBitAsOutput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
982 18223a: 200f mov r0, #15 ; 0xf |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
983 18223c: f7ff ff9e bl 0x18217c ; $AI_ConfigBitAsOutput |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
984 182240: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
985 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
986 $AI_SelectIOForIT: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
987 182242: 0109 lsl r1, r1, #4 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
988 182244: 1840 add r0, r0, r1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
989 182246: 0040 lsl r0, r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
990 182248: 3001 add r0, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
991 18224a: 4911 ldr r1, =0xfffe4814 ; via 0x182290 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
992 18224c: 8008 strh r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
993 18224e: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
994 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
995 $AI_CheckITSource: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
996 182250: 2100 mov r1, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
997 182252: 4a10 ldr r2, =0xfffe4816 ; via 0x182294 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
998 182254: 8812 ldrh r2, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
999 182256: 4210 tst r0, r2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1000 182258: d000 beq 0x18225c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1001 18225a: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1002 18225c: 1c08 add r0, r1, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1003 18225e: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1004 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1005 $AI_UnmaskIT: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1006 182260: 4a0d ldr r2, =0xfffe4818 ; via 0x182298 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1007 182262: 8811 ldrh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1008 182264: 4381 bic r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1009 182266: 8011 strh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1010 182268: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1011 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1012 $AI_MaskIT: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1013 18226a: 4a0b ldr r2, =0xfffe4818 ; via 0x182298 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1014 18226c: 8811 ldrh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1015 18226e: 4301 orr r1, r0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1016 182270: 8011 strh r1, [r2, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1017 182272: 4770 bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1018 |
390
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1019 ; buzzer.obj .text section follows, as identified in the linker map. |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1020 ; All code is strictly unchanged from TCS211 original. |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1021 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1022 $BZ_Init: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1023 186124: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1024 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1025 $BZ_Enable: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1026 186126: 492e ldr r1, =0xfffe480e ; via 0x1861e0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1027 186128: 2001 mov r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1028 18612a: 880a ldrh r2, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1029 18612c: 4310 orr r0, r2 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1030 18612e: 8008 strh r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1031 186130: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1032 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1033 $BZ_Disable: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1034 186132: 482b ldr r0, =0xfffe480e ; via 0x1861e0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1035 186134: 8801 ldrh r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1036 186136: 0409 lsl r1, r1, #16 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1037 186138: 0c49 lsr r1, r1, #17 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1038 18613a: 0049 lsl r1, r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1039 18613c: 8001 strh r1, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1040 18613e: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1041 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1042 $BZ_Tone: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1043 186140: 21ff mov r1, #255 ; 0xff |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1044 186142: 3101 add r1, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1045 186144: 4288 cmp r0, r1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1046 186146: db00 blt 0x18614a |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1047 186148: 20ff mov r0, #255 ; 0xff |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1048 18614a: 4926 ldr r1, =0xfffe4808 ; via 0x1861e4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1049 18614c: 8008 strh r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1050 18614e: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1051 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1052 $BZ_Volume: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1053 186150: 2840 cmp r0, #64 ; 0x40 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1054 186152: db00 blt 0x186156 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1055 186154: 203f mov r0, #63 ; 0x3f |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1056 186156: 4924 ldr r1, =0xfffe4812 ; via 0x1861e8 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1057 186158: 8008 strh r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1058 18615a: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1059 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1060 $BZ_KeyBeep_ON: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1061 18615c: b500 push {lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1062 18615e: b081 sub sp, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1063 186160: f7ff ffe0 bl 0x186124 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1064 186164: 20ff mov r0, #255 ; 0xff |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1065 186166: f7ff fff3 bl 0x186150 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1066 18616a: f7ff ffdc bl 0x186126 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1067 18616e: 2032 mov r0, #50 ; 0x32 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1068 186170: f7ff ffe6 bl 0x186140 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1069 186174: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1070 186176: e001 b 0x18617c |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1071 186178: 9800 ldr r0, [sp, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1072 18617a: 3001 add r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1073 18617c: 9000 str r0, [sp, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1074 18617e: 9900 ldr r1, [sp, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1075 186180: 481a ldr r0, =0x4268 ; via 0x1861ec |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1076 186182: 4281 cmp r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1077 186184: dbf8 blt 0x186178 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1078 186186: f7ff ffd4 bl 0x186132 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1079 18618a: b001 add sp, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1080 18618c: bd00 pop {pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1081 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1082 $BZ_KeyBeep_OFF: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1083 18618e: b500 push {lr} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1084 186190: b081 sub sp, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1085 186192: f7ff ffc7 bl 0x186124 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1086 186196: 20ff mov r0, #255 ; 0xff |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1087 186198: f7ff ffda bl 0x186150 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1088 18619c: f7ff ffc3 bl 0x186126 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1089 1861a0: 2064 mov r0, #100 ; 0x64 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1090 1861a2: f7ff ffcd bl 0x186140 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1091 1861a6: 2000 mov r0, #0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1092 1861a8: e001 b 0x1861ae |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1093 1861aa: 9800 ldr r0, [sp, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1094 1861ac: 3001 add r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1095 1861ae: 9000 str r0, [sp, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1096 1861b0: 9900 ldr r1, [sp, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1097 1861b2: 480e ldr r0, =0x4268 ; via 0x1861ec |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1098 1861b4: 4281 cmp r1, r0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1099 1861b6: dbf8 blt 0x1861aa |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1100 1861b8: f7ff ffbb bl 0x186132 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1101 1861bc: b001 add sp, #4 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1102 1861be: bd00 pop {pc} |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1103 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1104 $LT_Enable: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1105 1861c0: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1106 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1107 $LT_Disable: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1108 1861c2: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1109 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1110 $LT_Level: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1111 1861c4: 2840 cmp r0, #64 ; 0x40 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1112 1861c6: db00 blt 0x1861ca |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1113 1861c8: 203f mov r0, #63 ; 0x3f |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1114 1861ca: 4909 ldr r1, =0xfffe4810 ; via 0x1861f0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1115 1861cc: 8008 strh r0, [r1, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1116 1861ce: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1117 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1118 $LT_Status: |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1119 1861d0: 4803 ldr r0, =0xfffe480e ; via 0x1861e0 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1120 1861d2: 8800 ldrh r0, [r0, #0] |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1121 1861d4: 0840 lsr r0, r0, #1 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1122 1861d6: 07c0 lsl r0, r0, #31 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1123 1861d8: 0fc0 lsr r0, r0, #31 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1124 1861da: 0600 lsl r0, r0, #24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1125 1861dc: 0e00 lsr r0, r0, #24 |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1126 1861de: 4770 bx lr |
37ee46a0dde7
compal/sym-fw-disasm: some study of buz.obj code
Mychaela Falconia <falcon@freecalypso.org>
parents:
283
diff
changeset
|
1127 |
282
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1128 $INC_Initialize: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1129 1887ac: b510 push {r4, lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1130 1887ae: 1c04 add r4, r0, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1131 1887b0: 4813 ldr r0, =0x83e688 ; via 0x188800 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1132 1887b2: 2101 mov r1, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1133 1887b4: 6001 str r1, [r0, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1134 1887b6: f001 f883 bl 0x1898c0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1135 1887ba: f001 f87d bl 0x1898b8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1136 1887be: f001 f859 bl 0x189874 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1137 1887c2: f000 fbd9 bl 0x188f78 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1138 1887c6: f7fb f8e7 bl 0x183998 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1139 1887ca: f000 fe2f bl 0x18942c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1140 1887ce: f000 fdad bl 0x18932c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1141 1887d2: f000 fd8b bl 0x1892ec |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1142 1887d6: f000 fd99 bl 0x18930c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1143 1887da: f000 fde7 bl 0x1893ac |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1144 1887de: f000 fdb5 bl 0x18934c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1145 1887e2: f000 fe13 bl 0x18940c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1146 1887e6: f7fe f881 bl 0x1868ec |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1147 1887ea: f000 fe2f bl 0x18944c |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1148 1887ee: 1c20 add r0, r4, #0 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1149 1887f0: f000 fd10 bl 0x189214 ; $Application_Initialize |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1150 1887f4: 4902 ldr r1, =0x83e688 ; via 0x188800 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1151 1887f6: 2002 mov r0, #2 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1152 1887f8: 6008 str r0, [r1, #0] |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1153 1887fa: f7a8 ff75 bl 0x1316e8 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1154 1887fe: bd10 pop {r4, pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1155 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1156 $Application_Initialize: |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1157 189214: b500 push {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1158 189216: f7f2 fc39 bl 0x17ba8c ; $Init_Target |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1159 18921a: f7f2 fcdf bl 0x17bbdc ; $Init_Drivers |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1160 18921e: f7cb fa31 bl 0x154684 ; $key_pressed_times |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1161 189222: f736 fafa bl 0xbf81a ; $Cust_Init_Layer1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1162 189226: f7cb fa2d bl 0x154684 ; $key_pressed_times |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1163 18922a: f7f2 fcef bl 0x17bc0c ; $Init_Serial_Flows |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1164 18922e: f7ad f8d6 bl 0x1363de ; $StartFrame |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1165 189232: f7f2 fcf7 bl 0x17bc24 ; $Init_Unmask_IT |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1166 189236: bd00 pop {pc} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1167 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1168 _INC_Initialize: ; call veneer |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1169 189680: e92d4000 stmdb sp!, {lr} |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1170 189684: e28fe001 add lr, pc, #1 |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1171 189688: e12fff1e bx lr |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1172 18968c: f7ff f88e bl 0x1887ac ; $INC_Initialize |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1173 189690: 4778 bx pc |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1174 189692: 46c0 nop (mov r8, r8) |
52d21957bf2e
compal/sym-fw-disasm: initial analysis
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1175 189694: e8bd8000 ldmia sp!, {pc} |