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

[MiNT] Re: 68k kernel



> > for example checks for long stackframes. So what about chaning the
> > ONLY030 compiler switch so that if it is not defined, a pure 68000 kernel
> > would be produced which would NOT work on a 68020+, but would be really
> > 68000 optimizaed instead?
> 
> Great! :)

Well, I did the experiment (wasting a day). I removed (commented out) a
lot of stuff from the C and assmbler modules, that was to support 68020+
processors, including the mprot030.c module and calls to it occuring
passim in the source. The final kernel shrunk by some 20k (relative to
the release binary) and would be (I believe) also faster. But I don't have
a 68000 machine to test it :( and since a 68030 kernel built from such a
modified source turned over to be mysteriously LONGER by some 256 bytes
(it should be same size or few bytes more), I assumed I did a mistake
somewhere, so I cancelled all this. I will possibly do it again, in small
steps, but I need cooperation with someone who is able to test compiled
binaries on an ST.

By the way, I noticed something. When the memory protection is off, the
variables mint_top_st and mint_top_tt are never initialized, however,
they're used later in addr2region(). The result is that addr2region()
always fails and returns NULL. Is this desired?
 
> > Does anyone use MiNT on a 68000 machine, anyway?
> 
> Yes. :) I use it on a mega ste/4 with bionet, and am going to use it on a
> 1040ste, also with bionet. This will become a network computer: No
> harddisk, just a bootfloppy which loads MiNT+nfs and then mounts the
> entire MiNTos filesystem from the network. A nice experiment, I wonder how
> it'll turn out. :)

Ok, additional question: does anyone use MiNT on a machine equipped with
a 68010?

--
Konrad M.Kokoszkiewicz
|mail: draco@atari.org                  |  Atari Falcon030 user   |
|http://www.obta.uw.edu.pl/~draco/      | Moderator gregis LATINE |
|http://draco.atari.org                 |       (loquentium)      |

** Ea natura multitudinis est,
** aut servit humiliter, aut superbe dominatur (Liv. XXIV,25)
*************************************************************
** U pospolstwa normalne jest, ze albo sluzy ono unizenie,
** albo bezczelnie sie panoszy.