06 November 2021, 13:16 | #1 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
|
Blitters' interleaved modulo issue
I'm trying to draw by 256*256 pixel with half of its height, by setting source blitter modulo at (256/8). With regular bitplanes layout I have no problems, but with interleaved bitplanes, it doesn't work: is there anything that I have to change? Bitplanes pointers, bitplanes modulo are ok.
Correct version: Here with interleaved: source modulo is: (256/8)*NumPlanes |
06 November 2021, 13:33 | #2 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
|
I'm doing my math: maybe isn't possible at all with interleaved.
|
06 November 2021, 13:40 | #3 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
|
Only possible if the source and destination width are the same.
|
06 November 2021, 15:26 | #4 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
|
@DanScott
I can't do that, cos I'm using that picture as lookup table for both x and y zoom |
06 November 2021, 15:30 | #5 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,054
|
|
06 November 2021, 15:33 | #6 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
|
@a/b
It doesnt work, like I wanted: doing all with one blitter pass.. |
06 November 2021, 15:49 | #7 |
Registered User
Join Date: Jun 2016
Location: europe
Posts: 1,054
|
a->d blit:
moda = (width/8)*numplanes modd = 0 size = (height/2)<<6+((width/8)*numplanes)/2 copper: mods = (width/8)*(numplanes-1), plane0= bitmap+0*(Width/8), plane1 = bitmap+1*(Width/8), ... Does this work? |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Horizontal split screen with modulo trick | ovale | Coders. Asm / Hardware | 43 | 03 August 2023 17:26 |
Raw Interleaved Graphics | Hungry Horace | Coders. General | 12 | 28 January 2023 23:30 |
When is the modulo added to the bitplane pointers? | DanScott | Coders. Asm / Hardware | 3 | 07 March 2016 18:24 |
How does AGA impact modulo? | NorthWay | Coders. Asm / Hardware | 56 | 24 October 2015 02:21 |
Min. and Max. modulo values? | AGS | Coders. Asm / Hardware | 7 | 07 February 2014 12:40 |
|
|