English Amiga Board


Go Back   English Amiga Board > Support > support.WinUAE

 
 
Thread Tools
Old 10 June 2014, 11:40   #1
ovale
Registered User
 
Join Date: Jun 2014
Location: milan / italy
Posts: 174
DMA debugger and 14Mhz 68K

Hello Toni,

I was playing with the visual DMA debugger (v -4, Winuae 2.8.0) and tried to change the 'cycle-exact CPU emulation speed' to 4x.

With my surprise the black & gray pattern are still visible in the DMA debugger.
I supposed that a 14Mhz 68K uses all the available access slots.

I expected, where not in competition with DMA, only gray dots visible.
Instead, regular columns of gray dots are visible.
See the attachment.

It seems the 68K doesn't have access to 2 consecutive slots or most of the instructions don't use continuously the RAM.

Can you explain the behavior?

Thanks for your hard work!
Attached Thumbnails
Click image for larger version

Name:	Turrican II (1991)(Rainbow Arts)[extended adf]_001.png
Views:	361
Size:	39.6 KB
ID:	40247  
ovale is offline  
Old 10 June 2014, 13:15   #2
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
14MHz 68000 only increases speed of instructions that have multiple idle cycles (mainly shifts, multiplication and division), everything else is still as fast (or slow) as standard A500, including all memory accesses.

Agnus and Gary controls all bus timings. CPU is a slave in 68000 based Amigas.
Toni Wilen is online now  
Old 10 June 2014, 14:34   #3
ovale
Registered User
 
Join Date: Jun 2014
Location: milan / italy
Posts: 174
In another thread you said that the CPU is free to use even or odd cycles.
I inferred that it could used both.

If I understand what you are saying, Gary/Agnus still force the CPU to use half the bandwidth even if there is no competition on the bus.

Why put such limitation? Or better, from where it originates?
Is it present on A2000 and A3000 too?

Just checked cycle exact A1200 and the behavior is the same (turrican 2).

I'm confused ...
ovale is offline  
Old 10 June 2014, 15:10   #4
Toni Wilen
WinUAE developer
 
Join Date: Aug 2001
Location: Hämeenlinna/Finland
Age: 49
Posts: 26,506
Quote:
Originally Posted by ovale View Post
In another thread you said that the CPU is free to use even or odd cycles.
I inferred that it could used both.
CPU memory cycle can _start_ during odd or even dma slot but 68000 memory access cycle is still 4 cycles and it always takes (at least) 2 dma slots.

Normally bus would be completely allocated for the CPU during memory access cycle but Amiga uses trick that allows it to interleave CPU and DMA cycles.

When CPU does addressing part of memory cycle (~first half of memory cycle, simplified), Agnus "only" stores the CPU address but it can also simultaneously do DMA transfer to/from chipram because data bus is still free (there are data latch chips between CPU and Agnus that insulates CPU side and chipset side of bus). Only second DMA slot is "used" for CPU data transfer. And if second slot is required for DMA, Gary tells CPU that memory is not ready ("simulated" memory wait state), please wait..

From CPU point of view memory access looked normal (possibly very long in worst case..) 68000 memory access where the CPU was in control of the access cycle, from Agnus point of view CPU was tricked

AFAIK all Amigas have same design, only way to have fast CPU memory accesses is to have local fast ram. A3000 and AGA implemented 32-bit wide CPU chip memory access.
Toni Wilen is online now  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
A2091 14Mhz SCSI mod SpeedGeek Hardware mods 1 25 December 2012 19:55
AGA on 14mhz 68000 little request.UAE Wishlist 6 03 May 2012 23:09
A2620 Accelerator Card 12mhz instead of 14mhz. Problem? kjmann14 support.Hardware 1 19 May 2011 00:35
A500 MTEC 68030/14Mhz bebek Hardware mods 9 20 January 2010 22:30

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 21:44.

Top

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