Your Ad Here

Hej456 Modded Firmwares
Hej456
Hej456 Modded Firmwares

 
Username:   Password: 
Auto Login
  
Make Homepage  RegisterRegister 
The time is Fri Sep 10, 2010 4:29 am
All times are UTC + 1 Hour
Volume Store


Users browsing this topic: 0 Registered, 0 Hidden and 1 Guest
Registered Users: None


View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
vb6rocod


vb6rocod is offline

Joined: 13 Apr 2008
Member: #1,357
Posts: 52
Style: subSilver (1451)
Groups: None

Volume Store
Reply to topic Reply with quote Go to the Bottom
PostPosted: Tue Nov 11, 2008 12:43 am View PostDownload Post

New Philips firmware have in setup an option for volume, but value is not stored and when change disc, volume is set back to 20. Here is from 5990/12
Code:

  5. No Pic. | Volume | Volume
     0003 FFFF 01F8 01F8 0023 0015 0000 0000 000000 0000 - ROM:33FC


I try to make patch to store level
Code:

B3:F3DD             BankSw_20_B3_F3DD:                     
B3:F3DD                                                   
B3:F3DD 12 B0 01              lcall B3_B001
B3:F3DD
B3:F3E0 7F 11                 mov   R7, #0x11
B3:F3E2 7E 00                 mov   R6, #0
B3:F3E4 12 1E 17              lcall PREF_GetChar_B3
B3:F3E4
B3:F3E7 12 E0 E5              lcall BankSw_250_B3_E0E5
B3:F3E7
B3:F3EA 7F 14                 mov   R7, #0x14
B3:F3EC 12 1F 9D              lcall B3_BS_260_B6_9367 --->>>> GetVolume
B3:F3EC
B3:F3EF 22                    ret
B3:F3EF
B3:F3EF             ; End of function BankSw_20_B3_F3DD

and set
Code:

B6:9383 90 FE 06              mov   DPTR, #XRAM_FE06 --->>>> (#XRAM_VolumeLevel) -->>SetVolume
B6:9386 E0                    movx  A, @DPTR
B6:9387 54 3F                 anl   A, #0x3F
B6:9389 70 20                 jnz   B6_93AB
B6:9389
B6:938B 90 FB BF              mov   DPTR, #XRAM_FBBF
B6:938E E0                    movx  A, @DPTR
B6:938F 60 1A                 jz    B6_93AB


This patch work in a firmware without menu for level (I make this in 5160,5980), but here no.
So I make a comparison between 5160 and 5990, looking to "#XRAM_VolumeLevel"
I find 2 new location in 5990. I search also for calls
Code:

B4:772A 12 2A CB              lcall B4_BS_737_B2_2212 (call from here)
...........................
B2:0212             BankSw_737_B2_2212:                     
B2:0212                                                     
B2:0212 90 FE 06              mov   DPTR, #XRAM_FE06 (#XRAM_VolumeLevel)
B2:0215 E0                    movx  A, @DPTR
B2:0216 FF                    mov   R7, A
B2:0217 C4                    swap  A
B2:0218 13                    rrc   A
B2:0219 13                    rrc   A
B2:021A 54 03                 anl   A, #3
B2:021C 30 E0 13              jnb   ACC.0, B2_232 

and
Code:

B2:BDF9 EF                    mov   A, R7
B2:BDFA 24 B9                 add   A, #0xB9
B2:BDFC 60 44                 jz    B2_BE42 --->>> call from here
---------------------------------------------------
B2:BE42             B2_BE42:                               
B2:BE42 90 FE 06              mov   DPTR, #XRAM_FE06 (#XRAM_VolumeLevel)
B2:BE45 E0                    movx  A, @DPTR
B2:BE46 FF                    mov   R7, A
B2:BE47 C4                    swap  A
B2:BE48 13                    rrc   A
B2:BE49 13                    rrc   A
B2:BE4A 54 03                 anl   A, #3
B2:BE4C 30 E0 0F              jnb   ACC.0, B2_BE5E

I want if is not possible to keep and store volume only in setup, to remove this option from menu (from code) and mapping some keys to volume, to make "classic" patch to store level.

Any idea?
Back to top
Display posts from previous:   
   Board Index
   -> Mediatek Modding, Discussion, ideas, help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 1 Posts ]
 


Jump to:   
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot post attachments in this forum
You cannot download attachments in this forum

Style:  
Search: