SebRmv Posted October 27, 2009 Report Share Posted October 27, 2009 Are there here some blitter gurus who can answer these few questions: - what is the right way to fill a buffer with a constant value ? 1-use B_SRCD to set fill pattern and work with LFU_S ? 2-use B_DSTD to set fill pattern and work with LFU_D ? 3-use B_PATD to set fill pattern and work with PATDSEL ? - what is the right way to apply a logical operation to a buffer (for instance XORing with 0x80) ? 1-use B_SRCD to set constant value and work with LFU_S_XOR_D|DSTEN ? 2-use B_DSTD to set constant value and work with LFU_S_XOR_D|SRCEN ? (this latest solution implies that A1 = A2) 3-err, no... this does not work with B_PATD Thanks! Quote Link to comment Share on other sites More sharing options...
SCPCD Posted October 27, 2009 Report Share Posted October 27, 2009 - what is the right way to fill a buffer with a constant value ? 3-use B_PATD to set fill pattern and work with PATDSEL ? - what is the right way to apply a logical operation to a buffer (for instance XORing with 0x80) ? 1 or 2, I don't think that this will change something significaly. Quote Link to comment Share on other sites More sharing options...
SebRmv Posted October 28, 2009 Author Report Share Posted October 28, 2009 1 or 2, I don't think that this will change something significaly. Ok, thanks Actually, I asked that because I suspect there is a (very rare & unpredictible) bug in the blitter when using B_SRCD as logical mask which affects memory transfers. Quote Link to comment Share on other sites More sharing options...
SebRmv Posted October 28, 2009 Author Report Share Posted October 28, 2009 Never say blitter is bugged! It's always the programmer's own fault! I FOUND THE BUG :yes: :yes: Quote Link to comment Share on other sites More sharing options...
Recommended Posts