29 January 2020, 21:10 | #1 |
OctaMED Music Composer
Join Date: Jan 2009
Location: Venice - Italy
Age: 49
Posts: 666
|
Blitter shift BACKWARDS
Here I am again with another n00by question:
I'm using the blitter to shift some stuff, like this: Code:
MOVE.W #%0001100111110000,BLTCON0 ; BLTCON0 But how to scroll in the opposite direction? Please be nice to me, I'm doing my best but the BLITTER is a son of a... |
29 January 2020, 21:13 | #2 |
Registered User
Join Date: Jul 2017
Location: San Jose
Posts: 651
|
You start one word left of your data and shift right by 16-leftshift.
|
29 January 2020, 21:37 | #3 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 53
Posts: 4,468
|
You have to use descending mode.
All blitter operations are reversed so you must start from the last source word (modulo will be subtracted rather than added and shifts will go to the left). DESC = Bit 1 of BLTCON1 |
29 January 2020, 21:50 | #4 |
OctaMED Music Composer
Join Date: Jan 2009
Location: Venice - Italy
Age: 49
Posts: 666
|
stupid me, I was focusing only on BLTCON0! Thanks!!!
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Blitter Mask shift during copy | LeCaravage | Coders. Asm / Hardware | 6 | 18 March 2018 22:50 |
A500 Backwards Capacitors | chue | support.Hardware | 4 | 14 March 2018 01:00 |
Connected +12v & +5v backwards to a1200 mobo - is it trashed? | rikbliz | support.Hardware | 8 | 05 February 2015 21:26 |
Blitter busy flag with blitter DMA off? | NorthWay | Coders. Asm / Hardware | 9 | 23 February 2014 21:05 |
What backwards compatible Consoles are there? | Antiriad | Retrogaming General Discussion | 38 | 25 January 2004 01:04 |
|
|