English Amiga Board


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

 
 
Thread Tools
Old 06 March 2016, 13:18   #1
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,211
When is the modulo added to the bitplane pointers?

Is it as soon as DDFSTOP is reached, or is it at DDFSTART position? or some unknown position between the two?
DanScott is offline  
Old 06 March 2016, 14:05   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,502
Modulo is added when plane's last DMA fetch is done, after DDFSTOP, plane by plane.

Remember that DDFSTOP (quite unintuitively) means that following complete "bitplane block" (all planes fetched) will be the last one, DDFSTOP isn't actual stopping position.
Toni Wilen is online now  
Old 06 March 2016, 14:19   #3
DanScott
Lemon. / Core Design
 
DanScott's Avatar
 
Join Date: Mar 2016
Location: Tier 5
Posts: 1,211
Thanks Toni, Good to know.. Not something I ever really thought about before..

just that I was thinking of using modulo rather than bitplane pointers on a particular scanline, to do the split, for vertical scrolling.

EDIT: Seems I can't Would be a modulo of 40,000 and something... or.. negative number in word size
DanScott is offline  
Old 07 March 2016, 18:24   #4
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,602
HPOS for modulo read can be checked quickly with a test-Copper, grr!

To bring down the modulo to +-$7ffe you can de-interleave completely or partially. Which may affect the bob routine speed, of course.
Photon 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
How does AGA impact modulo? NorthWay Coders. Asm / Hardware 56 24 October 2015 02:21
Looking for Cool Pointers squidbass Amiga scene 2 27 March 2015 12:12
Min. and Max. modulo values? AGS Coders. Asm / Hardware 7 07 February 2014 12:40
2 Mouse Pointers!!! wandeep support.WinUAE 3 21 May 2008 13:44
Two mouse pointers! mlft support.WinUAE 16 21 December 2002 02:52

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 18:10.

Top

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