PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   Why sound isn't working on the TP2. (http://forum.ppcgeeks.com/showthread.php?t=121743)

jonpry 07-25-2010 01:02 PM

Re: Why sound isn't working on the TP2.
 
Btw, that code for enabling/disabling interrupts is not quite the right thing. In general ARM architectures only have a single interrupt which is attached to the VIC. A11 actually has 2 interrupts but I don't think anybody uses it. The other is FIQ. So calling either that disassembled code or the linux code really has the effect of either enabling or disabling all interrupts as it disconnects VIC.

Somewhere NK.exe should be writing to the VIC memory to setup an interrupt.

[ACL] 07-25-2010 04:27 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jonpry (Post 1882446)
Btw, that code for enabling/disabling interrupts is not quite the right thing. In general ARM architectures only have a single interrupt which is attached to the VIC. A11 actually has 2 interrupts but I don't think anybody uses it. The other is FIQ. So calling either that disassembled code or the linux code really has the effect of either enabling or disabling all interrupts as it disconnects VIC.

Somewhere NK.exe should be writing to the VIC memory to setup an interrupt.

The asm i posted ? right or not its straight from the nk.exe. The arm section i posted was just a comparison.

you are right, there is a place in there where vic is written to. If you have IDA search for 0xC0000000 and you will see there are many places where this address is called. Its scattered all over the place so its going to be tough to go through all of that (tough for me at least being asm noob).

Do you have some wince code you need me to compile? if you already have it written let me know. Also i think we can get more done if we get back on the irc chat. Ill be there tomorrow

jonpry 07-25-2010 11:33 PM

Re: Why sound isn't working on the TP2.
 
I didn't mean to imply that it wasn't real or anything.

If you wouldn't mind I do have a couple of WinMO program that I need compiled. They are obviously untested and may not build. I'm also concerned that they use trusted api's and may need some coaxing to work. But I can take care of that if you send me the binaries.

http://pastebin.com/G6rAyJLK
http://pastebin.com/XSWUrBEC

shaggylive 07-26-2010 01:32 AM

Re: Why sound isn't working on the TP2.
 
has anyone tried something like this http://forum.xda-developers.com/show...light=sip+voip

[ACL] 07-26-2010 02:17 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jonpry (Post 1883295)
I didn't mean to imply that it wasn't real or anything.

If you wouldn't mind I do have a couple of WinMO program that I need compiled. They are obviously untested and may not build. I'm also concerned that they use trusted api's and may need some coaxing to work. But I can take care of that if you send me the binaries.

http://pastebin.com/G6rAyJLK
http://pastebin.com/XSWUrBEC

Ahh.. i cant seem to compile this. I'm missing pkfuncs.h. I'm gonna have to see if any of the winmo devs can help.

have you tried just haret dumps while playing sound? You dont have that many bits to choose from since all my tests so far show that we match the msm7200 documented bits for vic?

Another idea is to call wavedev.dll functions. I did the same for the ati driver, just dynamically load the dll and call some functions. InterruptInitialize() looks tempting ..

hyperfire21 07-26-2010 05:29 PM

Re: Why sound isn't working on the TP2.
 
do we need some exe like the hd2 sound fix?? CLRCAD.exe mod or something?

[ACL] 07-26-2010 05:43 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by hyperfire21 (Post 1884373)
do we need some exe like the hd2 sound fix?? CLRCAD.exe mod or something?

according to cotolla we may not need anything at all. His advice was to boot without CE or boot directly from nand

jonpry 07-26-2010 09:50 PM

Re: Why sound isn't working on the TP2.
 
Here are the new programs. Should compile without pkfuncs.
http://pastebin.com/EUX2X48P
http://pastebin.com/uf7ww1s6

B-Real206 07-26-2010 11:53 PM

Re: Why sound isn't working on the TP2.
 
You guys are frinkin awesome. The Thanks are raining down!

hyperfire21 07-27-2010 01:33 AM

Re: Why sound isn't working on the TP2.
 
how can we boot without CE?


All times are GMT -4. The time now is 06:34 PM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0