![]() |
![]() |
#1 |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
Blitter clearing a line without src channels?
I'm clearing my scratch buffer after drawing a line into it. I don't need to just clear only the bits that have been previously been set, I'm happy to just write entire words full of zeros.
Will I save a tiny amount of time if I just set the minterms to zero and don't enable the C source channel? And if I do, can I also disable the A channel, or will that break the blitter's line drawing algorithm? Will that save me more time? |
![]() |
![]() |
#2 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
|
This is a really interesting question, and one that I don't have the answer to, but will be very interested to know
![]() |
![]() |
![]() |
#3 | |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
Quote:
I can understand requiring A, but I don't see why C would be required. |
|
![]() |
![]() |
#4 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,553
|
|
![]() |
![]() |
#5 | |
It's coming back!
Join Date: Jul 2018
Location: comp.sys.amiga
Posts: 762
|
Quote:
Ok. |
|
![]() |
![]() |
#6 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,652
|
I doubt there's a gain or I would have had it in my codebase instead of XOR mode (or possibly 0 mask), because I remember I tried the blocky word linedraw clear back in the day. It seems your only chance is to disable B and measure, and it would be a quick test.
![]() |
![]() |
![]() |
#7 |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 373
|
Might setting SING help here? Something I've wondered about is whether or not with SING writes are reduced. If so, then there might be a small amount of time saved blanking lines with slope <1 and >-1 and with minterm set to 0.
|
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitter fill, writing clearing instead of setting? | deimos | Coders. General | 17 | 20 December 2019 15:38 |
Blitter line drawing: nothing happens | Crank | Coders. General | 21 | 25 April 2018 21:43 |
Blitter line mode examples? | LuigiThirty | Coders. Asm / Hardware | 4 | 17 August 2017 08:26 |
Fast Blitter Line Clipping | 71M | Coders. Asm / Hardware | 2 | 03 March 2014 22:33 |
Line mode blitter | absence | Coders. General | 4 | 25 September 2009 20:50 |
|
|