/[projet1]/public/oric/routines/rasterization/linebench/display.s
Defence Force logotype

Diff of /public/oric/routines/rasterization/linebench/display.s

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 267 by thrust26, Mon Feb 8 22:50:29 2010 UTC revision 268 by thrust26, Tue Feb 9 18:44:23 2010 UTC
# Line 24  _TableMod6              .dsb X_SIZE Line 24  _TableMod6              .dsb X_SIZE
24      .dsb 256-(*&255)      .dsb 256-(*&255)
25    
26      .byt 0      .byt 0
 _TableDiv6Rev           .dsb X_SIZE  
   
     .dsb 256-(*&255)  
   
     .byt 0  
27  _TableBit6Reverse  _TableBit6Reverse
28      .byt 32,16,8,4,2,1|$80      .byt 32,16,8,4,2,1|$80
29      .byt 32,16,8,4,2,1|$80      .byt 32,16,8,4,2,1|$80
# Line 175  skip_mod Line 170  skip_mod
170      cpx #X_SIZE      cpx #X_SIZE
171      bne loop      bne loop
172  .)  .)
 .(  
     lda #0      ; cur div  
     tay         ; cur mod  
     ldx #X_SIZE  
 loop  
     dex  
     sta _TableDiv6Rev,x  
   
     iny  
     cpy #6  
     bne skip_mod  
     ldy #0  
     adc #0      ; carry = 1!  
 skip_mod  
   
     cpx #0  
     bne loop  
 .)  
173  .)  .)
174      rts      rts
175    

Legend:
Removed from v.267  
changed lines
  Added in v.268

  ViewVC Help
Powered by ViewVC 1.1.26