View Single Post
Old 09-28-2006, 04:03   #186 (permalink)
Xinshou
Freak Poster
 
Join Date: Apr 2005
Age: 24
Posts: 237
Member: 137411
Status: Offline
Thanks Meter: 1
MP3 Status Indicator on Mainscreen
Author: Greentea

First, thanks to Seklth & Rst7 for the patch "XTask v0.2 - switch dialogs " for sl45v5601.
We can now switch to mainscreen while playing MP3. And with another patch "MP3 background control", we can control the MP3 on mainscreen.
This patch is to use pictures to indicate the MP3 status.

Remark: Add these code D7403400F3F22B3E3D01DB00 ahead of the patch, if you want to clear the screen after inputting any digit.

1st Version:
MP3 status RAM 32:2F7C
DABF100D: Make a hook to Base of Maincreen
(perhaps interruption point DAB304DF is better for picture output)

0x1F0D10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF D7403400F3F22B3E3D010D0DD7403200
0x1F0D20: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F2F47C2FF0E4E6FC0100E6FD120006FE
0x1F0D30: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF D202DAB304DFDB00FFFFFFFFFFFFFFFF

1F0D28: 01;x-coordinate
1F0D2C: 12;y-coordinate
1F0D30: D202;723 first Pic ID (Stop mode) , total 7 pics: stop, play, FF, FW, Pause, to beginning of song, stop (for 7 modes )

;2nd version: Display 1 pic only to indicate if the MP3 is in Play mode or not
;DABF100D: hook to base of mainscreen

0x1F0D10: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF D7403400F3F22B3E3D01DB00D7403200
0x1F0D20: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF F3F2662F3D01DB00E6FCxx00E6FDyy00
0x1F0D30: FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF E6FExxxxDAB304DFDB00FFFFFFFFFFFF
;xx, yy, xxxx: define it by yourself

Last edited by Xinshou; 09-28-2006 at 10:08.
  Reply With Quote
 
Page generated in 0.08233 seconds with 7 queries