PocketCM Imageviewer test opengl build - Touch Diamond, MDA Compact IV Themes and Apps

Hi,
I usually post in the "global dev" and not a device specific forum, but as I recently got a Diamond, I've been experimenting a bit with OpenGL.
For the curious, you can download an opengl enabled build of ImageViewer using HW opengl of our beloved device.
You can find it here:
www.pocketcm.com/daily.php
Of course it require real accelerated driver (which come with the device by default if I'm right), and it's still experimental, it seems to works decently until a certain number of images (texture) are loaded.
In practice, on my device, it's A LOT faster than the software version and it makes it as nice to use as... on my old HTC Touch phone.
Enjoy!

Cool program for an experimental version.... i like the way it rotates the image

just wanna let you know GREAT APP .... im sure ur putting in a lotta features...i was wondering if u can make a coverflo activated on the rotation of the phone...it'll be uber cool...thanx

nice idea..
tried it on my XDA Flame which has Goforce 5500 GPU and it does not run!
log file says "cant initialize opengl"
(of course we do have opengl drivers official on Flame)
please fix !!

works on my TP, but often gets stuck...

Related

site with interesting ppc tools

http://mamaich.kasone.com/fr_pocket.htm
yes, it's very nice. i've got it installed, it's one of my favorite toys now (ofcourse after cell profiler)
i got dune2 working at fullspeed, i think if configured properly this port even includes sound, since it's using the libraries that arisme ported and he's also using it with pocketscumm (and this supports sound too)
but there are alot of bugs, like missing button mapping, no keyboard in EGA/CGA, i wish i could work a little bit on it, but i can't get it to compile properly with EVC 4.0 or 3.0
would love to implement screenscrolling for resolutions like 640x480,
would love to try optimize it a little bit for pocketpcs (maybe try to deal more with integers? remove some tasks from the cpu cycle..
oh and, i think there's even a dynamic recompiler included - if we could port this to arm it would be a very great speedup!

Enhanced version of PicoDrive(best Genesis emulator for PPC)

Hi everyone,
This is my first post, so hello. I got my HTC Wizard (T-Mobile MDA branded) earlier this week and have been experimenting with it quite a bit since. One thing I really wanted working, since I'm a huge Sonic fan (and I legitimately own all of the cartridges, don't pirate!) was to get a working Genesis emulator going on the Wizard. I couldn't even get PocketGenesis to load, and MorphGear's genesis support is ludicrously slow on a Wizard, so I was about to give up hope until I found PicoDrive. This free emulator really needs more love, the core is written in ARM assembler and it BLOWS AWAY the alternatives. It only has two downsides: no sound, and no save state support, at least in the version available on the developer's site. I decided to fix these problems.
Now let me emphasize I did NOT write this program. The guy who did is awesome and you can visit his site at www.finalburn.com.
I downloaded the source and enabled the sound he had disabled for the release version. However, it sounds horrible, so I've left it disabled. I _DID_ add proper save states to the emulator, however. (It was a simple modification of the existing code for loading/saving movies) Since this was a feature I thought others would benefit from (and also just to encourage others to try PicoDrive) I thought I would post my modified version to this site. You'll find the Load State and Save State options on the Options menu during play.
An additional tip - by editing the PicoConfig file, which you'll find in your device's root directory, you can remap the key config for the emulator. If there's interest I'd be willing to add a GUI to help you do this in a week or two when I have time. (We're nearing the end of the college semester currently, so I'm pretty busy at the moment)
Let me know what you guys think, and enjoy! The attached file is an ARM exe, just copy it to your device and run.
Hi, where can i get the games to run with this emulator?
I used to love the sonic and mario games but i'm useless with finding the games.
Thanks for any help i get in advance,
Ash
I really can't tell anyone where to get ROMs; I don't want to do anything of questionable legality on this site.
Is there anyway of getting this to work in landscape so that you can use the keyboard??
oh wow i hadnt thought of that, id pay real money for a spectrum and bbc emu working in landscape and using the keyb
@maltloaf: i'll look into that in a few weeks and see what i can do!
as far as landscape orientation for picodrive, that's definitely something that can be done. i'll get back to you guys in about 3 weeks with a new version that'll have the most recent picodrive engine, as well as landscape/portrait orientation (i agree, i vastly prefer to use landscape mode) and keyboard config within the app.
swift1337 said:
@maltloaf: i'll look into that in a few weeks and see what i can do!
as far as landscape orientation for picodrive, that's definitely something that can be done. i'll get back to you guys in about 3 weeks with a new version that'll have the most recent picodrive engine, as well as landscape/portrait orientation (i agree, i vastly prefer to use landscape mode) and keyboard config within the app.
Click to expand...
Click to collapse
Coooool sounds good.. cheers!!
Sorry to bring this back from the dead but I'm really interested in this Keep up the good work.
Picodrive
Hello. I'm new to both forums and the XDA2. I cannot express how cool this version of picodrive is!
I have to say it took me a while that you have to copy the exe file to the xda then run it.
After that I couldn't figure out how to control it until I accidentally mashed some buttons.
Since then!!!
I love this emu, I love the games and now that it has been fiddled with it's so much better.
Thankyou!
I found a new version of Picodrive 0.047 on this forum and it work's perfectly! Fast, sound, landscape, full screen, remap button ability, and save. About halfway down the page is the link http://forum.xda-developers.com/vie...=0&postorder=asc&highlight=picodrive&start=25

VGA to QVGA

Hi frens, I would like to know is there anyway to change our device from VGA to QVGA? I mean maybe using some certain software we can toggle between using QVGA or VGA..something like that
Because VGA can't enjoy many cool interface things like Cube, Ifonts, etc
pliz help
did you find a solution ?
i am looking for the same soultion ? did someone find ?
i need it ASAP ?
thx
Not looking likely
Hi Guys
It seems fairly certain to be a no go see my previous threads
http://forum.xda-developers.com/showthread.php?t=350157
http://forum.xda-developers.com/showthread.php?t=347532
http://forum.xda-developers.com/showthread.php?t=351589
Sorry they are all a bit short but you will get the general idea, basically it comes down to there being no apparent way to hotswitch the dpi on a per app basis. The closest thing to any chance of it working would be to have a patch or layer that can emulate a lower res screen which GAPI for HPC's http://www.wincesoft.de/html/gapi_for_hpc_s.html is capable of doing for WinCE boxes that have widescreen resolutions but want to run an older 320x240 game or app so any potential solution would likely have to work along the same lines.
However the main issue is that the gx.dll method would not work in most cases as they are now quite heavily tied into the roms (certainly on my Athena) so I could never test it out fully, a generic or emulation layer based gx.dll would most likely 'break' the newer phones if it was forced into the windows directory and from some basic testing before simply placing the HPC gx.dll in the app directory does not enable you to make use of it as the base gx.dll is already resident in ram when the phones are started. I also tried reshacking a couple of apps and changing it to look for xg.dll and renaming the HPC one to match but that just broke everything as you have to re-sign the app which I managed but it just plain refuses to run and either brings up an error message or just does nothing when you run it.
Wow a bit long winded sorry about that but it may help anyone who wants to take up the challenge

AndroidAthenaProject1.0

[size=+1]Introduction:[/size]
I am proud to introduce "AndroidAthenaProject1.0" on behalf of the Athena Project Team! We have successfully ported Android to the Athena (More info about the Athena). This will be the official thread for optimizing and working out bugs related to Android on the Athena.
YouTube Demo
[size=+1]News:[/size]
05/28/2008 - New update available: (Athena-Android "All-n-1" Release) (More Info and even more info). This update adds touch screen support and screen rotation applet. Video driver still needs a lot of work. Screen updates are slow. Coding decent video drivers will be my next priority and if anyone is willing to give a hand, please let me know. Thanks!
[size=+1]Athena/Android Resources:[/size]
Download Android for the Athena (x7500/x7501/Ameo/etc...): Latest Release or Here (Click here for instructions)
Git: https://github.com/mistadman/android-athena/. This should be easier for us to manage changes. Enjoy!!
Diff and .Config (05282008): Download
[size=+1]Project Status:[/size]
Keyboard (not started) (A USB keyboard can be used for testing while we wait for drivers. See this post)
Touch screen (done):
More info
Testing/Bug fixes
Phone (not started)
Video(in progress):
Correctly implement pan_display() function (double buffering)
Speed improvements
Sound (in progress)
Wifi (not started)
Bluetooth (not started)
GPS (not started)
Camera (not started)
Sub-display (not started)
Accelerometer (not started)
Android Application Functionality(in progress):
RotateView Applet added: (More info)
This applet lets you rotate the screen. Unfortunately, due to incomplete video driver, video performance takes a serious hit during rotation.
[size=+1]Contribute:[/size]
If you would like to test or can contribute to one of the outstanding issues above, please let us know. Also, marthynovak has posted quick and dirty guide to testing our releases. See this post for more information.
-----
_--Reserved--_
This post has been reserved!
_--Reserved--_
This post has been reserved...
Here is small how to to start android on Athena.By mistadman
Download Android for Athena here(last build): http://rapidshare.com/files/118229739/Android-Athena-05282008.exe.html
free method(please use only when you cant you rapidshare) http://gymjs.net/~m.novak/Android-Athena-05282008.exe
Once downloaded, unzip and copy the unzipped files to a SD Card. The root of your SD Card should have these files:
haret.exe
default.txt
zImage
initrd-android
Once you have verified the files listed, insert the SD Card in to your Athena. From there just load up Windows Mobile and browse to your "Storage Card" in "File Explorer". Click on the file called "haret.exe", and once the program has loaded; click run.
Just remember that this is work in progress!
more info:
its only the system,the keybord is not working,screen isnt working.Just remember that this is work in progress!
Here is some plan what must we do(by mistadman):
1.) Add some Ati specific 3D acceleration (Double Buffering, Rotation).
2.) Optimize Power Saving...
3.) Add/repair touch screen driver.
4.) Add/create keyboard driver.
5.) Add sound
6.) Add phone driver support (be able to make a call).
7.) Add Wifi Driver.
8.) Get the camera working maybe?!?!
more also here:http://forum.xda-developers.com/showpost.php?p=2242471&postcount=19
_-Reserved-_
__-Reserved-__
--reserved--
__reserved__
-= Reserved =-
Keyboard?
As you can see on the post located here, they've written a simple onscreen keyboard. Maybe he'll give you the source for it and it wouldn't be hard to implement it into this kernel for future releases...
Let's pull all of our resources together and make this happen. Whoever can contribute let's post here and let's try to get a 1.0 final out ASAP.
Thanks in advance to everyone for helping where you can.
Areas of interest for developing the project:
- Graphics
- Sounds
- Drivers (highest priority of course)
- Apps
- Functionality (highest priority of course)
If you can provide a driver or something that fits in the categories above, please post a description...a how-to....and a link to a RapidShare download. Thank you all in advance.
Now we are talk'n! LOL!
- Graphics
- Sounds
- Drivers (highest priority of course)
- Apps
- Functionality (highest priority of course)
Click to expand...
Click to collapse
Just remember though, we do not want to duplicate Google's efforts... What I mean is that Google OS/Middleware (Android) will be in direct competition with the iPhone, Symbian, Window Mobile, etc. That means we can expect things like onscreen keyboards, SMS apps, Office Apps (probably complements of Google Docs/Google Gears), mapping/GPS software (Google Maps), a camera app, etc... (See: http://reviews.cnet.com/4520-9239_7-6546759-1.html for more info) And that’s not to mention some of the great work already being done by Third-Party Vendors (Android Developer Challenge: see: http://phandroid.com/2008/05/10/adc-round-1-winners for more info). Heck, look at what was done on the iPhone... And it was/is "closed source"!
I believe the IMPORTANT thing is that we provide a stable kernel for Google's "Middleware". I envision that most of the kernel work will revolve around driver development (in order of priority): (Here is a pictorial representation of the software stack:http://i.i.com.com/cnwk.1d/i/bto/20080521/android_stack_540x387.jpg, as you can see the kernel is the base to which all other software depends on.)
Keyboard
Touch screen
Phone
Video
Sound
And of course:
Wifi
Bluetooth
GPS
Camera
Long term objectives:
Sub-display
Accelerometer
Of course there will need to be work done on Android itself... Maybe we will need to develop applications custom to the Athena Hardware. At the very least, we will have to provide Android with a way to talk to hardware via kernel icotls (e.g. Camera Settings, Video Settings, etc…). So having some with inside knowledge of Android will help. Not sure though, because I haven’t hacked on Android (yet ;-) )...
Once the kernel/drivers are stable I believe Android will be a better fit for the Athena than WM6 could have ever be.
What do you guys think?
FYI: Looks like Google is already improving Android: http://www.talkandroid.com/99-adc-finalists-receive-android-sdk-snapshot-access/
i will have new develop version of Android soon.i hope so.so maybe it could be better for this project.i will let you know!
marthynovak said:
i will have new develop version of Android soon.i hope so.so maybe it could be better for this project.i will let you know!
Click to expand...
Click to collapse
Check your PM.
we should look here,there are plany of informations about android.its for vogue,but i think that something we can use.they said that touchscreen is working now
http://forum.xda-developers.com/showthread.php?t=382265
also see this.its on screen keybord included in the zimage.i cant try it right now,im away and my athena is not with me.
http://forum.xda-developers.com/showpost.php?p=2213637&postcount=303
also see this updates
http://it029000.massey.ac.nz/vogue/
http://forum.xda-developers.com/showpost.php?p=2191014&postcount=344
Update...
Just to let you guys know, I have been working on the touch screen driver. I pretty much have it working perfectly, expect for the fact that the touch screen works in the horizontal position even though Android boots vertically. I am pretty sure I will not be much longer before I release an update.
Also, if anyone is working on any particular issue related to porting Android to the Athena, please let us know. The more the merrier!
The main thing is that we wouldn't want to duplicated efforts or if someone is working on an issue we could match you up with someone doing the same thing. This would speed development a great deal. Two heads or better than one! On the main page I will post updates as to where we are with each issue.
And thanks to everyone who is either showing interest or encouragement!
Maybe you should give to each update a date.So they can know what is new and what is old.I tried to do someting with video driver,but no luck at all.ï can do more when i will be back home.
edit:we have(with mistadman) decided something about marking releases.he will tell everything to you.thx
All in one executable...
Hello everyone,
I am trying something new... Even though there has been some progress with this project, I am re-releasing the original Android release as an All-in-one executable for testing. If all goes well, we will be releasing further updates in this fashion. If you are testing, please post feedback on this thread.
This will help make testing easier, because there will be less files to mess with, and anyone new to testing will not be easily confused. Also the "All-n-1" release will be dated, which should also minimize confusion.
If anyone has any suggestions, or any better ideas, let us know. Thanks!
Here is a the link to the "All-n-1" re-release: http://rapidshare.com/files/117520672/Android-Athena-05172008.exe.html
***NOTE*** There is nothing new with this release, other than the fact its all merged in to one file for easier testing.
New Update...
Hello everyone... I'm back with a new update! I finally got the touch screen working! Still have a lot of work left of course.
If you want to play with it, you can get it here: http://rapidshare.com/files/118229739/Android-Athena-05282008.exe.html. This is an "All-n-1 Release". Just copy the exe to your sd card and run. After clicking, it could take up to 20 seconds to boot. Be patent!
As always, this is work in progress... Thanks for testing!
Here is the patch and .config:
thanks very much it's working fine and waiting for keyborad and wifi

