07 April 2022, 18:01 | #1 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 457
|
BLTxDAT wassat ?
Hi,
I wonder what are these registers $dff070, $dff072, $dff074 ? In simple words please ^^ Are they usefull ? Could they be used in certain circumstances ? Lot of interrogations in fact. |
07 April 2022, 18:37 | #2 |
Registered User
Join Date: Feb 2017
Location: Denmark
Posts: 1,098
|
If you haven't already, I suggest reading up on how the blitter works in general.
In simple terms the blitter allows you to combine bits (read as 16-bit words) from 3 sources: A, B and C and write them somewhere (D). How they're combined depends on the MINTERM (part of BLTCON0). The three sources will often be read from memory (BLTxPT), but if you want to use the same value for either A, B or C for all of the operations, you can write a constant value to BLTxDAT before starting the operation, and it will be used throughout. This is purely an optimization though, you could always achieve the same thing by having a (possibly large) prefilled area with the value you need, and point BLTxPT there. |
07 April 2022, 22:04 | #3 |
Registered User
Join Date: May 2017
Location: AmigaLand
Posts: 457
|
Interesting, so we could possibly use this feature to fill an area with a pattern.
|
07 April 2022, 22:08 | #4 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,209
|
Yes, you could do a D=A blit, but disable the A DMA channel, and put a 16bit value into BLTADAT, and it would fill with that value
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
|
|