Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate
Sign In | Create Account

Anonymous
Tuesday, August 21st, 2007 at 10:18:39pm UTC 

  1. 0x4c974-0x4cad4
  2.     ADC_ADDR |= 0x80000000
  3.     r0 = [r0[4]] (byte)
  4.     if(r0==0)
  5.         while(ADC_STATUS & 0x40);
  6.         ADC_ADDR &=~ 0x80000000
  7.         [r1] = ((ADC_DATA1 & 0xff) << 2) | ((ADC_DATA1 & 0xff) >> 6)
  8.     else if(r0==1)
  9.         while(ADC_STATUS & 0x4000);
  10.         ADC_ADDR &=~ 0x80000000
  11.         [r1] = (((ADC_DATA1 & 0xff00) << 2) | ((ADC_DATA1 & 0xff00) >> 6) ) >> 8
  12.     else if(r0==2)
  13.         while(ADC_STATUS & 0x400000);
  14.         ADC_ADDR &=~ 0x80000000
  15.         [r1] = (((ADC_DATA1 & 0xff0000) << 2) | ((ADC_DATA1 & 0xff00--) >> 6) ) >> 16
  16.     else if(r0==3)
  17.         while(ADC_STATUS & 0x40000000);
  18.         ADC_ADDR &=~ 0x80000000
  19.         [r1] = (((ADC_DATA1 & 0xff0000) << 2) | ((ADC_DATA1 & 0xff00--) >> 6) ) >> 24
  20.        
  21.     if !(PLL_CONTROL & 0x80000000)
  22.         [r1] += 0x14
  23.         if([r1] > 0x400);
  24.             [r1] = 0x400;
  25.    
  26.     return 0;
  27.  
  28. 4cad8-4cadc
  29.     return 0xa;
  30.    
  31. 0x4cae0-0x4cb24
  32.     r3 = USEC_TIMER
  33.     r2 = USEC_TIMER
  34.     r2 += r1
  35.     ???
  36.    
  37. 0x4cb28-0x4cd28
  38.     if([0x1055dcc4]==0)
  39.     {
  40.         [0x1055dcc4] = 1
  41.         0x7000002c |=1
  42.         ADC_INIT |= 0x40000000
  43.        
  44.         0x4cae0 ( r0, 0x64)
  45.         0x60006008 |= 0x20
  46.         0x4cae0 ( r0, 0x64)
  47.         0x60006008 &=~ 0x20
  48.         0x4cae0 ( r0, 0x64)
  49.         0x60006010 |= 0x20
  50.         0x4cae0 ( r0, 0x64)
  51.         0x60006094 |= 0x3
  52.         0x4cae0 ( r0, 0x64)
  53.        
  54.        
  55.         ADC_ADDR |=0x40
  56.         ADC_ADDR |=0x20000000
  57.         0x4cae0 ( r0, 0x64)
  58.        
  59.         ADC_INIT
  60.         ADC_INIT = 0
  61.         0x4cae0 ( r0, 0x64)
  62.        
  63.         ADC_STATUS = 0
  64.     }
  65.  
  66.     if(r0[0x4]b==0)
  67.         0x70000010 &=~0x3
  68.         ADC_ADDR |= 0x1000000
  69.         ADC_STATUS |= 0x20
  70.     else if(r0[0x4]b==1)
  71.         0x70000010 &=~30
  72.         ADC_ADDR |= 0x2000000
  73.         ADC_STATUS |= 0x2000
  74.     else if(r0[0x4]b==2)
  75.         0x70000010 &=~0x300
  76.         0x70000010 |= 0x100
  77.         ADC_ADDR |= 0x4000000
  78.         ADC_STATUS |= 0x200000
  79.     else if(r0[0x4]b==3)
  80.         0x70000010 &=~0x3000
  81.         0x70000010 |= 0x1000
  82.         ADC_ADDR |= 0x8000000
  83.         ADC_STATUS |= 0x20000000
  84.     return;

Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)



Please note that information posted here will expire by default in one month. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right
worth-right