11 March 2021, 16:24 | #1 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,547
|
Copper timings and AGA fetch modes
From my understanding, on OCS you can do:
I found that enabling AGA fetch mode seems to have different timings - eg, it appears to be that 6BP with fetch mode 1 is similar to 5BP on OCS. Is there a guide on what timings can be expected on different combinations of fetch mode vs number of bitplanes? |
11 March 2021, 16:32 | #2 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Hi earok,
https://eab.abime.net/showpost.php?p...65&postcount=2 EDIT: Better if I explode the view to make it clear, with some example: Code:
x1: $38 $40 $48 $50 $58 xxxxxxxx|xxxxxxxx|xxxxxxxx|xxxxxxxx| M4V2M3V1|xxxxxxxx|xxxxxxxx|xxxxxxxx| -> 2 CMOVE /8cycles 5 bplanes: M4V2M351|V4M2V351|xxxxxxxx|xxxxxxxx| -> 3 CMOVE /16cycles 6 bplanes: M462V351|M462V351|xxxxxxxx|xxxxxxxx| -> 2 CMOVE /16cycles For the other fetch widths is the same but only for the parts where the DMA is active: [usually the copper performs a fetch every other cycle] Code:
x2: $38 $40 $48 $50 $58 xxxxxxxx| |xxxxxxxx| | x4: $38 $40 $48 $50 $58 xxxxxxxx| | | | Last edited by ross; 11 March 2021 at 16:54. |
11 March 2021, 23:17 | #3 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,547
|
Thank you!
I don't quite understand it.. I unless I've done something really odd, I seem to be getting an alternating 1/2 moves per 16 pixels on 6BP with fetchmode 1, rather than 2 per 16 pixels? |
11 March 2021, 23:28 | #4 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Quote:
This mean you can change, for example COLOR00 every 16 pixel (unlike when you have 4 bpl when you can change COLOR00 every 8 pixels). Alternating seems 5 bpls... |
|
11 March 2021, 23:43 | #5 |
Registered User
Join Date: Jul 2015
Location: The Netherlands
Posts: 3,437
|
Yeah, for OCS/ECS it is
|
11 March 2021, 23:51 | #6 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Perhaps the best thing to do is to post the operations with the copper you do on a video line, then I translate it for you into DMA cycles operations (thinking per pixel could be confusing).
|
11 March 2021, 23:54 | #7 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,547
|
Apologies, the image is rough and ugly here, I just wanted to do a quick demonstration of what I'm seeing.
I've just hacked a sprite parallax routine to toggle color00 rather than sprite positions. The only difference between the two screenshots is I toggled the FMODE (via editing the copperlist in the debugger). Same number of bitplanes (6), with fetchmode 1 it has alternating 8/16 sizes but with fetchmode 0 it's a constant width. |
12 March 2021, 00:02 | #8 |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Because you move from this situation:
Code:
x1: $38 $40 $48 $50 $58 M462V351|M462V351|M462V351|M462V351| Code:
x2: $38 $40 $48 $50 $58 M462V351|M0V0M0V0|M462V351|M0V0M0V0| |
12 March 2021, 00:06 | #9 |
Registered User
Join Date: Dec 2013
Location: Auckland
Posts: 3,547
|
OH.. ahh.. I'm a dummy, I thought 1x meant fetchmode 1 and 2x meant fetchmode 2 etc.. not multiples of 16x.. whoops..
|
12 March 2021, 00:15 | #10 | |
Defendit numerus
Join Date: Mar 2017
Location: Crossing the Rubicon
Age: 54
Posts: 4,491
|
Quote:
For that I said that it is better to think in DMA cycles (regardless of how many bits fetched) otherwise can be confusing. |
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AGA Fetch mode testing | earok | Coders. Blitz Basic | 1 | 29 September 2017 01:25 |
A4000 showconfig says 'Denise', no AGA modes | OverDose | support.Hardware | 18 | 06 November 2013 10:52 |
How to change screen modes for Indivision AGA users | trydowave | support.Hardware | 10 | 15 October 2013 02:07 |
Indivision AGA all Display modes test and problems | doble07 | support.Hardware | 9 | 03 December 2009 08:56 |
Details of the AGA double CAS fetch mode? | Leffmann | Coders. General | 3 | 29 July 2008 11:26 |
|
|