Home
Random
Watchlist
Settings
Log in
About CPCWiki - THE Amstrad CPC encyclopedia!
Disclaimers
Open main menu
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
← Older edit
Newer edit →
Prodatron
Check user
,
administrator
1,516
edits