myMPX
Advertisement


Go Back MyMPx.org > MyMPx.org Forum > Mods and Themes

Calculator for Rockchip players
Reply
Post New Thread
 
LinkBack Thread Tools
  #11 (permalink)  
Old 19th Aug 2009, 1:48 am
Binh@MyMPx's Avatar
Administrator
Admin
 
Join Date: May 2009
Location: New Zealand
Posts: 481
Default


Quote:
Originally Posted by flasher86 View Post
Calc_Source_Code.rar - FileFactory

here you go. Do you know where can I upload these files so it wont disappear after some time?
You can upload it DIRECTLY on this site here: Downloads - MyMPx.

It should be available for as long as this site is up and I'm hoping to keep this site up as long as possible!
__________________
Thanks,
Binh (admin)

Win: A 4GB 2.6" TFT Touch MP4 Player from Tinydeal! Go --> here

5% Discount Coupon from Tinydeal here.

Reply With Quote
  #12 (permalink)  
Old 19th Aug 2009, 3:04 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

thanks, I will upload it onto this site.

Knob, in your player the buttons are on the left (my player has them on the right), so arent keys inverted up side down?
And how many buttons this player have? I am writing some more apps with the POWER/REC button support. The button exists in my player, but I dont know about other players, and dont know is it worth configuring this button.

The platform supports only 6 buttons by default, but I managed to add this POWER button into functionality. Have you got it? If not, how you turning this player on/off?
Reply With Quote
  #13 (permalink)  
Old 19th Aug 2009, 9:16 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

hi flasher

My player has 7 software controlled buttons in total, 4x on the direction pad, 1x play/pause, 1x menu button and 1x small back button on top which works like an escape button. The play/pause button powers the unit on/off.

The calculator works perfectly, all the buttons work the right way, I didn't need to modify the source at all.

There is also a slide switch on my player which just breaks the battery supply making a total of 8 controls, but only 7 are software controlled.

btw "swirl" is doing something with file access on www.wasm.ru

http://www.wasm.ru/forum/viewtopic.php?id=27246&p=11

cheers knob.
__________________
-----------------------------------------------------------------------------------------------------------

Last edited by knob; 19th Aug 2009 at 9:18 am.
Reply With Quote
  #14 (permalink)  
Old 20th Aug 2009, 3:13 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

do you speak russian? I use google translator to follow the thread you mentioned, but its not too aquirate.

is this swirl saying that he works on the file access or would he like to use these functions? Because if he works on them its great, nevertheless I tried to use FOpen function (btw it is standard compiler function stored in stdio.h header which is transparent to the rockchip).

Rockchip software uses its own functions for opening file, and when I tried to use the standard ones, there was no reaction and the handle was always the same. The rockchip file opening functions are inavailable in RKP platform. They are stored in library RKUSBFS.A (FileOpen, FileRead, FileWrite) and there are too many links with firmware to apply it to the RKP compilation (or at least its above my programming abilities)

Btw, if anyone tries to experiment with this it is important how to write the path to the file on this platform. And to point some file at flash memory it is needed to use "U:\somefile.txt". Of course remember to double the slash in string. I dont know why they chose U for the drive, but it is the default drive for flash memory.

Last edited by flasher86; 20th Aug 2009 at 3:17 am.
Reply With Quote
  #15 (permalink)  
Old 20th Aug 2009, 9:38 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

No, I don't speak Russian. I just used the translator too!.
here's how it comes out for me:-

By the way, I want to please all who are interested in (unless of course still interested) updated on the player at the rk26 ... I hope very soon выложу firmware with support for rkp the following programs:
fCreate - to create a file
fDelete - to delete a file,
fOpen - to open the file,
fClose - to close the file
fRead - to read from a file
fWrite - for entry in the file
fEof - to determine the end of the file,
fSeek - for the free movement of the file,
as well as fDialog - to open a dialogue to select a file (like in windows when you select menu option File-> Open or File-> Save)

until this is all new ...

It does look like SWIRL is working on something.
Thanks for the filehandle tip, I will have another go at trying to access the image resource from the firmware.
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #16 (permalink)  
Old 9th Oct 2009, 5:49 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

Quote:
Originally Posted by flasher86 View Post
I have no idea how to introduce RKP platform for a rk2706 player. I would like to buy a new one (2706), but only if supports some apps like rkp.
yes i would like to add an rkp launcher to rk27xx it would be to cool keep the format alive
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #17 (permalink)  
Old 9th Oct 2009, 5:59 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Well, I fully support you with this. But I must say that I have doubts if it is possible.

I mean, RK26XX and RK27XX use different compilers, and therefore the output code is different. We would have to write an emulator rather than a native RKP platform.

Instead, I am thinking of writing a completely new platform for RK27XX players. I noticed that firmware on these players is divided into different compiled files, which may give us a clue how to properly load an external precompiled binary code.

Then it would be easy to release some RKPapp for both RK26XX and RK27XX platforms.

Advantages are clear. We could save settings of the game, access files on flash, detect screen resolution so the game would fit to any screen resolution the player use etc. Also we could implement some sort of plugins for expanding features of firmware without making a new compilation.

Of course, I am not sure about this impossibility to port rkp platform, I am beginner at low-level programming so I may be wrong.

Last edited by flasher86; 9th Oct 2009 at 6:07 am.
Reply With Quote
Sponsored Links
  #18 (permalink)  
Old 9th Oct 2009, 6:13 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

i am also a beginner! but the really skilled c/c++ programmers are not interested, so it's left to us to do what we can! (they are probably making ifone apps for money!)
I was thinking that since rk27xx is dual core and runs zsp400 code there may be a way. or am I missing some important point?
__________________
-----------------------------------------------------------------------------------------------------------

Last edited by knob; 9th Oct 2009 at 6:22 am.
Reply With Quote
  #19 (permalink)  
Old 9th Oct 2009, 6:16 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Yeah, I didn't think of it that way. Maybe you're right.
Reply With Quote
Reply

Tags
calc, calculator, compiler, rkp, rockchip

Sponsored Links



Similar Threads
Thread Thread Starter Forum Replies Last Post
any rockchip players on tinydeal.com? ikesmasher General Discussion 3 14th Apr 2009 11:25 am
Bought 4 different Rockchip players- none come with F/Ware! iixorbiusii Support and How To 16 17th Aug 2008 2:49 am
Alternative fix for rockchip players you can try cpox10 Dead Players 0 16th Mar 2008 7:13 pm
Rockchip players? jsevinsk General Discussion 2 5th Apr 2007 7:12 pm
I am thinking of importing Rockchip players to the US VegasPlayer General Discussion 6 19th Feb 2007 4:31 pm


All times are GMT -7. The time now is 1:31 am.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2
Back to Top

Designed by indiqo.media