Amiga.org

Amiga computer related discussion => Amiga Hardware Issues and discussion => Topic started by: on December 19, 2002, 06:54:46 AM

Title: Whats is an MMU unit ?
Post by: on December 19, 2002, 06:54:46 AM
I have an 1230 accelerator for my Amiga 1200. ( A friend let me borrow it until my PPC accellerator arrives :) )

I noticed that it has a slot for an MMU unit.

Does MMU stand for Memory managment Unit?

What does it do and is it going to make my Amiga faster if I install one?


Thanks in advance.





Title: Re: Whats is an MMU unit ?
Post by: Ilwrath on December 19, 2002, 07:05:13 AM
Yes, the MMU is the memory management unit, however this is usually built in the processor.  68030, vs the 68EC030.

Are you sure the socket isn't for the 68881 FPU (Floating Point Math Unit?)
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:08:18 AM
Well, it also has a slot for an FPU and its taken by the  68882.

I notice that the the accelerators cpu is a MC68030FE2, if that means anything.


The model of the accelerator is MTec T1230/28

Title: Re: Whats is an MMU unit ?
Post by: Ilwrath on December 19, 2002, 07:26:04 AM
MC68030 should be a genuine Motorola "full version" '030, which means it would already have an MMU built in.  
(I can't find any references to an FE2 designation, but I'd imagine it is just a manufacturing code)

So, you should already have an MMU... Now, if the MMU is enabled by default or not on your configuration, that is another question.  A program like SysInfo or some other benchmark util should help here.

...And if you already have an FPU socket with a 68882, I'm fresh out of ideas on what that other socket would be for...  How many pins does it have?  What style socket is it?  (I haven't seen an MTec board.)
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:27:16 AM
MMU (memory management unit) is a wicked little things that allows the CPU to have its Memory functions controlled by an external prossesor. This allows for things like Memory protections, and flawless integration of Virtual Memory. As well as superiour cache management.
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:30:23 AM
Also,

To anybody that has the same accelerator :

I am looking at the dip switches on the accelerator and I noticed one that has the words "turbo" next to it.

What will that do if I set it on ?

(I have this fascination with all things named turbo, super or phat)

Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:33:43 AM
I thought that all AOS pre 4.0 dont have Virtual mem.
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:37:25 AM
Its this accelerator  :

http://www.amiga-hardware.com/mtec1230rtc.html

In the pic, the MMU goes in  the only empty slot on the board.

Title: Re: Whats is an MMU unit ?
Post by: Ilwrath on December 19, 2002, 07:42:12 AM
Quote
I thought that all AOS pre 4.0 dont have Virtual mem.


True by default, however there are some (mostly ineffective) ways to add it to earlier Amigas that have MMU functions.  The MMU does not need to be (and, in fact, usually isn't) external to the processor, but maybe that socket is for adding an external MMU to a 68EC030 processor.  Your MC68030 shouldn't need one, though, as it would have MMU functions built in the chip.

The MMU features will also let you use some more advanced features in emulators.  Outside of that, though, it's of little performance gain.
Title: Re: Whats is an MMU unit ?
Post by: Ilwrath on December 19, 2002, 07:48:49 AM
Quote
In the pic, the MMU goes in the only empty slot on the board.


Hmm...  After looking at the picture and description, I ask again, are you sure?  I think that is a PGA socket, and can be used instead of the FPGA to house a math-coprocessor (FPU).  (two different kinds of sockets, but both do the same thing, so only one needs to be in use)

Plus, as the description says, the model pictured featured an internal (on-chip) MMU.  Since your model does not have an EC030, it has a full MC68030, you should also have the internal MMU functions, already.
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:49:05 AM
Thanks for all the info.  

This place is great! Its my second post and again I get an instant response to my questions.

 

 
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 07:52:45 AM
Ilwrath,

I'm pretty sure. Thats what its written at the top of the socket.

Maybe its deactivated automaticaly because I have the 68030 proc.

Perhaps it was more cost effective for this company, to just leave the socket in when they manufactured the board. No clue!





Title: Re: Whats is an MMU unit ?
Post by: Rob on December 19, 2002, 08:00:24 AM
the socket was put there to make sure users wern't stuck with the
wrong fpu if they were buying one later on instead of with the
board.
Title: Re: Whats is an MMU unit ?
Post by: Rob on December 19, 2002, 08:05:32 AM
by the way, try running showconfig in tools, that should tell you if
you have an MMU or not.
Title: Re: Whats is an MMU unit ?
Post by: The_Editor on December 19, 2002, 08:05:51 AM
Looks very similer to the  "Viper" series of accelerators.
Title: Re: Whats is an MMU unit ?
Post by: Ilwrath on December 19, 2002, 08:08:47 AM
Quote
the socket was put there to make sure users wern't stuck with the wrong fpu if they were buying one later on instead of with the board.  


Yep.... I tend to agree, based on what I've seen on other 68030 cards.

I think the MMU label on that socket is a mislabel. (It happens.... more often than you'd think!)
Title: Re: Whats is an MMU unit ?
Post by: whabang on December 19, 2002, 08:18:58 AM
Quote

Rob wrote:
by the way, try running showconfig in tools, that should tell you if
you have an MMU or not.

That doesn't matter.
Most EC030's have a more or less faulty MMU that show up in showconfig. ( certain series of this CPU apparently had a functional MMU aswell. They were just standard 030's relabeled as there was a higher demand for EC030's at the time )
Title: Re: Whats is an MMU unit ?
Post by: Rob on December 19, 2002, 08:26:34 AM
If you do have an MMU, Thomas Richter's MMU library is worth
looking at .


The Sinclar ZX Spectrum emulator ASP uses it to emulate the memory
bank switching features of the later 128K models.  Something not
possible with other Spectrum emulators for the Amiga.
Title: Re: Whats is an MMU unit ?
Post by: Temal on December 19, 2002, 08:44:56 AM
Hmm... I had one of those MTec 1230-cards. It has one socket for
PGA-fpu (68882) AND also a socket for PLCC-fpu (68881). But you
can“t use both at the same time... :)
Title: Re: Whats is an MMU unit ?
Post by: on December 19, 2002, 08:50:50 AM
So its probably a mislabeled 68881 socket then.
Title: Re: Whats is an MMU unit ?
Post by: jaokim on December 19, 2002, 02:32:02 PM
Quote
The MMU features will also let you use some more advanced features in emulators. Outside of that, though, it's of little performance gain.


An MMU is required if you want Linux. Maybe there's some kernels that doesn't require it, but the ones Iv'e seen require one.

And, don't know if it's stated elsewhere, but the MMU basically just takes care of addressing addresses to other addresses. Instead of doing it in software. Atleast that's what I've been told.

So a patch to the syscall AllocMem would introduce VMM to AOS... I think, basically?  :-?