Jump to content
Jagware
Sign in to follow this  
SebRmv

Blitter questions

Recommended Posts

SebRmv    2

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!

Share this post


Link to post
Share on other sites
SCPCD    0
- 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.

Share this post


Link to post
Share on other sites
SebRmv    2
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.

Share this post


Link to post
Share on other sites
SebRmv    2

Never say blitter is bugged!

 

It's always the programmer's own fault!

 

I FOUND THE BUG :yes: :yes: :yes: :yes:

Share this post


Link to post
Share on other sites
Guest
You are commenting as a guest. If you have an account, please sign in.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoticons maximum are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×