16  
test_rndnoise.scl -   (,       )
test_rndframeshift.scl -   16     (-  ,  )
test_rndxyframeshift.scl -  ,   random  x+y (    )
test_xyframeshift.scl -    pixel > (frame+x+y)&0xf
test_chunk.scl -    x+y (    -  )
test_woolchunk.scl -    x+y (  ),      3 
        pixel > frame+achunkpixelnumber[pixelnumber])&0x0f

       (   50%    )

        
     realtime?     
frame+achunkpixelnumber[pixelnumber]    achunkpixelnumber[frame, pixelnumber]      

  1  - 
 : scrpixel = achunkscrpixel[pixel(4), frame(4), pixelnumber(4)] -   12 
        
  8  = 32 
  frame+pixelnumber = 4  ,    8  -    2 .

) pixel > frame+achunkpixelnumber[pixelnumber])&0x0f
;8  abcdefgh   -     
        pop bc ;%ccccggggddddhhhh
        ld l,b
        ld b,framepluspixelnumber1
        ld h,framepluspixelnumber2
        ld a,(bc) ;%d000h000
        rrca      ;%0d000h00
        or (hl)   ;%cd00gh00
        rrca      ;%0cd00gh0
        pop bc ;%aaaaeeeebbbbffff
        ld l,c
        ld h,framepluspixelnumber3
        or (hl)   ;%bcd0fgh0
        rrca      ;%0bcd0fgh
        ld l,b
        ld h,framepluspixelnumber4
        or (hl)   ;%abcdefgh
        ld (de),a
        inc e (d?)
;111 t/b ( 99 t/b  rrca,  4  ,  16,    )
       inc/dec h  ld h
       ,      ?

      (16   4   19-  22- b/b,   1.5)
   24,    ,      +
 48         (..   ), , 3D  (    ?       ,     3D  - ?   )

   3 ,  34 t/b,      8(   10) !    ,      ?

 128   2   R-Mode   4  ,     16 ,     (4R+4G+4B+4w)
    R-Mode?   4x4   ,         (    -     )   ?          
      R-Mode,       

   128  :   4R(M)+4G  8   ,    .
   128    12  (   8 ,  128    2,    ,   96+6..12 ,      pop:ld (),hl  LDI)   4R+4G+4B,    (     , ..  c2p  48000 ),    :
   :
- R screen1 (c2p)
- G screen0,   screen0
- B screen0,   screen0 (  )
- R screen1 (c2p)
- G screen0,   screen0
- B screen0,   screen0 (  )
- R screen1 (c2p)
- G screen0 (c2p)
   :
- B screen1 (c2p)
- R screen0,   screen0
- G screen0,   screen0 (  )
- B screen1 (c2p)
- R screen0,   screen0
- G screen0,   screen0 (  )
- B screen1 (c2p)
- R screen0 (c2p)
  ..
  16     3D  (    ,    3 )
 
     4    ( 256  ) -      64:
        pop bc ;4pix + 4pix
        ld l,b
        ld b,framepluspixelnumberRN
        ld a,(bc) ;%abcd0000
        or (hl)   ;%0000efgh
        ld (de),a
        inc e (d?)
;46 t/b (3   ), 16*2*256 = 8K ,  12K -   48K
    4  ( 256   65536)?     -  
      (17 * 17 =   256!)              
    _/  \_ (,  /-  -\)
     ?   !    ?  -      
   ?
  17   ,   
         (  +-1   )    (   )   

)      -     ,     (     ,     3 )
      (...)
  ,     N1     N2,    ,   N3,    ,   N4,    %11111111
???     ???
        !!!    ,   ,  !

    3210,  3    (  )
1:
3232
13.3
3232
.313
2:
2323
3.31
2323
313.
3:
313.
2323
3.31
2323
4:
.313
3232
13.3
3232
5:
3232
.313
3232
13.3
6:
2323
313.
2323
3.31
7:
3.31
2323
313.
2323
8:
13.3
3232
.313
3232
   0,    9    16
    0,    ,     %11111111
   0,    3?


[        pop bc
        ld a,c
        and N1
        ld c,a
        ld a,b
        and N2
        or c
        ld (hl),a
        pop bc
        ld a,c
        and N3
        or (hl)
        ld c,a
        ld a,b
        and N4
        or c
        ld (de),a
        inc e
;105 t/b]
[
        ld a,(hl)
        inc l
        and c;N1
        ld d/e,a
        ld a,(hl)
        inc l
        and b;N2
        or d/e
        ld d/e,a
        ld a,(hl)
        inc l
        and N3
        or d/e
        ld d/e,a
        ld a,(hl)
        inc l
        and N2
        or d/e
        ld d/e,a
        1/2*push de
;99.5/105.5 t/b]
[
        ld a,(hl)
        inc l
        xor (hl)
        and c;N1
        xor (hl)
        inc l
        xor (hl)
        and b;N2
        xor (hl)
        inc l
        xor (hl)
        and N3
        xor (hl)
        inc l
        ld d/e,a
        1/2*push de
;89.5 t/b (and e...push af:inc sp   ,  16    ld (...),a   )]

        pop bc
        ld a,c
        xor b
        and l;N1
        xor b
        pop bc
        xor c
        and h;N2
        xor c
        xor b
        and N3
        xor b
        ld (de),a
        inc e
;74 t/b ( 73 t/b,  and e...ld (...),a)
