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

Re: MiNT and Milan



On Wed, 4 Mar 1998, Konrad Kokoszkiewicz wrote:

> Ah? What "other things" make MiNT crash on 060? Any diagnose? Any
> solution? Any patch to be applied? If so, why the hell we don't hear about
> it? I personally have got an impression (not having a Hades really) that
> MiNT works fine on this computer. Then you suddenly are talking "other
> things which make the MiNT hang". Any details?

There is only one thing I know about, and I already mailed it to  this
list asking to include it. It is concerning the cache-handling of Mint:
in cpu.spp there is a check for cpu=68040 because then caches are handled
different. This needs to be changed to cpu>=68040 and everything works
fine, even copyback-cache is running.
Another thing which caused me many troubles was the hades.acc, which
includes a part to set caches depending on the started program
automatically. this part is buggy and many programs (namely tcsh or parts
of the gcc-kit) were crashing with it. There is a small program called
min_cach.prg available which just turnes the caches on and leaves them on.
Then everything runs fine. Currently I am testing a modified version of
hades.acc where fredi aschwanden (developer of hades) kicked out the
automatic part and it seems to work fine. Unfortuneately memory-protection
is not working with 060-Processors.
With older TOS-Versions there was also a bug with the Ram-Access: Many
programs were crashing when they where configured for fastram.
With TOS-Versions > October 1997 this does not happen anymore.
When I keep these things in my mind my hades is running very smoothly.
(It runs 24 hours the day, 7 days of the week because it is my
fax/mailbox-server).

concerning the serial stuff which started this discussion thread:
Mint definitely accesses the hw directly. try grep <address of
controlregister A of scc> to the mint-source tree. There are three
files you should find then two of them are: bios.c and xbios.c I don`t
remember the third one. I reported this bug a while ago and asked to
include a solution I worked out for this.
The reason why it does not crash on hades is that hades-escc is on the
same adresses as tt-scc.

cu,
	Bernd