PDA

View Full Version : display zones + true_7_bars.nrx



macg
10-11-2005, 11:10 AM
Hi guys!
I trayed to move "display zone" wiht clock, notice of new message and atc on my 3310(NHM-5)... I want to make something as on 3410...
I moved signal and battery bars a little down (with NokiX - true_7_bars), then I used OzOne 1.1 to edit the zone with clock position...
The bars was moved down and wokrs correctly, but clock and grafic works wrong (see on the picture). The time should be 20:02 ...

http://www.stud.feec.vutbr.cz/~xnohav00/wrong.jpg

... but if I make a call the clock ang grafic get better, but with the end of call it spoils...
Can somebody help me please??? Thanks ... :)))

.....sorry for my english :rolleyes:

NokDoc
10-11-2005, 06:02 PM
Hi,

The cause is that besides the official zones U have set in 0z0ne, there is also 'hard coded' X/Y zones being defined inside the bars functions itself.

U also have to change some bytes there, corresponding to Ur new zone's.

Are U using only scripts, or are U able with few tips to do some manual modding too, in eg a hexeditor tool?

Oh, and do tell Us Ur flash file version of the 3310 U're playing with.

NokDoc

macg
12-11-2005, 07:29 PM
:) Thanks for your replay... I "play" with 3310 6.39 version and I am using only OzOne and NokiX for moving zones... And how can I change the 'hard coded' X/Y zones :???:

NokDoc
16-11-2005, 07:39 PM
Hi,

I'm sorry, but all I can give is the theory:

#Signal Side:
0847aa :2000 : MOV R0, #0 << clean area, x/y 0x0, width/height 5x23
0847ac :2100 : MOV R1, #0
0847ae :2205 : MOV R2, #5
0847b0 :2323 : MOV R3, #23
0847b2 :f7fffbbd: BL 83f30 (Clear Rectangle (35 calls))
0847b6 :48ce : (n.a.)
0847b8 :e009 : (n.a.)
0847ba :4669 : (n.a.)
0847bc :2011 : (n.a.)
0847be :7008 : (n.a.)
0847c0 :2000 : MOV R0, #0 << clean area
0847c2 :2100 : MOV R1, #0
0847c4 :2205 : MOV R2, #5
0847c6 :2325 : MOV R3, #25
0847c8 :f7fffbb2: BL 83f30 (Clear Rectangle (35 calls))

#BatterySide:
085004 :204f : MOV R0, #4f << clean area
085006 :2100 : MOV R1, #0
085008 :2205 : MOV R2, #5
08500a :2323 : MOV R3, #23
08500c :f7feff90: BL 83f30 (Clear Rectangle (35 calls))
085010 :48eb : (n.a.)
085012 :e009 : (n.a.)
085014 :4669 : (n.a.)
085016 :2011 : (n.a.)
085018 :7008 : (n.a.)
08501a :204f : MOV R0, #4f << Clean area
08501c :2100 : MOV R1, #0
08501e :2205 : MOV R2, #5
085020 :2325 : MOV R3, #25
085022 :f7feff85: BL 83f30 (Clear Rectangle (35 calls))

I sure hope for U it is useable?

NokDoc

macg
22-11-2005, 08:49 AM
Thanks, I think that I understand this code, I can find it (for example with WinArm), but I don't know how to change it... :???: Can you tell me with which program can I change it???

NokDoc
22-11-2005, 05:35 PM
Hi,

Hex Editor...

After opening the file in the tool, press the 'H' button to see all in hexa-decimal values.

Some tips: 0847b0 :2323 : MOV R3, #23

'0847b0' is the address where U will see the 2 bytes data '2323'

The 1st 23 (23xx) is the instruction for the command 'MOV R3'

The 2nd 23 (xx23) is the value 0x23 or 23h, which is in decimal system a value of 35.

To convert hex2asc or asc2hex U can use the windows calculator in scientific mode.

Good Luck.

NokDoc

macg
28-11-2005, 02:39 PM
Hi!
Thank you :D !!! I had to make some modiffications in true_7_bars script too, but now everything wokrs perfect :)