English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Asm / Hardware

 
 
Thread Tools
Old 27 March 2024, 15:05   #1
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,291
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?
sandruzzo is offline  
Old 27 March 2024, 15:08   #2
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
dc.w $0108, ((384*3)/8)+((384-320)/8)
DanScott is offline  
Old 27 March 2024, 15:08   #3
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,212
you need to skip 3 full planes + the 64 pixels of current plane
DanScott is offline  
Old 27 March 2024, 15:12   #4
sandruzzo
Registered User
 
Join Date: Feb 2011
Location: Italy/Rome
Posts: 2,291
@DanScott

Thanks! I see my error now!
sandruzzo is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 13:04.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.07019 seconds with 15 queries