Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 243

Notice: Trying to access array offset on value of type bool in /mnt/cpcwiki-httpdocs/includes/libs/IPSet.php on line 246
Changes - CPCWiki

Changes

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