View Single Post
  #182 (permalink)  
Old 07-25-2010, 04:27 PM
[ACL]'s Avatar
[ACL]
VIP Member
Offline
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

Quote:
Originally Posted by jonpry View Post
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

Last edited by [ACL]; 07-25-2010 at 05:20 PM.
Reply With Quote
This post has been thanked 3 times.