Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match_all(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 834

Warning: Invalid argument supplied for foreach() in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 835

Warning: preg_replace(): Compilation failed: group name must start with a non-digit at offset 4 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 839

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860

Warning: preg_match(): Compilation failed: group name must start with a non-digit at offset 8 in /www/htdocs/w008c51e/wiki/includes/MagicWord.php on line 860
Betty init - Bettyhacks.com - Hack BettyTV-Remote

Betty init

From Bettyhacks.com - Hack BettyTV-Remote
Jump to: navigation, search
(init routines of the original betty firmware)
 
Line 9: Line 9:
 
values shown are for R0=64<br>
 
values shown are for R0=64<br>
 
<br>
 
<br>
CS0:80000BF4 pause                                  ; CODE XREF: sub_80000C98+40�p<br>
+
<pre>
CS0:80000BF4                                        ; initLCD+24�p ...<br>
+
CS0:80000BF4 pause                                  ; CODE XREF: sub_80000C98+40�p
 +
CS0:80000BF4                                        ; initLCD+24�p ...
 
CS0:80000BF4                LDR    R2, =T0IR<br>
 
CS0:80000BF4                LDR    R2, =T0IR<br>
 
CS0:80000BF8                MOV    R3, #0<br>
 
CS0:80000BF8                MOV    R3, #0<br>
 
CS0:80000BFC                STR    R3, [R2,#0x10]<br>
 
CS0:80000BFC                STR    R3, [R2,#0x10]<br>
CS0:80000C00                ADD    R0, R0, R0,LSL#2 -> (64*4)+64 = 320<br>
+
CS0:80000C00                ADD    R0, R0, R0,LSL#2 -> (64*4)+64 = 320
 
CS0:80000C04                ADD    R3, R3, #2<br>
 
CS0:80000C04                ADD    R3, R3, #2<br>
 
CS0:80000C08                STR    R3, [R2,#4]<br>
 
CS0:80000C08                STR    R3, [R2,#4]<br>
CS0:80000C0C                ADD    R0, R0, R0,LSL#2 -> (320*4)+320 = 1600<br>
+
CS0:80000C0C                ADD    R0, R0, R0,LSL#2 -> (320*4)+320 = 1600
 
CS0:80000C10                SUB    R3, R3, #1<br>
 
CS0:80000C10                SUB    R3, R3, #1<br>
CS0:80000C14                RSB    R0, R0, R0,LSL#4 -> (1600*16)-1600 = 24000<br>
+
CS0:80000C14                RSB    R0, R0, R0,LSL#4 -> (1600*16)-1600 = 24000
 
CS0:80000C18                STR    R3, [R2,#4]<br>
 
CS0:80000C18                STR    R3, [R2,#4]<br>
 
CS0:80000C1C                MOV    R0, R0,LSL R3 -> 24000*8 = 192000<br>
 
CS0:80000C1C                MOV    R0, R0,LSL R3 -> 24000*8 = 192000<br>
Line 30: Line 31:
 
CS0:80000C30                MOV    R3, #2<br>
 
CS0:80000C30                MOV    R3, #2<br>
 
CS0:80000C34                STR    R3, [R2,#4]<br>
 
CS0:80000C34                STR    R3, [R2,#4]<br>
CS0:80000C38 ; End of function pause<br>
+
CS0:80000C38 ; End of function pause
 +
</pre>
 +
<br>
 
<br>
 
<br>
 
<br>
 
<br>

Revision as of 13:27, 23 August 2007

Personal tools