I pasted this:
----------------------------------------------
processing:
'inserts an analog and digital fullscreen clock'
by 'krisha'
----------------------------------------------
this patches an analog and a digital fullscreen clock to your nokia cellular phone.
after a toggled time of no keypress the clock is activated.
the clock is disabled, while you are in the menu or you have a call.
it is also disabled when the netgraph or the dataviewer is toggled on.
create a own menu to toggle it. the IDs are printed while patching.
you can use your own backgrounds if u want to and switch between 4 different backgrounds!
you can change inphone the fonts for the digital clock via menu.
thx to:
katha, my girlfriend
g3gg0
digicroxx
nok5rev
nokdoc
and of cause all others i forgot!
krisha is reachable @: icq 93857183 & www.chrisi.de &
[email protected]
please don't disturb me with shit. search a forum instead!!!
don't tell that this is your patch... it's copyrighted by me :)
now beginning to patch...
get_time:
located at: 0x000CC21C
[searching back to entry point]
- func_start: 000CC1F8
- func_end: 000CC290
----------------------------------
currentstate:
located at: 0x000BD122
----------------------------------
2dec:
located at: 0x000D925C
----------------------------------
ldr at: 0008439C
ldr at: 0008439E
ldr at: 000BD126
own_get_ram:
FATAL: not found - sorry
----------------------------------
function name own_get_ram not found in flash, will create it
found 0048 bytes for function own_get_ram at 0x00130F94
- bl: 00130FA2 -> 0009A5D0: F7 69 FB 15
- bl: 00130FAE -> 000F1A44: F7 C0 FD 49
own_set_ram:
FATAL: not found - sorry
----------------------------------
function name own_set_ram not found in flash, will create it
found 0048 bytes for function own_set_ram at 0x00130FC4
- bl: 00130FD2 -> 0009A5D0: F7 69 FA FD
- bl: 00130FDE -> 000F1A44: F7 C0 FD 31
own_get_config_nibble:
FATAL: not found - sorry
----------------------------------
function name own_get_config_nibble not found in flash, will create it
found 0044 bytes for function own_get_config_nibble at 0x00130FF4
- bl: 0013100A -> 000F0100: F7 BF F8 79
own_set_config_nibble:
FATAL: not found - sorry
----------------------------------
function name own_set_config_nibble not found in flash, will create it
found 0074 bytes for function own_set_config_nibble at 0x00131020
- bl: 0013103A -> 000F0100: F7 BF F8 61
- bl: 0013105E -> 000F00D0: F7 BF F8 37
- bl: 00131062 -> 00088102: F7 57 F8 4E
found 0052 bytes for function creditz at 0x0013106C
own_get_keypress:
FATAL: not found - sorry
----------------------------------
function name own_get_keypress not found in flash, will create it
found 0032 bytes for function own_get_keypress at 0x001310A0
a own clear_lcd_ram 'cause i don't like nokia's original :)
own_clear_lcd:
FATAL: not found - sorry
----------------------------------
function name own_clear_lcd not found in flash, will create it
found 0036 bytes for function own_clear_lcd at 0x001310C0
- bl: 001310CA -> 000F1A44: F7 C0 FC BB
- bl: 001310D6 -> 000F1A44: F7 C0 FC B5
creating the menu IDs you have to use...
-----------------------------------------
locating functions for the 5E0 table
-----------------------------------------
5e0_prt_action_1:
located at: 0x000E5088
- func_start: 000E5088
- func_end: 000E5098
----------------------------------
5e0_prt_action_2:
located at: 0x000E53BA
- func_start: 000E53BA
- func_end: 000E53CA
----------------------------------
5e0_disp_val:
located at: 0x000E53CC
- func_start: 000E53CC
- func_end: 000E53DA
----------------------------------
5e0_call_func:
located at: 0x000E509A
- func_start: 000E509A
- func_end: 000E53B8
----------------------------------
ldr at: 000E508A
ldr at: 000E508E
ldr at: 000E53BC
ldr at: 000E50B4
ldr at: 000E50C2
ldr at: 000E50C6
ldr at: 000E53CE
-----------------------------------------
-> The 5E0 Table has 1544 bytes, and 0xc0 entries in it
-----------------------------------------
# PPM is located (via MCU info) at offset 00140000
checking for space in PPM...
# - No CODE chunk found...
--------> 5e0 Table is at 0033096C
found 0012 bytes for function clock_off at 0x001310E4
- bl: 001310EA -> 00131020: F7 FF FF 99
5E0 ID# C1 | clock_off
found 0012 bytes for function clock_10s at 0x001310F0
- bl: 001310F6 -> 00131020: F7 FF FF 93
5E0 ID# C2 | clock_10s
found 0012 bytes for function clock_20s at 0x001310FC
- bl: 00131102 -> 00131020: F7 FF FF 8D
5E0 ID# C3 | clock_20s
found 0012 bytes for function clock_30s at 0x00131108
- bl: 0013110E -> 00131020: F7 FF FF 87
5E0 ID# C4 | clock_30s
found 0012 bytes for function clock_1min at 0x00131114
- bl: 0013111A -> 00131020: F7 FF FF 81
5E0 ID# C5 | clock_1min
found 0012 bytes for function clock_2min at 0x00131120
- bl: 00131126 -> 00131020: F7 FF FF 7B
5E0 ID# C6 | clock_2min
found 0012 bytes for function clock_5min at 0x0013112C
- bl: 00131132 -> 00131020: F7 FF FF 75
5E0 ID# C7 | clock_5min
found 0012 bytes for function clock_10min at 0x00131138
- bl: 0013113E -> 00131020: F7 FF FF 6F
5E0 ID# C8 | clock_10min
found 0012 bytes for function clock_20min at 0x00131144
- bl: 0013114A -> 00131020: F7 FF FF 69
5E0 ID# C9 | clock_20min
found 0012 bytes for function clock_30min at 0x00131150
- bl: 00131156 -> 00131020: F7 FF FF 63
5E0 ID# CA | clock_30min
found 0020 bytes for function clock_bg1 at 0x0013115C
- bl: 00131160 -> 00130FF4: F7 FF FF 48
- bl: 0013116A -> 00131020: F7 FF FF 59
5E0 ID# CB | clock_bg1
found 0024 bytes for function clock_bg2 at 0x00131170
- bl: 00131174 -> 00130FF4: F7 FF FF 3E
- bl: 00131182 -> 00131020: F7 FF FF 4D
5E0 ID# CC | clock_bg2
found 0024 bytes for function clock_bg3 at 0x00131188
- bl: 0013118C -> 00130FF4: F7 FF FF 32
- bl: 0013119A -> 00131020: F7 FF FF 41
5E0 ID# CD | clock_bg3
found 0024 bytes for function clock_bg4 at 0x001311A0
- bl: 001311A4 -> 00130FF4: F7 FF FF 26
- bl: 001311B2 -> 00131020: F7 FF FF 35
5E0 ID# CE | clock_bg4
found 0020 bytes for function menu_font1 at 0x001311B8
- bl: 001311BC -> 00130FF4: F7 FF FF 1A
- bl: 001311C6 -> 00131020: F7 FF FF 2B
5E0 ID# CF | menu_font1
found 0024 bytes for function menu_font2 at 0x001311CC
- bl: 001311D0 -> 00130FF4: F7 FF FF 10
- bl: 001311DE -> 00131020: F7 FF FF 1F
5E0 ID# D0 | menu_font2
found 0024 bytes for function menu_font3 at 0x001311E4
- bl: 001311E8 -> 00130FF4: F7 FF FF 04
- bl: 001311F6 -> 00131020: F7 FF FF 13
5E0 ID# D1 | menu_font3
found 0024 bytes for function menu_font4 at 0x001311FC
- bl: 00131200 -> 00130FF4: F7 FF FE F8
- bl: 0013120E -> 00131020: F7 FF FF 07
5E0 ID# D2 | menu_font4
found 0020 bytes for function clock_digital at 0x00131214
- bl: 00131218 -> 00130FF4: F7 FF FE EC
- bl: 00131222 -> 00131020: F7 FF FE FD
5E0 ID# D3 | clock_digital
found 0020 bytes for function clock_analog at 0x00131228
- bl: 0013122C -> 00130FF4: F7 FF FE E2
- bl: 00131236 -> 00131020: F7 FF FE F3
5E0 ID# D4 | clock_analog
found 0028 bytes for function show_creditz at 0x0013123C
- bl: 0013123E -> 001310A0: F7 FF FF 2F
- bl: 00131246 -> 00084FCA: F7 53 FE C0
- bl: 0013124E -> 000DEAF0: F7 AD FC 4F
5E0 ID# D5 | show_creditz
sinus routine using sinus table, 'cause arm chips doesn't like floats
sinus:
FATAL: not found - sorry
----------------------------------
function name sinus not found in flash, will create it
found 0200 bytes for function sinus at 0x00131258
found 0032 bytes for function bmp2lcdram at 0x00131320
- bl: 00131338 -> 000841E6: F7 52 FF 55
found 0052 bytes for function draw_number_of_font at 0x00131340
- bl: 00131362 -> 00131320: F7 FF FF DD
now we need 4 fine background images for the clock. if u want to change, here are the addresses
thx to noscript, for the background 1 & 2
background 1:
found 0504 bytes for function clockbg1_2 at 0x00131374
background 2:
found 0504 bytes for function clockbg2_2 at 0x0013156C
background 3:
found 0504 bytes for function clockbg3 at 0x00131764
background 4:
found 0504 bytes for function clockbg4 at 0x0013195C
found 0012 bytes for function clockbginfo1 at 0x00131B54
found 0012 bytes for function clockbginfo2 at 0x00131B60
found 0012 bytes for function clockbginfo3 at 0x00131B6C
found 0012 bytes for function clockbginfo4 at 0x00131B78
if you want to change the fonts. create numbers 0 - 9 with 16x24 pixel
and the colon with 10x24 pixel and put the pics in sequence at the following addresses!
every number must have 50 bytes. fill up with 0x00's...
font one:
found 0550 bytes for function digitfont1 at 0x00131B84
font two:
found 0550 bytes for function digitfont2 at 0x00131DAC
font three:
found 0550 bytes for function digitfont3 at 0x00131FD4
font four:
found 0550 bytes for function digitfont4 at 0x001321FC
found 0256 bytes for function show_clock_analog at 0x00132424
- bl: 00132426 -> 00131320: F7 FE FF 7B
- bl: 0013242A -> 000CC1F8: F7 99 FE E5
- bl: 0013243E -> 000F02B4: F7 BD FF 39
- bl: 00132446 -> 000F02B4: F7 BD FF 35
- bl: 0013244E -> 000F02B4: F7 BD FF 31
- bl: 00132464 -> 00131258: F7 FE FE F8
- bl: 00132480 -> 000848C4: F7 52 FA 20
- bl: 00132498 -> 00131258: F7 FE FE DE
- bl: 001324B4 -> 000848C4: F7 52 FA 06
- bl: 001324D0 -> 00131258: F7 FE FE C2
- bl: 001324FA -> 000848C4: F7 52 F9 E3
- bl: 00132508 -> 00084370: F7 51 FF 32
found 0148 bytes for function show_clock_digital at 0x00132524
- bl: 0013252C -> 000CC1F8: F7 99 FE 64
- bl: 00132540 -> 000F02B4: F7 BD FE B8
- bl: 00132548 -> 000F02B4: F7 BD FE B4
- bl: 00132550 -> 000F02B4: F7 BD FE B0
- bl: 0013255A -> 000D925C: F7 A6 FE 7F
- bl: 0013255E -> 001310C0: F7 FE FD AF
- bl: 0013256C -> 00131340: F7 FE FE E8
- bl: 00132576 -> 00131340: F7 FE FE E3
- bl: 00132580 -> 00131340: F7 FE FE DE
- bl: 00132588 -> 000D925C: F7 A6 FE 68
- bl: 00132592 -> 00131340: F7 FE FE D5
- bl: 0013259C -> 00131340: F7 FE FE D0
- bl: 001325A4 -> 00084370: F7 51 FE E4
found 0244 bytes for function clockmain at 0x001325B8
- bl: 001325BC -> 00130FF4: F7 FE FD 1A
- bl: 001325C8 -> 00130F94: F7 FE FC E4
- bl: 001325D2 -> 0009A5D0: F7 67 FF FD
- bl: 001325DC -> 000F1A44: F7 BF FA 32
- bl: 001325E4 -> 00130FC4: F7 FE FC EE
- bl: 001325EC -> 001310A0: F7 FE FD 58
- bl: 001325F4 -> 000CC1F8: F7 99 FE 00
- bl: 001325FA -> 000CC1F8: F7 99 FD FD
- bl: 0013261A -> 00130F94: F7 FE FC BB
- bl: 0013262A -> 00130F94: F7 FE FC B3
- bl: 00132646 -> 00130FF4: F7 FE FC D5
- bl: 00132654 -> 00130FF4: F7 FE FC CE
- bl: 00132668 -> 00132424: F7 FF FE DC
- bl: 00132670 -> 00130FF4: F7 FE FC C0
- bl: 00132682 -> 00132524: F7 FF FF 4F
found 0012 bytes for function task0hook at 0x001326AC
- bl: 001326B2 -> 001325B8: F7 FF FF 81
Trying to find suitable code at 0x000E1A3A
oh, cool.. a BL! => relocateable!
offset: 0x000E1A3A
Relocatable code found at 0x000E1A3A
- bl: 001326AE -> 000C262A: F7 8F FF BC
- bl: 000E1A3A -> 001326AC: F0 50 FE 37
this tricky thing was done =)
if u like me or my patch tell me & spend some money *ggg*
greetz
http://www.smigi.edu.lv/~kva/clock.php answered: "Bad result"