English Amiga Board


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

 
 
Thread Tools
Old 14 January 2012, 22:25   #1
mc6809e
Registered User
 
Join Date: Jan 2012
Location: USA
Posts: 372
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?
mc6809e is offline  
Old 14 January 2012, 22:45   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,534
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)
Toni Wilen is online now  
Old 02 April 2012, 19:50   #3
Photon
Moderator
 
Photon's Avatar
 
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,627
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...
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
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

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 16:17.

Top

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