English Amiga Board


Go Back   English Amiga Board > Coders > Coders. General

 
 
Thread Tools
Old 09 April 2011, 03:18   #41
TCD
HOL/FTP busy bee
 
TCD's Avatar
 
Join Date: Sep 2006
Location: Germany
Age: 46
Posts: 31,615
Think we got what you are on about already, but my question was why you go on OT when it's clear that Lord Riton isn't interested in what you suggested. With me now or do I have to remove any further Natami fanboism in this thread? Clear enough matthey?
TCD is offline  
Old 27 February 2019, 10:51   #42
dissident
Registered User
 
Join Date: Sep 2015
Location: Germany
Posts: 260
Quote:
Originally Posted by Kalms View Post
Chipmem and fastmem accesses are different. To be precise, chipmem accesses are uncached. (so they behave largely the same way on all 68020+ systems.) Also, chipmem is very slow compared to the CPU clockrate.


If you read from a chipmem location, the CPU will stall during the entire duration of the memory read operation. This is because the CPU it needs the value stored in the memory location before the read operation can be completed.

If you write however, in most system configurations the write will get chucked into a buffer, and then the CPU continues processing other stuff while the bus interface is busy. (On most accelerator board there is such a write buffer on the accelerator board. In addition, the 68060 has a 4-slot write buffer internally in the CPU.) If any subsequent instruction tries to hit the bus while there are still pending writes, then the CPU will stall until the bus is available again.

For 50MHz accelerator boards, the bus will typically remain busy for 26-28 cycles after you have performed a chipmem write. During that period, don't touch the bus.
This is the best explanation I ever read about this topic, Kalms. I guess writing to CUSTOM chip addresses which are also uncached like the INTREQ register has the same effect.

Last edited by dissident; 27 February 2019 at 11:05.
dissident is offline  
Old 27 February 2019, 14:26   #43
NorthWay
Registered User
 
Join Date: May 2013
Location: Grimstad / Norway
Posts: 841
(Nice necro, let me add to it: )
Strictly speaking, you could futz around with caching modes for chipram in your own program (not much support for such endeavors - more or less 040/060 needed).
The result would be that you need to flush the cache or addressing range before viewing it, and best case might be that you possibly get to fill any holes in your chipmem access, worst case you would get stalls if the cache writes out 4 longs each time a cache line is emptied.
NorthWay 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
Program to speed up floppy disk access? BarryB support.Apps 22 26 March 2013 19:30
Break on Memory Access? Khyron support.WinUAE 3 21 August 2010 00:10
access emulated memory ara support.WinUAE 6 03 April 2010 13:05
difference winuae memory speed ? turrican3 New to Emulation or Amiga scene 3 07 June 2007 21:36
Slow speed Direct HD access Dan Andrea support.WinUAE 3 27 December 2002 14:21

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 09:45.

Top

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