[C++] OpenGL Performance

hi developers,
i have developing in OpenGL for testing but i have a problem with the performance (tested in Diamond).
In attachements files you have a example compiled and the source code, its very simple, the scene is a set de icons (quads with 2 triangles). I do not understand how can this simple program has this performance (my iphonetoday its faster and its pure GDI), some developer can say me where is the problem?
I tried it on my diamond and I can confirm it's very choppy... maybe you could force the code to skip less frames somehow, I'm currently a noob at c++ and don't know anything about Open GL so..
Good luck anyways!
I use Vincent 3D, have i enable the graphics acceleration with some function?
Vincent3D is a software implementation, don't use it on the device! I'm using it only on the emulator while developing.
Just tried to run your example on my device but it starts and closes again without any message. (tried with and without Vincent3D)
Had a quick look in the code: you are requesting a 24bit framebuffer (R8G8B8) try (R5G6B5))!
Maybe you want to try my OpenGL test app found in my sig (check first post to get the latest version).
heliosdev said:
Vincent3D is a software implementation/QUOTE]
ooooooohhhh these is the key!!! Can you test now?? its very very fast!!
Click to expand...
Click to collapse
Cool, now it works on my device, too!
Now add an alpha layer to the texture to be 0 at the white corners and 1 everywhere else and enable alpha blending to get rid of the white corners to have 'round' icons.
To read an RGBA texture you'll have to use IImagingFactory::CreateImageFrom*.

Categories

Resources