14 January 2012, 22:25 | #1 |
Registered User
Join Date: Jan 2012
Location: USA
Posts: 373
|
CPU execution on odd cycles if no Audio/Disk/Sprite DMA
I'm just wondering if it's possible with the OCS. I know the HRM says that the CPU accesses chipram on even cycles only, but I'm skeptical that this rule is absolute given that there are times Agnes must add a one cycle delay to CPU accesses at the end of certain scan lines. I realize DRAM refresh at the beginning of each scan line is going to force the CPU to use the even cycles, but if Audio/Disk/Sprite/BP DMA is turned off might there be situations where the CPU can use those odd cycles?
If the CPU can occasionally use some odd cycles, perhaps more CPU/Blitter concurrency can be achieved by using the copper to start blits at the end of the last displayable line. And any calls to exec or fast ram should be done on the first displayable line rather than on VERTB interrupt. Can someone verify if odd cycle chipram access by the CPU is possible? |
14 January 2012, 22:45 | #2 |
WinUAE developer
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,570
|
HRM is wrong, there are no CPU cycle restrictions. CPU can use both odd or even free cycles. (But as you said, refresh and other Agnus DMA channels usually force even cycle "alignment" sooner or later)
|
02 April 2012, 19:50 | #3 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,655
|
clr.l Dn or similar should be useful as pad instruction, if you want to line up with a HPOS-wait on the previous line. For non-68000 CPUs you need another strat...
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
DMA-free audio | robinsonb5 | Coders. Asm / Hardware | 3 | 05 November 2012 08:43 |
Copper cycles | leoha | Coders. Asm / Hardware | 4 | 02 November 2012 11:02 |
Using two voices for 56K sample/second audio output rate -- OCS -- No CPU or Copper | mc6809e | Coders. Asm / Hardware | 2 | 28 January 2012 00:29 |
understanding floppy disk dma in amiga | a500l0ver | support.Hardware | 12 | 12 August 2010 07:26 |
A3000 odd floppy disk drive problem | Rod_cl | support.Hardware | 5 | 28 August 2006 08:16 |
|
|