Dead Hackers Society
Other BBSes »
 
 
Demoscene  Coding  CT60  Buy/sell

CT60 and related things BBS
 
Re: 68060 cache flush
Posted by: Creature XL Apr,12.2006-20:01 

That's the way. And it should even work on 040. To add something new to the topic I give the instruction word if you use an assembler which didn't know about 040/060 instruction. NB: devpac should know it cause it is the same instruction word for 060 and 040.

for both, instruction and data cache:
dc.w $f4f8

just the data cache:
dc.w $f478

just the instrcution cache:
dc.w $f4b8

Little explaination of what CPUSHA does:
All cache (dirty) lines are written to RAM [ obviously just affects the data cache] and then all cahce lines are invalidated, that is are no longer read and overwritten as soon as needed.

CPUSHA is a priviliged instruction as you might exspected.








[All messages in this thread]    [Start new thread]

Topic Posted by  Date 
68060 cache flush GT Turbo Apr,10.2006-16:25
  Re: 68060 cache flush Coda Apr,10.2006-16:49
    Re: 68060 cache flush GT Turbo Apr,10.2006-16:51
      Re: 68060 cache flush Coda Apr,10.2006-17:12
        Re: 68060 cache flush Peter Apr,10.2006-18:15
          Re: 68060 cache flush deez Apr,10.2006-23:31
            Re: 68060 cache flush Coda Apr,11.2006-07:46
            Re: 68060 cache flush evil Apr,11.2006-21:59
    Re: 68060 cache flush Creature XL Apr,12.2006-19:47
  Re: 68060 cache flush Didier Méquignon Apr,11.2006-12:46
    Re: 68060 cache flush Creature XL Apr,12.2006-20:01
      Re: 68060 cache flush Coda Apr,12.2006-21:59
        Re: 68060 cache flush Creature XL Apr,17.2006-02:27
          Re: 68060 cache flush Kalms Apr,19.2006-02:15
            Re: 68060 cache flush Didier Mequignon Apr,20.2006-12:45
              Re: 68060 cache flush Kalms Apr,20.2006-22:51


Reply to this message
Name:
Topic:
Anti-troll code:

Message:

What's the anti-troll code?
That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
© 1994-2024 Dead Hackers Society Contact: Anders Eriksson