Welcome, Guest. Please login or register.

Author Topic: Move16 to chipmem ...  (Read 3366 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline patrik

Re: Move16 to chipmem ...
« on: March 17, 2004, 11:31:03 PM »
@Jose:

(edit):

The bus-logic should assert the /TBI (Transfer Burst Inhibit) pin of the 68040/68060 on chipram accesses, which will tell the cpu that the target (chipmem) doesnt support burst transfers. This will force the cpu to carry out four consecutive normal longword read/writes instead of a line read/write transfer (burst) when executing a move16 instruction.

There is a posibility that there are accelerators using a writebuffer to finish writes to motherboard resources like motherboard fastmem etc faster. This write-buffer itself might accept bursts, but as chipmem still cant be accessed with bursts of any kind after the writebuffer, there would be no bandwidth gain towards chipmem, it would possibly save the cpu a few cycles though.

It should theoretically be safe, but if I am not mistaken, I think Commodore adviced against using the move16 instruction.

(edit 2):

According to this this page, there is a bug in some of the oldest 68040 revisions requiring you to issue a nop instruction before all sets of move16 instructions. I dont think that there are many of these 68040s in use in Amigas though, Apple probably and hopefully got their hands on most of the first 68040 cpus, but nevertheless it can be good to know that an issue might exist.


/Patrik