;generates a table with numbersx8, used in calcclippedsprite

gentimes8table
         ldx #0
         txa
         asl
         asl
         asl
         sta times8low,x
         txa
         lsr
         lsr
         lsr
         lsr
         lsr
         sta times8high,x
         inx
         bne gentimes8table+2
         rts

;-----------------------------------------------------------------------------------------

