[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mem.h



On Wed, 3 Jun 1998, Michael Schwingen wrote:

> It seems there are some programs which do not work on 68040 if the cache is
> in copyback mode - some even require the cache to be turned off totally.

Copyback causes all sorts of problems on the AB, just because of those
few rotten programs.

> Now, as soon as we have memory protection, we could also set the cache mode
> for all memory pages belonging to a special process instead of slowing down
> the whole system to make these programs work.
> 
> This would require 1-2 bits in the program header, with the default value
> (as on old programs) meaning 'full cache speed', so that you only have to
> twiddle with these bits for bad programs.
> 
> Does this sound reasonable? Are there still unused bits left?

A very good idea, and it can be implemented on the AB in a few
minutes if Doug Little's TK-driver is installed.


/*
** Jo Even Skarstein    http://www.stud.ntnu.no/~josk/
**
**    beer - maria mckee - atari falcon - babylon 5
*/