Changes

Jump to: navigation, search

Programming:Fast plot

6 bytes added, 13:50, 23 August 2006
now it's one micro second faster ;-)
AND &X00000011 ;A = X MOD 4
JR Z, NSHIFT ;-> = 0, no shift
LD B, A ;loop counter
SHIFT SRL C ;move bitmask to pixel
DEC A ;loop counter DJNZ JR NZ,SHIFT ;-position
NSHIFT LD A, (CMASK) ;get color mask