A.D.A. Amiga Demoscene Archive

        Welcome guest!

  

  

  

log in with SceneID

  

Demos Amiga Demoscene Archive Forum / Coding / 68020 Instruction Cache on Vanilla A1200 (?)

 

Author Message
krabob
Member
#1 - Posted: 12 Nov 2016 14:42
Reply Quote
Hello y'all.
It's been yeaars since I last posted here.

One very simple yes/no question.
Knowing that a non-accelerated A1200 has only Chip Ram.
Knowing that a non-accelerated A1200 has a 68020 with a 256b instruction cache

Knowing that other configurations that have data cache, can't load/use chipram in data cache...

Can the 68020 of a non-accelerated A1200's instruction cache, cache the Code in Chip-Ram ?
Or does it makes the 68020 Inst. cache completely useless on such machines ?
dalton
Member
#2 - Posted: 13 Nov 2016 13:23
Reply Quote
I have a vague feeling that I've used the disable cache option in the early startup menu of an unexpanded A1200 to run older software with self-modifying code. Can't swear that it was unexpanded though. I've also read in tutorials that you should keep your loops smaller than 256 bytes on A1200. I'd be shocked to learn that the cache isn't available on unexpanded systems!
LaBodilsen
Member
#3 - Posted: 13 Nov 2016 17:37
Reply Quote
i "think", that as the 020 only have instructions cache, and the cache that is normally disabled for chipmem access is Data Cache. That the 020 does allow for ICache of chipmem stored instructions.

refs:
ACAtune Wiki
"On most Amiga accelerator boards, accesses to Chip-Ram either disable the CPU caches completely, or only allow instructions, but not data to be cached."

But i'm not 100% sure im "Thinking" correct.

 

  Please log in to comment

  

  

  

 

A.D.A. Amiga Demoscene Archive, Version 3.0