File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ __attribute__((noinline)) void ppu_wait_nmi(){
159159 *  ppu_off() 
160160 *  wait for vblank and turn off the screen! 
161161*/ 
162- __attribute__(( noinline ))  void  ppu_off (){
162+ void  ppu_off (){
163163    PPU_MASK_VAR  &= 0b11100111 ;
164164    ppu_wait_nmi ();
165165}
@@ -168,7 +168,7 @@ __attribute__((noinline)) void ppu_off(){
168168 *  ppu_on_all() 
169169 *  wait for vblank and turn on the screen! 
170170*/ 
171- __attribute__(( noinline ))  void  ppu_on_all (){
171+ void  ppu_on_all (){
172172    PPU_MASK_VAR  |= 0b00011000 ;
173173    ppu_wait_nmi ();
174174}
@@ -177,7 +177,7 @@ __attribute__((noinline)) void ppu_on_all(){
177177 *  ppu_on_bg() 
178178 *  wait for vblank and turn on the background layer. 
179179*/ 
180- __attribute__(( noinline ))  void  ppu_on_bg (){
180+ void  ppu_on_bg (){
181181    PPU_MASK_VAR  |= 0b00001000 ;
182182    ppu_wait_nmi ();
183183}
@@ -186,7 +186,7 @@ __attribute__((noinline)) void ppu_on_bg(){
186186 *  ppu_on_spr() 
187187 *  wait for vblank and turn on the sprite layer. 
188188*/ 
189- __attribute__(( noinline ))  void  ppu_on_spr (){
189+ void  ppu_on_spr (){
190190    PPU_MASK_VAR  |= 0b00010000 ;
191191    ppu_wait_nmi ();
192192}
@@ -195,7 +195,7 @@ __attribute__((noinline)) void ppu_on_spr(){
195195 *  ppu_mask() 
196196 *  set the mask value (to be applied at end of vblank). 
197197*/ 
198- __attribute__(( noinline ))  void  ppu_mask (unsigned char   mask ){
198+ void  ppu_mask (unsigned char   mask ){
199199    PPU_MASK_VAR  =  mask ;
200200}
201201
Original file line number Diff line number Diff line change @@ -50,7 +50,6 @@ void pal_fade_to(unsigned char from, unsigned char to){
5050            "lda #2 \n" 
5151            "jsr ppu_wait_nmi \n"  //wait 1 frames 
5252            "jsr ppu_wait_nmi \n" 
53-             "jsr ppu_wait_nmi \n" 
5453
5554            "lda __rc12 \n"  //from 
5655            "cmp __rc11 \n"  //to 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments