27 March 2024, 15:05 | #1 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
|
Interleaved Modulo trouble
Hi,
I need to have a 320 pixel wide screen + 64 pixel as clip area. Total 384 pixels. So I put into bitplane modulo this: dc.w $0108,(384/8)*(4-1) ; 4 planes But it doesn't work. Why? |
27 March 2024, 15:08 | #2 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
|
dc.w $0108, ((384*3)/8)+((384-320)/8)
|
27 March 2024, 15:08 | #3 |
Lemon. / Core Design
Join Date: Mar 2016
Location: Tier 5
Posts: 1,213
|
you need to skip 3 full planes + the 64 pixels of current plane
|
27 March 2024, 15:12 | #4 |
Registered User
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,344
|
@DanScott
Thanks! I see my error now! |
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 |
Blitters' interleaved modulo issue | sandruzzo | Coders. Asm / Hardware | 6 | 06 November 2021 15:49 |
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 |
|
|